configs/mangopi_mq1rdw1_defconfig: new defconfig
PATCH 1/1 configs/mangopi_mq1rdw1_defconfig: new defconfig
Add support for MangoPi MQ1RDW2:
https://mangopi.org/mqr
An Allwinner T113-S3(2xCortex-A7+128MB DDR3-1600 embedded) based SBC with:
* USB-OTG Type-C socket
* USB-HOST Type-C socket
* 2x 18 pin GPIO headers
* TF card slot
* RTL8723DS WiFi module with ext. antenna connector
* 40 pin RGB FPC connector
* 6 pin CTP FPC connector
* 24 pin DVP FPC connector
* onboard mic
* onboard audio amplifier
* FEL,reset button
--- DEVELOPERS | 2 + board/mangopi/mq1rdw2/genimage.cfg | 17 +++++++ board/mangopi/mq1rdw2/readme.txt | 46 +++++++++++++++++++ .../boot/extlinux/extlinux.conf | 4 ++ .../rootfs_overlay/etc/network/interfaces | 6 +++ .../rootfs_overlay/etc/wpa_supplicant.conf | 8 ++++ configs/mangopi_mq1rdw2_defconfig | 40 ++++++++++++++++ 7 files changed, 123 insertions(+) create mode 100644 board/mangopi/mq1rdw2/genimage.cfg create mode 100644 board/mangopi/mq1rdw2/readme.txt create mode 100644 board/mangopi/mq1rdw2/rootfs_overlay/boot/extlinux/extlinux.conf create mode 100644 board/mangopi/mq1rdw2/rootfs_overlay/etc/network/interfaces create mode 100644 board/mangopi/mq1rdw2/rootfs_overlay/etc/wpa_supplicant.conf create mode 100644 configs/mangopi_mq1rdw2_defconfig
DEVELOPERS +2 -0
@@ -1213,6 +1213,7 @@ N: Giulio Benetti <[email protected]> F: board/bananapi/bananapi-m2-ultra/ F: board/freescale/imx6ullevk/ F: board/freescale/imxrt1050evk/ +F: board/mangopi/mq1rdw2 F: board/olimex/a* F: board/pine64/rockpro64 F: configs/amarula_vyasa_rk3288_defconfig
@@ -1222,6 +1223,7 @@ F: configs/bananapi_m2_ultra_defconfig F: configs/freescale_imx6ullevk_defconfig F: configs/imx6ullevk_defconfig F: configs/imxrt1050-evk_defconfig +F: configs/mangopi_mq1rdw2_defconfig F: configs/olimex_a* F: configs/rockpro64_defconfig F: package/at/
board/mangopi/mq1rdw2/genimage.cfg new file +17 -0
@@ -0,0 +1,17 @@ +image sdcard.img { + hdimage { + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot-sunxi-with-spl.bin" + offset = 8K + size = 1016K # 1MB - 8KB + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + size = 512M + } +}
board/mangopi/mq1rdw2/readme.txt new file +46 -0
46 lines not on this page · raw message
board/mangopi/mq1rdw2/rootfs_overlay/boot/extlinux/extlinux.conf new file +4 -0
@@ -0,0 +1,4 @@ +label MANGOPI-MQ1RDW2 + kernel /boot/zImage + devicetree /boot/sun8i-t113s-mangopi-mq-r-t113.dtb + append console=ttyS3,115200 root=/dev/mmcblk0p1 rootwait panic=10 ${extra}
board/mangopi/mq1rdw2/rootfs_overlay/etc/network/interfaces new file +6 -0
@@ -0,0 +1,6 @@ +auto lo +iface lo inet loopback + +auto wlan0 +iface wlan0 inet dhcp +wpa-conf /etc/wpa_supplicant.conf
board/mangopi/mq1rdw2/rootfs_overlay/etc/wpa_supplicant.conf new file +8 -0
@@ -0,0 +1,8 @@ +ap_scan=1 + +network={ + ssid="YOURSSID" + scan_ssid=1 + key_mgmt=WPA-PSK + psk="YOURPASSWD" +}
configs/mangopi_mq1rdw2_defconfig new file +40 -0
@@ -0,0 +1,40 @@ +BR2_arm=y +BR2_cortex_a7=y +BR2_ARM_FPU_VFPV4=y +BR2_TARGET_GENERIC_HOSTNAME="mangopi-mq1rdw2" +BR2_TARGET_GENERIC_ISSUE="Welcome to MangoPI MQ1RDW2" +BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y +BR2_TARGET_GENERIC_GETTY_PORT="ttyS3" +BR2_SYSTEM_DHCP="eth0" +BR2_ROOTFS_OVERLAY="board/mangopi/mq1rdw2/rootfs_overlay" +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/mangopi/mq1rdw2/genimage.cfg" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.5" +BR2_LINUX_KERNEL_DEFCONFIG="sunxi" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun8i-t113s-mangopi-mq-r-t113" +BR2_LINUX_KERNEL_INSTALL_TARGET=y +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_PACKAGE_RTL8723DS=y +BR2_PACKAGE_WIRELESS_TOOLS=y +BR2_PACKAGE_WPA_SUPPLICANT=y +BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN=y +BR2_PACKAGE_WPA_SUPPLICANT_CLI=y +BR2_PACKAGE_WPA_SUPPLICANT_WPA_CLIENT_SO=y +BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +# BR2_TARGET_ROOTFS_TAR is not set +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.01-rc4" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="mangopi_mq_r" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" +BR2_PACKAGE_HOST_GENIMAGE=y
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedQuoted 17 lines · On Fri, 15 Dec 2023 22:30:19 +0100 Giulio Benetti…
Add support for MangoPi MQ1RDW2:
https://mangopi.org/mqrAn Allwinner T113-S3(2xCortex-A7+128MB DDR3-1600 embedded) based SBC with:
* USB-OTG Type-C socket
* USB-HOST Type-C socket
* 2x 18 pin GPIO headers
* TF card slot
* RTL8723DS WiFi module with ext. antenna connector
* 40 pin RGB FPC connector
* 6 pin CTP FPC connector
* 24 pin DVP FPC connector
* onboard mic
* onboard audio amplifier
* FEL,reset button
Quoted 1 line
Signed-off-by Giulio Benetti <[email protected]>
Applied, with minor changes.
DEVELOPERS N: Giulio Benetti <[email protected]> · line 1216
Quoted 9 lines
DEVELOPERS +1
-0@@ -1213,6 +1213,7 @@ N: Giulio Benetti <[email protected]> F: board/bananapi/bananapi-m2-ultra/ F: board/freescale/imx6ullevk/ F: board/freescale/imxrt1050evk/ +F: board/mangopi/mq1rdw2
^^^ missing final slash
DEVELOPERS N: Giulio Benetti <[email protected]>
Quoted 4 lines
DEVELOPERS +4
-0+ partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + size = 512M
The size is not needed: the partition will automatically take the size of the rootfs.ext4 image.
Thanks!
Thomas
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot