All of lore.kernel.org
 help / color / mirror / Atom feed
* Mainline kernel on snowball
@ 2013-07-25  5:23 ` Simon Horman
  0 siblings, 0 replies; 18+ messages in thread
From: Simon Horman @ 2013-07-25  5:23 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

I apologise for the naïve nature of this question,
but I do not seem to be able to make any progress of my own accord.

I would like to boot the mainline kernel - ideally v3.10 and v3.11-rcX -
on snowball. The reason being to verify CPU hotplug which
seems to be broken on shmobile, though that is tangential to this post.

My procedure, which does not work, is as follows.
I have tried a number of different versions all with roughly
the same result.

1. Build kernel
# git checkout v3.10.2 # I have tried several over versions too.
# make u8500_defconfig
Edit .config to enable CONFIG_ARM_APPENDED_DTB
# LOADADDR=0x100000 make uImage dtbs

2. Append dtb to zImage and recreate uImage
mv arch/arm/boot/zImage arch/arm/boot/zImage.tmp
cat arch/arm/boot/zImage.tmp arch/arm/boot/dts/snowball.dtb
/bin/sh scripts/mkuboot.sh \
	-A arm -O linux -C none  -T kernel \
	-a 0x100000 -e 0x100000 -n 'Linux-3.10.2' \
	-d arch/arm/boot/zImage arch/arm/boot/uImage

3. Boot uImage from u-boot
Snowball $ setenv ethaddr 3e:c4:73:05:d1:a1
Snowball $ bootp;bootm
smc911x: detected LAN9221 controller
smc911x: phy initialized
smc911x: MAC 3e:c4:73:05:d1:a1
BOOTP broadcast 1
*** Unhandled DHCP Option in OFFER/ACK: 28
*** Unhandled DHCP Option in OFFER/ACK: 44
*** Unhandled DHCP Option in OFFER/ACK: 28
*** Unhandled DHCP Option in OFFER/ACK: 44
DHCP client bound to address 10.3.3.146
Using smc911x-0 device
TFTP from server 10.3.3.135; our IP address is 10.3.3.146
Filename 'snowball/uImage'.
Load address: 0x100000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##########################################################
done
Bytes transferred = 2540191 (26c29f hex)
## Booting kernel from Legacy Image at 00100000 ...
   Image Name:   'Linux-3.10.2'
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2540127 Bytes =  2.4 MB
   Load Address: 00100000
   Entry Point:  00100000
   XIP Kernel Image ... OK
OK

Starting kernel ...




This is as far as it gets.

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

end of thread, other threads:[~2013-07-25  9:27 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-25  5:23 Mainline kernel on snowball Simon Horman
2013-07-25  5:23 ` Simon Horman
2013-07-25  5:40 ` Willy Tarreau
2013-07-25  5:40   ` Willy Tarreau
2013-07-25  7:25   ` Simon Horman
2013-07-25  7:25     ` Simon Horman
2013-07-25  7:52     ` Willy Tarreau
2013-07-25  7:52       ` Willy Tarreau
2013-07-25  8:26       ` Simon Horman
2013-07-25  8:26         ` Simon Horman
2013-07-25  8:36         ` Willy Tarreau
2013-07-25  8:36           ` Willy Tarreau
2013-07-25  6:41 ` Uwe Kleine-König
2013-07-25  6:41   ` Uwe Kleine-König
2013-07-25  7:22   ` Simon Horman
2013-07-25  7:22     ` Simon Horman
2013-07-25  9:27 ` Linus Walleij
2013-07-25  9:27   ` Linus Walleij

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.