[U-Boot] Booting a dt zImage kernel
Fabio Estevam
festevam at gmail.com
Mon Apr 23 17:29:30 CEST 2012
On Mon, Apr 23, 2012 at 11:50 AM, Shawn Guo <shawn.guo at linaro.org> wrote:
> Why do you need to do that at all? Turn on CONFIG_OF_LIBFDT, and you
> will be able to boot an DT kernel (without dtb append) in the
> following command.
>
> tftpboot 42000000 uImage; tftpboot 42800000 imx28-evk.dtb; bootm
> 0x42000000 - 0x42800000
Ok, turned CONFIG_OF_LIBFDT and set:
bootcmd_net=run netargs; dhcp 0x42000000 uImage; dhcp 0x42800000
imx28-evk.dtb; bootm 0x42000000 - 0x42800000
U-Boot 2012.04-00002-ge8c5d3d-dirty (Apr 23 2012 - 12:19:15)
Freescale i.MX28 family at 454 MHz
DRAM: 128 MiB
MMC: MXS MMC: 0
In: serial
Out: serial
Err: serial
Net: FEC0, FEC1
Hit any key to stop autoboot: 0
BOOTP broadcast 1
BOOTP broadcast 2
DHCP client bound to address 10.29.244.54
Using FEC0 device
TFTP from server 10.29.240.143; our IP address is 10.29.244.54
Filename 'uImage'.
Load address: 0x42000000
Loading: ## Warning: gatewayip needed but not set
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
################################################
done
Bytes transferred = 2237480 (222428 hex)
BOOTP broadcast 1
BOOTP broadcast 2
DHCP client bound to address 10.29.244.54
Using FEC0 device
TFTP from server 10.29.240.143; our IP address is 10.29.244.54
Filename 'imx28-evk.dtb'.
Load address: 0x42800000
Loading: ## Warning: gatewayip needed but not set
##
done
Bytes transferred = 5367 (14f7 hex)
## Booting kernel from Legacy Image at 42000000 ...
Image Name: Linux-3.4.0-rc3-next-20120419
Created: 2012-04-23 15:02:08 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2237416 Bytes = 2.1 MiB
Load Address: 40008000
Entry Point: 40008000
Verifying Checksum ... OK
## Flattened Device Tree blob at 42800000
Booting using the fdt blob at 0x42800000
Loading Kernel Image ... OK
OK
Loading Device Tree to 47b7e000, end 47b824f6 ... OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
,no console output after that. Any suggestions?
Thanks,
Fabio Estevam
More information about the U-Boot
mailing list