【发布时间】:2017-08-12 08:26:44
【问题描述】:
我正在尝试了解嵌入式 Linux 原理,但无法确定 u-boot 输出的地址。
如何找到U-boot的起始地址?
例如,我有基于 i.MX6 四核处理器的 MX6-SabreSD 板,我从 U-Boot 得到以下输出:
U-Boot 2015.10-rc3 (Aug 10 2017 - 13:33:34)
CPU: Freescale i.MX6Q rev1.2 at 792 MHz
Reset cause: POR
Board: MX6-SabreSD
DRAM: 1 GiB
MMC: FSL_SDHC: 0
No panel detected: default to LDB-WVGA
Display: LDB-WVGA (800x480)
In: serial
Out: serial
Err: serial
Net: using phy at 6
FEC [PRIME]
Warning: FEC MAC addresses don't match:
Address in SROM is 00:c0:08:88:a5:e6
Address in environment is 00:c0:08:88:9c:ce
Hit any key to stop autoboot: 0
Booting from mmc ...
4788388 bytes read in 303 ms (15.1 MiB/s)
## Booting kernel from Legacy Image at 12000000 ...
Image Name: Linux-3.0.35
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4788324 Bytes = 4.6 MiB
Load Address: 10008000
Entry Point: 10008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
Starting kernel ...
【问题讨论】:
-
你要uboot在RAM中的执行地址吗?
-
是的,我需要找出内存中u-boot地址的执行情况,你能帮帮我吗?
-
uboot 存储在哪里?是flash吗?
-
在我的例子中 uboot 存储在 SDCARD...
-
uboot 重定位将在启动顺序中发生。我们必须在那里放置调试打印以找出 RAM 位置。
标签: linux-kernel u-boot