mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
bump version to 2022.02.9
add miyoo_defconfig
This commit is contained in:
7
board/udoo/common/boot.scr.txt
Normal file
7
board/udoo/common/boot.scr.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
setenv finduuid "part uuid mmc 1:1 uuid"
|
||||
run finduuid
|
||||
run findfdt
|
||||
setenv bootargs "console=${console} root=PARTUUID=${uuid} rootwait rootfstype=ext4"
|
||||
load mmc 1:1 ${fdt_addr} boot/${fdtfile}
|
||||
load mmc 1:1 ${loadaddr} boot/zImage
|
||||
bootz ${loadaddr} - ${fdt_addr}
|
||||
3
board/udoo/common/post-build.sh
Executable file
3
board/udoo/common/post-build.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
cp $BINARIES_DIR/boot.scr $TARGET_DIR/boot/boot.scr
|
||||
@@ -1 +0,0 @@
|
||||
# CONFIG_USB is not set
|
||||
@@ -0,0 +1,26 @@
|
||||
[PATCH] ARM: dts: imx6qdl-udoo: Disable usbh1 to avoid kernel hang
|
||||
|
||||
Currently the kernel hangs when USB Host1 is enabled due to the lack of
|
||||
support for controlling the USB hub clock and GPIO reset line.
|
||||
|
||||
Peter Chen has made several attempts to fix this problem, but his series
|
||||
has not been applied yet, so better disable USB host1 for now to avoid
|
||||
the kernel hang.
|
||||
|
||||
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
|
||||
---
|
||||
|
||||
diff --git a/arch/arm/boot/dts/imx6qdl-udoo.dtsi b/arch/arm/boot/dts/imx6qdl-udoo.dtsi
|
||||
index 828dd20cd27d..c9e122865312 100644
|
||||
--- a/arch/arm/boot/dts/imx6qdl-udoo.dtsi
|
||||
+++ b/arch/arm/boot/dts/imx6qdl-udoo.dtsi
|
||||
@@ -292,7 +292,8 @@ &usbh1 {
|
||||
pinctrl-0 = <&pinctrl_usbh>;
|
||||
vbus-supply = <®_usb_h1_vbus>;
|
||||
clocks = <&clks IMX6QDL_CLK_CKO>;
|
||||
- status = "okay";
|
||||
+ /* currently USB support causes a kernel hang. Disable it for now */
|
||||
+ status = "disabled";
|
||||
};
|
||||
|
||||
&usbotg {
|
||||
@@ -14,4 +14,4 @@ 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.
|
||||
board/freescale/common/imx/genimage.cfg.template_no_boot_part_spl.
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
setenv finduuid "part uuid mmc 0:1 uuid"
|
||||
run finduuid
|
||||
run findfdt
|
||||
setenv bootargs "console=ttymxc0,115200 root=PARTUUID=${uuid} rootwait rootfstype=ext4"
|
||||
load mmc 0:1 ${fdt_addr} boot/${fdtfile}
|
||||
load mmc 0:1 ${loadaddr} boot/zImage
|
||||
bootz ${loadaddr} - ${fdt_addr}
|
||||
@@ -1,32 +0,0 @@
|
||||
# Minimal SD card image for the MX6SX Udoo Neo board
|
||||
#
|
||||
# The SD card must have at least 1 MB free at the beginning.
|
||||
# U-Boot and its environment are dumped as is.
|
||||
# A single root filesystem partition is required (Ext4 in this case).
|
||||
#
|
||||
# For details about the layout, see:
|
||||
# http://wiki.wandboard.org/index.php/Boot-process
|
||||
|
||||
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 rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
offset = 1M
|
||||
size = 512M
|
||||
}
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
|
||||
install -d -m 755 $TARGET_DIR/boot
|
||||
$HOST_DIR/bin/mkimage -A arm -O linux -T script -C none \
|
||||
-n "boot script" -d $BOARD_DIR/boot.scr.txt $TARGET_DIR/boot/boot.scr
|
||||
@@ -1,15 +0,0 @@
|
||||
#!/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}"
|
||||
|
||||
@@ -13,4 +13,4 @@ directory, ready to be dumped on an 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/neo/genimage.cfg.
|
||||
board/freescale/common/imx/genimage.cfg.template_no_boot_part_spl.
|
||||
|
||||
Reference in New Issue
Block a user