* Add initial support for Odroid N2+ * Update C4 config and test booting * Updates to C4, N2, N2+ - merge C4 and N2 legacy under meson64, same u-boot - upgrade legacy kernel to meed DTB from mainline - merge N2 and N2+, add a hack to display + in motd when N2+ is detected - shortly spin N2 fan at startup - merged N2 mainline and legacy boot script - add upstream patches * One of the regulators were breaking booting of Odroid N2 Co-authored-by: Werner <EvilOlaf@users.noreply.github.com>
25 lines
618 B
Plaintext
25 lines
618 B
Plaintext
source "${BASH_SOURCE%/*}/include/meson64_common.inc"
|
|
ASOUND_STATE="asound.state.meson64"
|
|
UBOOT_TARGET_MAP=';;sd_fuse/u-boot.bin'
|
|
SERIALCON=ttyS0
|
|
UBOOT_USE_GCC='< 4.9'
|
|
UBOOT_TOOLCHAIN2="arm-none-eabi-:< 5.0"
|
|
UBOOT_COMPILER="aarch64-none-elf-"
|
|
|
|
BOOTSOURCE='https://github.com/hardkernel/u-boot.git'
|
|
BOOTBRANCH='branch:odroidg12-v2015.01'
|
|
BOOTPATCHDIR='u-boot-odroid'
|
|
BOOTDIR='u-boot-odroid'
|
|
|
|
UBOOT_TARGET_MAP=';;sd_fuse/u-boot.bin'
|
|
BOOTSCRIPT="boot-odroid-n2.ini:boot.ini"
|
|
|
|
CPUMIN=1000000
|
|
CPUMAX=2400000
|
|
GOVERNOR=ondemand
|
|
|
|
write_uboot_platform()
|
|
{
|
|
dd if=$1/u-boot.bin of=$2 bs=512 seek=1 conv=fsync > /dev/null 2>&1
|
|
}
|