Created
August 20, 2020 05:30
-
-
Save jgmdev/7dc6b3306acc9bc4a4817ed67ea57d12 to your computer and use it in GitHub Desktop.
Odroid N2 sample boot.ini for kernel 5.x.x
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
ODROIDN2-UBOOT-CONFIG | |
setenv board "odroidn2" | |
# System Label | |
setenv bootlabel "ArchLinux" | |
# Default Console Device Setting | |
setenv condev "console=ttyAML0,115200n8" | |
# Boot Args | |
setenv bootargs "root=/dev/mmcblk${devno}p2 rootwait rw mitigations=off ${condev} ${amlogic} no_console_suspend fsck.repair=yes net.ifnames=0 clk_ignore_unused video=HDMI-A-1:1920x1080@60" | |
# Set load addresses | |
setenv dtb_loadaddr "0x20000000" | |
setenv loadaddr "0x1080000" | |
setenv initrd_loadaddr "0x3080000" | |
# Load kernel, dtb and initrd | |
load mmc ${devno}:1 ${loadaddr} /Image | |
load mmc ${devno}:1 ${dtb_loadaddr} /dtbs/amlogic/meson64_odroid${variant}.dtb | |
load mmc ${devno}:1 ${initrd_loadaddr} /initramfs-linux.uimg | |
# boot | |
booti ${loadaddr} ${initrd_loadaddr} ${dtb_loadaddr} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment