mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-24 11:46:30 +00:00
odroidc2: use internal buildroot toolchain
This commit is contained in:
parent
16563517bf
commit
e818a1957f
@ -93,14 +93,9 @@ setenv bootargs "console=ttyS0,115200n8 root=/dev/mmcblk0p2 rootwait ro no_conso
|
||||
|
||||
# Booting
|
||||
|
||||
setenv loadaddr "0x11000000"
|
||||
setenv dtb_loadaddr "0x1000000"
|
||||
setenv initrd_loadaddr "0x13000000"
|
||||
|
||||
fatload mmc 0:1 ${initrd_loadaddr} uInitrd
|
||||
fatload mmc 0:1 ${loadaddr} Image
|
||||
fatload mmc 0:1 ${dtb_loadaddr} meson64_odroidc2.dtb
|
||||
fdt addr ${dtb_loadaddr}
|
||||
fatload mmc 0:1 0x11000000 Image
|
||||
fatload mmc 0:1 0x1000000 meson64_odroidc2.dtb
|
||||
fdt addr 0x1000000
|
||||
|
||||
if test "${mesontimer}" = "0"; then fdt rm /meson_timer; fdt rm /cpus/cpu@0/timer; fdt rm /cpus/cpu@1/timer; fdt rm /cpus/cpu@2/timer; fdt rm /cpus/cpu@3/timer; fi
|
||||
if test "${mesontimer}" = "1"; then fdt rm /timer; fi
|
||||
@ -110,4 +105,4 @@ if test "${nographics}" = "1"; then fdt rm /meson-fb; fdt rm /amhdmitx; fdt rm /
|
||||
if test "${nographics}" = "1"; then fdt rm /meson-vout; fdt rm /mesonstream; fdt rm /meson-fb; fi
|
||||
if test "${nographics}" = "1"; then fdt rm /deinterlace; fdt rm /codec_mm; fi
|
||||
|
||||
booti ${loadaddr} ${initrd_loadaddr} ${dtb_loadaddr}
|
||||
booti 0x11000000 - 0x1000000
|
||||
|
@ -1 +0,0 @@
|
||||
/lib
|
@ -1 +0,0 @@
|
||||
/usr/lib
|
@ -3,7 +3,7 @@
|
||||
# boot directory
|
||||
mkdir -p $BOOT_DIR
|
||||
|
||||
cp $IMG_DIR/uImage $BOOT_DIR
|
||||
cp $IMG_DIR/Image $BOOT_DIR
|
||||
cp $IMG_DIR/meson64_odroidc2.dtb $BOOT_DIR
|
||||
cp $BOARD_DIR/bl1.bin.hardkernel $IMG_DIR
|
||||
cp $BOARD_DIR/u-boot.bin $IMG_DIR
|
||||
|
@ -3,15 +3,9 @@ BR2_DL_DIR="$(TOPDIR)/.download"
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(TOPDIR)/.buildroot-ccache-odroidc2"
|
||||
BR2_OPTIMIZE_2=y
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_URL="http://releases.linaro.org/14.09/components/toolchain/binaries/gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux.tar.xz"
|
||||
BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX="$(ARCH)-linux-gnueabihf"
|
||||
BR2_TOOLCHAIN_EXTERNAL_GCC_4_9=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_14=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_CXX=y
|
||||
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_14=y
|
||||
BR2_GLIBC_VERSION_2_22=y
|
||||
BR2_BINUTILS_VERSION_2_25_X=y
|
||||
BR2_TARGET_OPTIMIZATION="-pipe"
|
||||
BR2_TARGET_GENERIC_HOSTNAME=""
|
||||
BR2_TARGET_GENERIC_ISSUE=""
|
||||
@ -80,12 +74,9 @@ BR2_PACKAGE_CA_CERTIFICATES=y
|
||||
BR2_PACKAGE_NETTLE=y
|
||||
BR2_PACKAGE_LIBFUSE=y
|
||||
BR2_PACKAGE_JPEG_TURBO=y
|
||||
BR2_PACKAGE_LIBV4L=y
|
||||
BR2_PACKAGE_LIBV4L_UTILS=y
|
||||
BR2_PACKAGE_LIBXML2=y
|
||||
BR2_PACKAGE_LIBTHEORA=y
|
||||
BR2_PACKAGE_X264=y
|
||||
BR2_PACKAGE_X265=y
|
||||
BR2_PACKAGE_LIBCURL=y
|
||||
BR2_PACKAGE_CURL=y
|
||||
BR2_PACKAGE_LIBCAP=y
|
||||
|
Loading…
x
Reference in New Issue
Block a user