-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added arm64 configuration for the Raspberry Pi 4.
- Loading branch information
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# reuse the device tree that got loaded and modified by the raspberry pi bootloader | ||
fdt addr ${fdt_addr} | ||
fdt get value bootargs /chosen bootargs | ||
# adjust the root partition | ||
setexpr bootargs gsub /dev/edi_root_device /dev/mmcblk0p2 "${bootargs}" | ||
|
||
ext4load mmc 0:2 ${kernel_addr_r} /boot/vmlinuz-__KERNEL_PACKAGE_VERSION__ | ||
ext4load mmc 0:2 ${ramdisk_addr_r} /boot/initrd.img-__KERNEL_PACKAGE_VERSION__ | ||
|
||
booti ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# reuse the device tree that got loaded and modified by the raspberry pi bootloader | ||
fdt addr ${fdt_addr} | ||
fdt get value bootargs /chosen bootargs | ||
# adjust the root partition | ||
setexpr bootargs gsub /dev/edi_root_device "${edi_root_device}" "${bootargs}" | ||
|
||
ext4load mmc ${edi_mmc_device} ${kernel_addr_r} /boot/vmlinuz-__KERNEL_PACKAGE_VERSION__ | ||
ext4load mmc ${edi_mmc_device} ${ramdisk_addr_r} /boot/initrd.img-__KERNEL_PACKAGE_VERSION__ | ||
|
||
booti ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr} |