Skip to content

Instantly share code, notes, and snippets.

@witkamp
Last active December 16, 2015 17:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save witkamp/ea3872cb4c78bb210933 to your computer and use it in GitHub Desktop.
Save witkamp/ea3872cb4c78bb210933 to your computer and use it in GitHub Desktop.
change fdt address
U-Boot 2013.01.01 (Apr 25 2013 - 16:19:52)
I2C: ready
DRAM: 256 MiB
WARNING: Caches not enabled
NAND: No NAND device found!!!
0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - readenv() failed, using default environment
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Peripheral mode controller at 47401000 using PIO, IRQ 0
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Host mode controller at 47401800 using PIO, IRQ 0
Net: cpsw, usb_ether
Hit any key to stop autoboot: 0
mmc0 is current device
SD/MMC found on device 0
reading uEnv.txt
293 bytes read in 3 ms (94.7 KiB/s)
Loaded environment from uEnv.txt
Importing environment from mmc ...
Running uenvcmd ...
4209273 bytes read in 610 ms (6.6 MiB/s)
8209 bytes read in 72 ms (111.3 KiB/s)
## Booting kernel from Legacy Image at 81000000 ...
Image Name: Linux-3.9.0-rc5
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4209209 Bytes = 4 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
## Flattened Device Tree blob at 8f000000
Booting using the fdt blob at 0x8f000000
Loading Kernel Image ... OK
OK
Loading Device Tree to 8fe3e000, end 8fe43010 ... OK
Starting kernel ...
@witkamp
Copy link
Author

witkamp commented Apr 29, 2013

It looks like the created uImage had an appended DT. Which expects the ATAGS pointer instead of the fdt pointer in the register. Compiling with out and appened DT fixed the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment