Linux on ARM based TI OMAP SoCs
 help / color / mirror / Atom feed
* Booting 3.9.0-rc2 on Beaglebone ?
@ 2013-03-12 20:44 Mark Jackson
  2013-03-19 18:33 ` Tony Lindgren
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Jackson @ 2013-03-12 20:44 UTC (permalink / raw)
  To: linux-omap@vger.kernel.org

I'm struggling to get the latest kernel git to load on my beaglebone.

My build process is:-

$ make -j 8 ARCH=arm CROSS_COMPILE=arm-linux- distclean
$ make -j 8 ARCH=arm CROSS_COMPILE=arm-linux- omap2plus_defconfig
CONFIG_DEBUG_LL=y
CONFIG_DEBUG_OMAP2PLUS_UART=y
CONFIG_DEBUG_AM33XXUART1=y
CONFIG_EARLY_PRINTK=y
CONFIG_ARM_APPENDED_DTB=y
CONFIG_ARM_ATAG_DTB_COMPAT=y
CONFIG_ARM_ATAG_DTB_COMPAT_CMDLINE_FROM_BOOTLOADER=y
$ make -j 8 ARCH=arm CROSS_COMPILE=arm-linux-
$ cat arch/arm/boot/zImage arch/arm/boot/am335x-bone.dtb > 
arch/arm/boot/zImage-dtb.am335x-bone
$ scripts/mkuboot.sh -A arm -O linux -C none  -T kernel -a 0x80008000 -e 
0x80008000 -n 'Linux' -d arch/arm/boot/zImage-dtb.am335x-bone 
arch/arm/boot/uImage-dtb.am335x-bone

But this produces the following when booting:-

## Booting kernel from Legacy Image at 80000000 ...
    Image Name:   Linux
    Image Type:   ARM Linux Kernel Image (uncompressed)
    Data Size:    3995640 Bytes = 3.8 MiB
    Load Address: 80008000
    Entry Point:  80008000
    Verifying Checksum ... OK
    Loading Kernel Image ... OK
OK

Starting kernel ...


Error: unrecognized/unsupported machine ID (r1 = 0x00000e05).

Available machine support:

ID (hex)        NAME
ffffffff        Generic OMAP5 (Flattened Device Tree)
ffffffff        Generic OMAP4 (Flattened Device Tree)
ffffffff        Generic AM33XX (Flattened Device Tree)
ffffffff        Generic OMAP3-GP (Flattened Device Tree)
ffffffff        Generic OMAP3 (Flattened Device Tree)
ffffffff        Generic OMAP2430 (Flattened Device Tree)
ffffffff        Generic OMAP2420 (Flattened Device Tree)
000001fe        OMAP2420 H4 board
00000384        OMAP2430 sdp2430 board
0000060a        OMAP3 Beagle Board
0000091a        OMAP3 Devkit8000
00000667        OMAP LDP board
000006ed        OMAP Logic 3530 LV SOM board
00000882        Logic OMAP3 Torpedo board
00000706        Gumstix Overo
000005ff        OMAP3 EVM
000006e1        Pandora Handheld Console
00000472        OMAP3430 3430SDP board
000006bf        Nokia N810 WiMAX
0000060c        Nokia N810
000004f7        Nokia N800
00000dc2        Nokia RM-696 board
00000c94        Nokia RM-680 board
000007a3        Nokia RX-51 board
000009a0        OMAP Zoom3 board
000007af        OMAP Zoom2 board
000009a1        OMAP 3630SDP board
00000cda        Compulab CM-T3730
00000925        Compulab CM-T35
00000abe        Compulab CM-T3517
00000a9d        IGEP OMAP3 module
00000928        IGEP v2 board
00000959        OMAP3 touchbook Board
00000870        OMAP4430 4430SDP board
00000ae7        OMAP4 Panda board
00000898        OMAP3517/AM3517 EVM
00000aa2        OMAP3 STALKER
00000bbc        ti8148evm
00000af0        ti8168evm
ffffffff        ARM-Versatile Express
000008e0        ARM-Versatile Express

Please check your kernel config and/or bootloader.

I guess I'm missing some vital step ?

Thanks for any help
Mark J.

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

* Re: Booting 3.9.0-rc2 on Beaglebone ?
  2013-03-12 20:44 Booting 3.9.0-rc2 on Beaglebone ? Mark Jackson
@ 2013-03-19 18:33 ` Tony Lindgren
  2013-03-20  8:35   ` Hiremath, Vaibhav
  0 siblings, 1 reply; 3+ messages in thread
From: Tony Lindgren @ 2013-03-19 18:33 UTC (permalink / raw)
  To: Mark Jackson; +Cc: linux-omap@vger.kernel.org

Hi,

* Mark Jackson <mpfj-list@mimc.co.uk> [130312 13:48]:
> I'm struggling to get the latest kernel git to load on my beaglebone.
> 
> Error: unrecognized/unsupported machine ID (r1 = 0x00000e05).
> 
> I guess I'm missing some vital step ?

We're changing the mainline kernel tree to use device tree
based booting only.

So you need to either upgrade your bootloader to support device
tree based booting, or enable CONFIG_ARM_APPENDED_DTB and
ARM_ATAG_DTB_COMPAT in your .config and build u-image manually
with the .dtb appended to the zImage. Doing make dtbs will generate
you the am335x-bone.dtb to append.

Regards,

Tony

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

* RE: Booting 3.9.0-rc2 on Beaglebone ?
  2013-03-19 18:33 ` Tony Lindgren
@ 2013-03-20  8:35   ` Hiremath, Vaibhav
  0 siblings, 0 replies; 3+ messages in thread
From: Hiremath, Vaibhav @ 2013-03-20  8:35 UTC (permalink / raw)
  To: Tony Lindgren, Mark Jackson; +Cc: linux-omap@vger.kernel.org


> -----Original Message-----
> From: linux-omap-owner@vger.kernel.org [mailto:linux-omap-
> owner@vger.kernel.org] On Behalf Of Tony Lindgren
> Sent: Wednesday, March 20, 2013 12:04 AM
> To: Mark Jackson
> Cc: linux-omap@vger.kernel.org
> Subject: Re: Booting 3.9.0-rc2 on Beaglebone ?
> 
> Hi,
> 
> * Mark Jackson <mpfj-list@mimc.co.uk> [130312 13:48]:
> > I'm struggling to get the latest kernel git to load on my beaglebone.
> >
> > Error: unrecognized/unsupported machine ID (r1 = 0x00000e05).
> >
> > I guess I'm missing some vital step ?
> 
> We're changing the mainline kernel tree to use device tree
> based booting only.
> 
> So you need to either upgrade your bootloader to support device
> tree based booting, or enable CONFIG_ARM_APPENDED_DTB and
> ARM_ATAG_DTB_COMPAT in your .config and build u-image manually
> with the .dtb appended to the zImage. Doing make dtbs will generate
> you the am335x-bone.dtb to append.
> 

This might help you - 
https://github.com/hvaibhav/am335x-linux/wiki/How-To-Use-Upstream-Tree

Thanks,
Vaibhav

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

end of thread, other threads:[~2013-03-20  8:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-12 20:44 Booting 3.9.0-rc2 on Beaglebone ? Mark Jackson
2013-03-19 18:33 ` Tony Lindgren
2013-03-20  8:35   ` Hiremath, Vaibhav

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