I want to chane the kernel.
How does the address of the kernel?
uboot, kernel and rootfs is applied to a single image?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I want to chane the kernel.
How does the address of the kernel?
uboot, kernel and rootfs is applied to a single image?
Please describe what you want to do in more details. Also post the Linux version you are using.
You can also check this: http://processors.wiki.ti.com/index.php/Linux_Core_U-Boot_User's_Guide
My environment:
u-boot-2014.07-g7e537bf ( am335x_boneblack_config )
linux-3.14.26-g2489c02
Beagle bone black
U-Boot# mmc info
Device: OMAP SD/MMC
Manufacturer ID: fe
OEM: 14e
Name: MMC04
Tran Speed: 52000000
Rd Block Len: 512
MMC version 4.41
High Capacity: Yes
Capacity: 3.7 GiB
Bus Width: 4-bit
I read the following URL.
processors.wiki.ti.com/.../Linux_Core_U-Boot_User's_Guide
U-Boot # mmc dev 0
U-Boot # mmc rescan
U-Boot # mmc dev 1
U-Boot # fatload mmc 0 ${loadaddr} MLO
U-Boot # mmc write ${loadaddr} 0x100 0x100
U-Boot # mmc write ${loadaddr} 0x200 0x100
U-Boot # fatload mmc 0 ${loadaddr} u-boot.img
U-Boot # mmc write ${loadaddr} 0x300 0x400
U-Boot # fatload mmc 0 ${loadaddr} rootfs.ext4
U-Boot # mmc write ${loadaddr} 0x1000 ...rootfs.ext4 size in bytes divided by 512, in hex...
But I don't understand the following.
1. Why not write a 0 address?
ex.
U-Boot # fatload mmc 0 ${loadaddr} MLO
U-Boot # mmc write ${loadaddr} 0x0 0x100
2. I can't find the 'write address' from uboot source. (0x100, 0x200, 0x300)
3. Address of zimage?