- merging C2 and Meson family on the source level, C2 is still making own kernels, but sources, patches and configs are the same - merged boot scripts for meson family. support for non existing legacy kernel was dropped from boot scripts, added UUID support, armbianEnv.txt - Meson default remain on 4.14.y, NEXT moved to 4.17.y and DEV remains on master - remove deprecated patches, remove wrong permissions in patches - tested on C2, K2 and Le Potate. USB troubles are still present and common, while K2 and Lepotato might have boot/reboot troubles on 4.16+ - boards configuration cleanup - moving K2 to the supported list. It's the same level of support as Le Potato
31 lines
1.2 KiB
Batchfile
31 lines
1.2 KiB
Batchfile
# DO NOT EDIT THIS FILE
|
|
#
|
|
# Please edit /boot/armbianEnv.txt to set supported parameters
|
|
#
|
|
|
|
setenv rootdev "/dev/mmcblk1p1"
|
|
setenv verbosity "1"
|
|
setenv console "both"
|
|
setenv rootfstype "ext4"
|
|
setenv prefix "boot/"
|
|
|
|
if test -e ${devtype} ${devnum} ${prefix}armbianEnv.txt; then
|
|
load ${devtype} ${devnum} ${loadaddr} ${prefix}armbianEnv.txt
|
|
env import -t ${loadaddr} ${filesize}
|
|
fi
|
|
|
|
if test "${logo}" = "disabled"; then setenv logo "logo.nologo"; fi
|
|
|
|
if test "${console}" = "display" || test "${console}" = "both"; then setenv consoleargs "console=tty1"; fi
|
|
if test "${console}" = "serial" || test "${console}" = "both"; then setenv consoleargs "${consoleargs} console=ttyAML0,115200n8"; fi
|
|
|
|
setenv bootargs "root=${rootdev} rootwait rootflags=data=writeback rw rootfstype=${rootfstype} ${consoleargs} no_console_suspend consoleblank=0 fsck.repair=yes loglevel=${verbosity} usb-storage.quirks=${usbstoragequirks} ${extraargs} ${extraboardargs}"
|
|
|
|
${bloader} ${initrd_start} ${prefix}uInitrd
|
|
${bloader} ${dtb_mem_addr} ${prefix}dtb/${fdtfile}
|
|
fdt addr ${dtb_mem_addr}
|
|
${bloader} ${loadaddr} ${prefix}uImage;
|
|
bootm ${loadaddr} ${initrd_start} ${dtb_mem_addr};
|
|
|
|
# Recompile with:
|
|
# mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr |