Initial Commit
- initial default booting image
This commit is contained in:
16
board/mangopi/mq1rdw2/genimage.cfg
Normal file
16
board/mangopi/mq1rdw2/genimage.cfg
Normal file
@@ -0,0 +1,16 @@
|
||||
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"
|
||||
}
|
||||
}
|
||||
1
board/mangopi/mq1rdw2/patches/linux-headers/linux-headers.hash
Symbolic link
1
board/mangopi/mq1rdw2/patches/linux-headers/linux-headers.hash
Symbolic link
@@ -0,0 +1 @@
|
||||
../linux/linux.hash
|
||||
2
board/mangopi/mq1rdw2/patches/linux/linux.hash
Normal file
2
board/mangopi/mq1rdw2/patches/linux/linux.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
|
||||
sha256 37f0c5d5c242c1d604e87d48f08795e861a5a85f725b4ca11d0a538f12ff8cff linux-6.18.8.tar.xz
|
||||
2
board/mangopi/mq1rdw2/patches/uboot/uboot.hash
Normal file
2
board/mangopi/mq1rdw2/patches/uboot/uboot.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 b60d5865cefdbc75da8da4156c56c458e00de75a49b80c1a2e58a96e30ad0d54 u-boot-2026.01.tar.bz2
|
||||
46
board/mangopi/mq1rdw2/readme.txt
Normal file
46
board/mangopi/mq1rdw2/readme.txt
Normal file
@@ -0,0 +1,46 @@
|
||||
MangoPi MQ1RDW2
|
||||
===============
|
||||
|
||||
MangoPi MQ1RDW2 is a tiny ARM Cortex-A7 based single board computer.
|
||||
It's built around Allwinner T113-S3 dual core 1GHz CPU with integrated
|
||||
128MB DDR3-1600 RAM.
|
||||
Board features:
|
||||
- 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
|
||||
|
||||
How to build
|
||||
============
|
||||
|
||||
$ make mangopi_mq1rdw2_defconfig
|
||||
$ make
|
||||
|
||||
Wifi
|
||||
==========
|
||||
|
||||
Edit board/mangopi/mq1rdw2/overlay/etc/wpa_supplicant.conf or
|
||||
/etc/wpa_supplicant.conf once connected to the board:
|
||||
|
||||
* Replace YOURSSID with your AP ssid
|
||||
* Replace YOURPASSWD with your AP password
|
||||
|
||||
How to write the SD card
|
||||
========================
|
||||
|
||||
Once the build process is finished you will have an image called "sdcard.img"
|
||||
in the output/images/ directory.
|
||||
|
||||
Copy the bootable "sdcard.img" onto an SD card with "dd":
|
||||
|
||||
$ sudo dd if=output/images/sdcard.img of=/dev/sdX
|
||||
|
||||
Connect a TTL UART to the UART3 on P8 header (unpopulated), insert the microSD card and
|
||||
plug in a USB-C cable to the OTG or HOST connector to boot the system.
|
||||
@@ -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}
|
||||
@@ -0,0 +1,6 @@
|
||||
auto lo
|
||||
iface lo inet loopback
|
||||
|
||||
auto wlan0
|
||||
iface wlan0 inet dhcp
|
||||
wpa-conf /etc/wpa_supplicant.conf
|
||||
@@ -0,0 +1,8 @@
|
||||
ap_scan=1
|
||||
|
||||
network={
|
||||
ssid="YOURSSID"
|
||||
scan_ssid=1
|
||||
key_mgmt=WPA-PSK
|
||||
psk="YOURPASSWD"
|
||||
}
|
||||
Reference in New Issue
Block a user