mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* Booting kernel from FAT partition on beagle board
@ 2012-07-22 15:29 Bernhard Walle
  2012-07-23 20:05 ` Sascha Hauer
  0 siblings, 1 reply; 3+ messages in thread
From: Bernhard Walle @ 2012-07-22 15:29 UTC (permalink / raw)
  To: barebox

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,115200
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?



Regards,
Bernhard



_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Booting kernel from FAT partition on beagle board
  2012-07-22 15:29 Booting kernel from FAT partition on beagle board Bernhard Walle
@ 2012-07-23 20:05 ` Sascha Hauer
  2012-07-24 19:47   ` Bernhard Walle
  0 siblings, 1 reply; 3+ messages in thread
From: Sascha Hauer @ 2012-07-23 20:05 UTC (permalink / raw)
  To: Bernhard Walle; +Cc: barebox

On Sun, Jul 22, 2012 at 05:29:44PM +0200, Bernhard Walle wrote:
> 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.

> 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


-- 
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
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Booting kernel from FAT partition on beagle board
  2012-07-23 20:05 ` Sascha Hauer
@ 2012-07-24 19:47   ` Bernhard Walle
  0 siblings, 0 replies; 3+ messages in thread
From: Bernhard Walle @ 2012-07-24 19:47 UTC (permalink / raw)
  To: barebox

Am 23.07.12 22:05, schrieb Sascha Hauer:
> On Sun, Jul 22, 2012 at 05:29:44PM +0200, Bernhard Walle wrote:
>
> earlyprintk does not take options.

Ok, but IIRC it doesn't harm. However, I tried without that options and
it does't work.

> 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
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-07-24 19:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-22 15:29 Booting kernel from FAT partition on beagle board Bernhard Walle
2012-07-23 20:05 ` Sascha Hauer
2012-07-24 19:47   ` Bernhard Walle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox