diff --git a/config/sources/meson64.conf b/config/sources/meson64.conf index cecaae6b8..95a252df3 100644 --- a/config/sources/meson64.conf +++ b/config/sources/meson64.conf @@ -12,7 +12,7 @@ KERNEL_IMAGE_TYPE=Image if [[ $BOARD == odroidc2 ]]; then UBOOT_TARGET_MAP=";;$SRC/cache/sources/odroidc2-blobs/bl1.bin.hardkernel u-boot.bin" - BOOTSCRIPT='boot-odroid-c2-next.cmd:boot.cmd' + BOOTENV_FILE='odroidc2-next.txt' fi diff --git a/patch/kernel/meson64-dev/board-odroidc2-enable-SPI.patch b/patch/kernel/meson64-dev/board-odroidc2-enable-SPI.patch index cfca52bdd..6ec2f7f1d 100644 --- a/patch/kernel/meson64-dev/board-odroidc2-enable-SPI.patch +++ b/patch/kernel/meson64-dev/board-odroidc2-enable-SPI.patch @@ -2,7 +2,7 @@ diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts b/arch/arm64/bo index c3c875a73..55c7dd3f4 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts -@@ -135,6 +135,27 @@ +@@ -135,6 +135,32 @@ }; }; }; @@ -10,7 +10,7 @@ index c3c875a73..55c7dd3f4 100644 + spi-gpio { + compatible = "spi-gpio"; + #address-cells = <0x1>; -+ #size-cells = <0>; ++ #size-cells = <0x0>; + ranges; + status = "ok"; + sck-gpios = <&gpio GPIOX_2 0>; @@ -21,11 +21,16 @@ index c3c875a73..55c7dd3f4 100644 + num-chipselects = <2>; + + /* clients */ -+ spidev0: spi-gpio@0 { ++ spidev0@0 { + compatible = "spidev"; + reg = <0>; + spi-max-frequency = <500000>; + }; ++ spidev0@1 { ++ compatible = "spidev"; ++ reg = <1>; ++ spi-max-frequency = <500000>; ++ }; + }; };