Where to find boot and kernel load address

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Where to find boot and kernel load address

Jump to solution
8,533 Views
asmaa
Contributor V

Hello All,

As i am trying to understand boot process. where can I get information of all the load address and boot address for imx7 sabresd board. for example :

where can I get info that I have  to load:

Kernel image @ 0x80800000 

Ramdisk from Legacy Image at 83800000 

Flattened Device Tree blob at 83000000
Booting using the fdt blob at 0x83000000
Using Device Tree in place at 83000000, end 8300e745

U-Boot 2017.03-imx_v2017.03_4.9.11_1.0.0_ga+ga2fea67 (Sep 17 2017 - 14:41:37 -0500)

CPU: Freescale i.MX7D rev1.2 996 MHz (running at 792 MHz)
CPU: Commercial temperature grade (0C to 95C) at 35C
Reset cause: POR
Model: Freescale i.MX7D SabreSD Board
Board: i.MX7D SABRESD RevA in secure mode
DRAM: 1 GiB
PMIC: PFUZE3000 DEV_ID=0x30 REV_ID=0x11
MMC: FSL_SDHC: 0, FSL_SDHC: 1
*** Warning - bad CRC, using default environment

Display: TFT43AB (480x272)
Video: 480x272x24
In: serial
Out: serial
Err: serial
switch to partitions #0, OK
mmc0 is current device
Net:
Warning: ethernet@30be0000 using MAC address from ROM
eth0: ethernet@30be0000 [PRIME]
Warning: ethernet@30bf0000 using MAC address from ROM
, eth1: ethernet@30bf0000
Boot from USB for mfgtools
Use default environment for mfgtools
Run bootcmd_mfg: run mfgtool_args;bootz ${loadaddr} ${initrd_addr} ${fdt_addr};
Hit any key to stop autoboot: 0
Kernel image @ 0x80800000 [ 0x000000 - 0x5bd9c8 ]
## Loading init Ramdisk from Legacy Image at 83800000 ...
Image Name: fsl-image-mfgtool-initramfs-imx6
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 8594034 Bytes = 8.2 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 83000000
Booting using the fdt blob at 0x83000000
Using Device Tree in place at 83000000, end 8300e745

Do I get this info from Reference Manuals or any other manuals, Can you please point me out the name of the manual and chapter number?

Regards,

Asma

Labels (1)
1 Solution
7,813 Views
radhikasomaiya
Senior Contributor II

Hi Asma Alekar,

 

You can find the values of load address, fdt address, etc. in board's configuration header file from path "<YOCTO_BUILD>/tmp/work/imx6sxsabresd-poky-linux-gnueabi/u-boot-imx/2017.03-r0/git/include/configs/*.h". 

For imx7dsabresd board the configuration header files are,

  • mx7_common.h
  • mx7dsabresd.h

eg.

  • initrd_addr=0x83800000 (RAMDisk load address to which the RAM disk image is loaded at IPL time(initial program load time)).
  • fdt_addr=0x83000000 (Device tree blob load addres / Flattened Device Tree blob).
  • loadaddr=0x80800000  (from mx7_common.h CONFIG_LOADADDR ).

You can get this information from Table 50. Board-specific default values in i.MX Linux User guide attached here.

Regards

Radhika Somaiya.

View solution in original post

2 Replies
7,814 Views
radhikasomaiya
Senior Contributor II

Hi Asma Alekar,

 

You can find the values of load address, fdt address, etc. in board's configuration header file from path "<YOCTO_BUILD>/tmp/work/imx6sxsabresd-poky-linux-gnueabi/u-boot-imx/2017.03-r0/git/include/configs/*.h". 

For imx7dsabresd board the configuration header files are,

  • mx7_common.h
  • mx7dsabresd.h

eg.

  • initrd_addr=0x83800000 (RAMDisk load address to which the RAM disk image is loaded at IPL time(initial program load time)).
  • fdt_addr=0x83000000 (Device tree blob load addres / Flattened Device Tree blob).
  • loadaddr=0x80800000  (from mx7_common.h CONFIG_LOADADDR ).

You can get this information from Table 50. Board-specific default values in i.MX Linux User guide attached here.

Regards

Radhika Somaiya.

7,813 Views
asmaa
Contributor V
0 Kudos
Reply