Dreambox dm8000 kernel 2.6.30
#1
Geplaatst op 8 juli 2011 - 12:30
I did changed file dreambox-mipsel.inc located
openplitest/openembedded/conf/machine/include
PREFERRED_VERSION_linux-${MACHINE} = "2.6.30" before it was 2.6.18
PREFERRED_VERSION_linux-libc-headers = "2.6.30" before it was 2.6.18
apart from a small compile error very classic by migration from .c files to kernel 2.6.30 about declaration DMX_REMOVE_PID (first use in this function not declared) and the same for DMX_ADD_PID)
in streamproxy.c and usbtunerhelper.c which I solved by declaring them as
unsigned long DMX_ADD_PID;/*added by cvr*/
unsigned long DMX_REMOVE_PID; /*added by cvr*/
all fine. I do have a succesfull compilation and nfi file.
I installed the file to the box but it hangs during boot. Do I have to change also boot stage loader or so ?
Re: Dreambox dm8000 kernel 2.6.30 #2
Re: Dreambox dm8000 kernel 2.6.30 #3
Geplaatst op 8 juli 2011 - 12:52
But I think that the second stage boot loader needs to be changed as well in the nand. and if i'm not wrong it can be done by dreamload 1.5.1 1.6 doe not seems to be able to do it anymore.
And if i'm not wrong
openpli-enigma2-2.1-dm8000.boot.jffs2
is the second stage boot loader ?
Re: Dreambox dm8000 kernel 2.6.30 #4
Re: Dreambox dm8000 kernel 2.6.30 #5
Geplaatst op 8 juli 2011 - 14:21
Somehow it's compiling very well .
Re: Dreambox dm8000 kernel 2.6.30 #6
Geplaatst op 8 juli 2011 - 14:25
Re: Dreambox dm8000 kernel 2.6.30 #7
Geplaatst op 8 juli 2011 - 14:43
Re: Dreambox dm8000 kernel 2.6.30 #8
Geplaatst op 8 juli 2011 - 15:02
http://www.et-view.c...31-20110625.zip
Re: Dreambox dm8000 kernel 2.6.30 #9
Re: Dreambox dm8000 kernel 2.6.30 #10
Geplaatst op 8 juli 2011 - 17:13
For this test working dm 2.6.30 kernel on dm 8000 is needed. That's all. The things i'm testing may well or not beeing a big help in future developpement. Now i'm just performing some tests.
In the mean time I do have a console output off minicom follow up from dm8000 start. I tried to clean it up as much I could but its' still a mess.
What can be seen: it's a couple of missing stuf for booting. I'm shure that these can be corrected in order to let boot the dream at least. If it boots ... Well the further things which happen or do not happen are a big surprisse /images/smiley/shock.gif /images/smiley/smile.gif
added an console log from boot process dream.
Bijgevoegde Bestanden
Re: Dreambox dm8000 kernel 2.6.30 #11
Geplaatst op 13 juli 2011 - 14:42
In the mean time I added the patches for cdfs to compile on 2.6.30 , nand patch, cpu patch and cross compile patches are made as well installed and compiling ok also the result in work dir are ok.
But it still not boot, bootlog when connecting to serial console always state that :
Scanning JFFS2 FS: done.
find_inode failed for name=secondstage.conf
load: Failed to find inode
- failed to open /boot/secondstage.conf
- failed to open /cf/autorun.bat
I think there must be somewhere a patch to aply especially for open pli image to boot. But I can not find which one.
somehow the settings are set now for opendreambox image, and they work a bit different whit nand then open pli. Also this can be seen
in different ways of mounting the boot partition in fstab.
Would be nice if somebody can tell were I can find the boot patch on 2.6.18. then I can try to adapt that one for the 2.6.30 kernel.
Re: Dreambox dm8000 kernel 2.6.30 #12
Re: Dreambox dm8000 kernel 2.6.30 #13
Geplaatst op 13 juli 2011 - 15:44
by opendreambox image we find this normally in
fstab from working opendream experimental 2.6.18-4
rootfs / auto defaults 1 1
proc /proc proc defaults 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
usbfs /proc/bus/usb usbfs defaults 0 0
/dev/mtdblock2 /boot jffs2 ro 0 0
tmpfs /var tmpfs defaults 0 0
tmpfs /tmp tmpfs defaults 0 0
/dev/sda1 /media/hdd auto defaults 0 0
fstab from working openpli 2.1 kernel 2.6.18
rootfs / auto defaults 1 1
proc /proc proc defaults 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
usbfs /proc/bus/usb usbfs defaults 0 0
tmpfs /var/volatile tmpfs defaults 0 0
tmpfs /dev/shm tmpfs mode=0777 0 0
I think there is a difference, the 2.6.30 kernel was configured for opendreambox. Somewhere there should be a difference
on how the flash mtd is mounted between the two.
With 2.6.30 , I boots first stage, and the start openpli enigma 2. The second nice screen does show up and then somewhere it hangs. On lcd can be seen that it well already loads openpli.
Re: Dreambox dm8000 kernel 2.6.30 #14
Re: Dreambox dm8000 kernel 2.6.30 #15
Geplaatst op 13 juli 2011 - 16:52
I as well Put an file where all my changes to the basic git in openembedded are done for openpli 2.1 to compile with kernel 2.6.30
Bijgevoegde Bestanden
Re: Dreambox dm8000 kernel 2.6.30 #16
Geplaatst op 13 juli 2011 - 17:00
Yes somehow I think kernel started. At last I had on lcd dreambox multimedia. This comes with kernel.
no, that is still done by the secondstage loader.
The kernel does not have access to the lcd/oled (till the lcd driver has been loaded)
And the video screen showed the open pli image flash screen.
that's the jpg image, handled by bootlogo.elf (started by the seconstage loader, before starting the kernel)
So I think the kernel is not started. It might have the wrong format. I believe you have to use vmlinuz (gzipped vmlinux) format?
Re: Dreambox dm8000 kernel 2.6.30 #17
Geplaatst op 13 juli 2011 - 18:25
But it request vmlinux.gz, so that file is ok.
I reinstalled an image compiled from scratch 2.6.30 with all patches in but still not ok oeeps just saw that all my patches where erased.
Just try again with new patches and will try to use to vmlinux.gz from working 2.6.18 instead of that just compiled
Re: Dreambox dm8000 kernel 2.6.30 #18
Geplaatst op 14 juli 2011 - 11:14
Just the last point . Could it be the dvb api patch which are not applied the three mentionned below as in kernel 2.618 . If so go and look to eventually try to make such one for 2.6.30
they are in file linux-opendreambox-2.6.18.inc located openembedded/recipes/linux
file://dvb-api-2.6.18-5.3.patch \
file://linux-2.6.18-dvb-core-headers-20100904.patch \
file://linux-2.6.18-dvb-frontends-headers-20100904.patch \
Re: Dreambox dm8000 kernel 2.6.30 #19
Re: Dreambox dm8000 kernel 2.6.30 #20
1 gebruiker(s) lezen dit onderwerp
0 leden, 1 bezoekers, 0 anonieme gebruikers