mirror of
https://github.com/cjdelisle/openwrt.git
synced 2025-09-01 11:51:03 +00:00
Modernize the target slightly to use kernel+dtb FIT images in all subtargets. LZMA compression will be used for the cortexa53 devices, and we'll stay conservative and use gzip for the cortexa7/a8 devices due to performance differences. Tested-on: - Linksprite pcDuino v2 (cortexa8 / A10) - Olinuxino Micro (cortexa7 / A20) - Banana Pi M2 Berry (cortexa7 / V40) - Banana Pi P2 Zero (cortexa7 / H2+) - Xunlong Orange Pi 2 (cortexa7/ H3) - OrangePi PC Zero 2 (cortexa53 / H616) Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
7 lines
298 B
Plaintext
7 lines
298 B
Plaintext
setenv mmc_rootpart 2
|
|
part uuid mmc ${mmc_bootdev}:${mmc_rootpart} uuid
|
|
setenv loadkernel fatload mmc \$mmc_bootdev \$kernel_comp_addr_r uImage
|
|
setenv bootargs console=ttyS0,115200 earlyprintk root=PARTUUID=${uuid} rootwait
|
|
setenv uenvcmd run loadkernel \&\& bootm \$kernel_comp_addr_r
|
|
run uenvcmd
|