update buildroot to 2017.02.11
This commit is contained in:
48
bsp/buildroot-2017.02.11/board/udoo/mx6qdl/genimage.cfg
Normal file
48
bsp/buildroot-2017.02.11/board/udoo/mx6qdl/genimage.cfg
Normal file
@@ -0,0 +1,48 @@
|
||||
# Minimal microSD card image for Udoo MX6Q/DL boards
|
||||
#
|
||||
# We mimic the .sdcard Freescale's image format for i.MX6:
|
||||
# * the microSD card must have 1 kB free space at the beginning,
|
||||
# * U-Boot is dumped as is,
|
||||
# * a FAT partition at offset 16 MB is containing zImage and dtbs,
|
||||
# * a single root filesystem partition is required (Ext4 in this case).
|
||||
#
|
||||
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"imx6q-udoo.dtb",
|
||||
"imx6dl-udoo.dtb",
|
||||
"zImage"
|
||||
}
|
||||
}
|
||||
size = 16M
|
||||
}
|
||||
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition SPL {
|
||||
in-partition-table = "no"
|
||||
image = "SPL"
|
||||
offset = 1K
|
||||
}
|
||||
|
||||
partition u-boot {
|
||||
in-partition-table = "no"
|
||||
image = "u-boot.img"
|
||||
offset = 69K
|
||||
}
|
||||
|
||||
partition boot {
|
||||
partition-type = 0xC
|
||||
bootable = "true"
|
||||
image = "boot.vfat"
|
||||
offset = 16M
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
# CONFIG_USB is not set
|
||||
14
bsp/buildroot-2017.02.11/board/udoo/mx6qdl/post-image.sh
Executable file
14
bsp/buildroot-2017.02.11/board/udoo/mx6qdl/post-image.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg"
|
||||
GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
|
||||
|
||||
rm -rf "${GENIMAGE_TMP}"
|
||||
|
||||
genimage \
|
||||
--rootpath "${TARGET_DIR}" \
|
||||
--tmppath "${GENIMAGE_TMP}" \
|
||||
--inputpath "${BINARIES_DIR}" \
|
||||
--outputpath "${BINARIES_DIR}" \
|
||||
--config "${GENIMAGE_CFG}"
|
||||
17
bsp/buildroot-2017.02.11/board/udoo/mx6qdl/readme.txt
Normal file
17
bsp/buildroot-2017.02.11/board/udoo/mx6qdl/readme.txt
Normal file
@@ -0,0 +1,17 @@
|
||||
Udoo MX6Q/DL board
|
||||
|
||||
For information about MX6 Udoo boards:
|
||||
http://www.udoo.org/
|
||||
|
||||
To build a minimal support for these boards:
|
||||
|
||||
$ make mx6udoo_defconfig
|
||||
$ make
|
||||
|
||||
Buildroot prepares a bootable "sdcard.img" image in the output/images/
|
||||
directory, ready to be dumped on a micro SD card:
|
||||
|
||||
dd if=output/images/sdcard.img of=/dev/<your-microsd-device>
|
||||
|
||||
For details about the medium image layout, see the definition in
|
||||
board/udoo/mx6qdl/genimage.cfg.
|
||||
Reference in New Issue
Block a user