Skip to content

Instantly share code, notes, and snippets.

@mxmilkiib
Last active February 9, 2020 13:47
Show Gist options
  • Select an option

  • Save mxmilkiib/577830c4db2d502296dc56618e7359b8 to your computer and use it in GitHub Desktop.

Select an option

Save mxmilkiib/577830c4db2d502296dc56618e7359b8 to your computer and use it in GitHub Desktop.
Updated boot.ini from HK for Manjaro uboot - see https://forum.odroid.com/viewtopic.php?p=275487
ODROIDN2-UBOOT-CONFIG
# Default Console Device Setting
setenv condev "console=ttyAML0,115200n8" # on both
# Boot Args
setenv bootargs "root=/dev/mmcblk${devno}p2 rootwait rw ${condev} ${amlogic} no_console_suspend fsck.repair=yes net.ifnames=0 clk_ignore_unuse
d"
# 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/meson-g12b-odroid-n2.dtb
load mmc ${devno}:1 ${initrd_loadaddr} /initramfs-linux.uimg
#fdt addr ${dtb_loadaddr}
# 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