Booting kernel from FAT partition on beagle board
Hi,
this may be a very stupid question, but I'm using Barebox for the first time. My kernel is located on a SD card on the 1st FAT partition. I tried following sequence:
------------------------------------------------------------
barebox@Texas Instrument's Beagle:/ bootargs="console=ttyO2,115200 \ vram=12M omapfb.mode=dvi:1024x768MR-16@60 omapfb.debug=y \ omapdss.def_disp=dvi root=/dev/mmcblk0p2 ro rootfstype=ext3 \ rootwait earlyprintk=ttyO2,115200"
barebox@Texas Instrument's Beagle:/ mount /dev/disk0.0 fat /mnt barebox@Texas Instrument's Beagle:/ bootm -c -v /mnt/uImage
------------------------------------------------------------
But that doesn't work:
------------------------------------------------------------
Image Name: Linux-3.5.0
OS: Linux
Architecture: ARM
Type: Kernel Image Compression: uncompressed Data Size: 3362776 Bytes = 3.2 MB
Load Address: 80008000
Entry Point: 80008000
Loading OS U-Boot uImage '/mnt/uImage'
OS image is at 0x80008000-0x8033cfd7
Passing control to ARM Linux uImage handler
Starting kernel at 0x80008000...
commandline: console=ttyO2,115200 vram=12M omapfb.mode=dvi:1024x768MR-16@60 omapfb.debug=y omapdss.def_disp=dvi root=/dev/mmcblk0p2 ro rootfstype=ext3 rootwait earlyprintk=ttyO2,115200arch_number: 1546
------------------------------------------------------------
The same kernel boots fine using u-boot. I'm using Barebox 2012.07.0 and u-boot 2012.07-rc1.
Did I do something wrong? Or is that just a bug?
Regards,
Bernhard
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Quoted 8 lines · Bernhard Walle
Hi,
Passing control to ARM Linux uImage handler
Starting kernel at
0x80008000...
commandline: console=ttyO2,115200 vram=12M omapfb.mode=dvi:1024x768MR-16@60 omapfb.debug=y omapdss.def_disp=dvi root=/dev/mmcblk0p2 ro rootfstype=ext3 rootwait earlyprintk=ttyO2,115200
earlyprintk does not take options.
Have you enabled earlyprintk support in your config? At least you should something then.
Quoted 7 lines
arch_number: 1546
------------------------------------------------------------The same kernel boots fine using u-boot. I'm using Barebox 2012.07.0 and u-boot 2012.07-rc1.
Did I do something wrong? Or is that just a bug?
What you tried should work, I can't see something obviously wrong.
Sascha
Signature · 9 lines
Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Am 23.07.12 22:05, schrieb Sascha Hauer:
Quoted 3 lines · Bernhard Walle
earlyprintk does not take options.
Ok, but IIRC it doesn't harm. However, I tried without that options and it does't work.
Quoted 2 lines
Have you enabled earlyprintk support in your config? At least you should something then.
Sure,
bwalle@kopernikus % grep EARLY_PR configs/beagle/kernelconfig-3.5 CONFIG_EARLY_PRINTK=y
Any ideas? How to debug (without JTAG)?
Regards,
Bernhard
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox