mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-28 11:43:01 +02:00
Ensure that whenever U-Boot is built: - The chosen signing key and is converted to the expected format and installed in the build tree. - Infix's environment extensions are installed in the build tree
15 lines
379 B
Bash
15 lines
379 B
Bash
${devtype} dev ${devnum}
|
|
${devtype} read ${ramdisk_addr_r} ${devoffs} 0x10
|
|
|
|
fdt addr ${ramdisk_addr_r}
|
|
fdt get value squashaddr /images/ramdisk data-position
|
|
fdt get value squashsize /images/ramdisk data-size
|
|
|
|
setexpr blkcnt ${squashaddr} + ${squashsize}
|
|
setexpr blkcnt ${blkcnt} + 0x1ff
|
|
setexpr blkcnt ${blkcnt} / 0x200
|
|
|
|
${devtype} read ${ramdisk_addr_r} ${devoffs} ${blkcnt}
|
|
|
|
|