Skip to content

Commit f3f8aa0

Browse files
committed
Adjust file directory
1 parent 5196182 commit f3f8aa0

14 files changed

Lines changed: 476 additions & 6 deletions

File tree

amlogic-s9xxx/README.cn.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,15 @@
66

77
## common-files
88

9-
- files: 这里存放的是 OpenWrt 固件的个性化配置文件,将在打包脚本 `sudo ./make` 执行时自动将相关文件集成到你的固件里。相关目录及文件命名均须与 OpenWrt 中 ROOTFS 分区 ( 即在 TTYD 终端里输入: `cd / && ls .` 你所看到的目录及各目录里面的文件名称 ) 保持完全一致。
9+
- rootfs: 这里存放的是 OpenWrt 固件的个性化配置文件,将在打包脚本 `sudo ./make` 执行时自动将相关文件集成到你的固件里。相关目录及文件命名均须与 OpenWrt 中 ROOTFS 分区 ( 即在 TTYD 终端里输入: `cd / && ls .` 你所看到的目录及各目录里面的文件名称 ) 保持完全一致。
1010

1111
```yaml
1212
etc/config/amlogic
1313
usr/sbin
1414
```
1515

16+
- bootfs: 这里存放的是 OpenWrt 系统中 `/boot` 目录下的个性化配置文件。
17+
1618
- patches: 这是补丁文件存放目录,你可以将扩展文件,魔改补丁等放置在该目录。具有详见 [patches](https://github.com/ophub/amlogic-s9xxx-openwrt/tree/main/amlogic-s9xxx/common-files/patches)
1719

1820
## 其他目录说明

amlogic-s9xxx/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,15 @@ Some files needed for compilation related to amlogic-s9xxx kernel are stored in
66

77
## common-files
88

9-
- files: Stored here is the personalized configuration file of the OpenWrt firmware, which will be automatically integrated into your firmware when the packaging script `sudo ./make` is executed. The names of related directories and files must be exactly the same as the ROOTFS partition in OpenWrt (that is, enter in the TTYD terminal: `cd / && ls .` The directories you see and the file names in each directory).
9+
- rootfs: Stored here is the personalized configuration file of the OpenWrt firmware, which will be automatically integrated into your firmware when the packaging script `sudo ./make` is executed. The names of related directories and files must be exactly the same as the ROOTFS partition in OpenWrt (that is, enter in the TTYD terminal: `cd / && ls .` The directories you see and the file names in each directory).
1010

1111
```yaml
1212
etc/config/amlogic
1313
usr/sbin
1414
```
1515

16+
- bootfs: This is the personalized configuration file in the `/boot` directory of the OpenWrt system.
17+
1618
- patches: The files in the [patches](https://github.com/ophub/amlogic-s9xxx-openwrt/tree/main/amlogic-s9xxx/common-files/patches) directory are patch files, which are integrated when build kernel files.
1719

1820
## Other directory descriptions
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
LINUX=/zImage
2+
INITRD=/uInitrd
3+
FDT=/dtb/amlogic/meson-g12b-gtking-pro.dtb
4+
APPEND=root=LABEL=ROOTFS rootfstype=btrfs rootflags=compress=zstd:6 console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
_______ ________ __
2+
| |.-----.-----.-----.| | | |.----.| |_
3+
| - || _ | -__| || | | || _|| _|
4+
|_______|| __|_____|__|__||________||__| |____|
5+
|__| W I R E L E S S F R E E D O M
6+
-------------------------------------------------------
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
2+
config amlogic 'config'
3+
option enable '1'
4+
option amlogic_firmware_repo 'https://github.com/ophub/amlogic-s9xxx-openwrt'
5+
option amlogic_firmware_tag 's9xxx_lede'
6+
option amlogic_firmware_suffix '.img.gz'
7+
option amlogic_kernel_path 'https://github.com/ophub/kernel/tree/main/pub/stable'
8+
option amlogic_kernel_branch ''
9+
option amlogic_firmware_config '1'
10+
option amlogic_write_bootloader '1'
11+
option amlogic_shared_fstype 'ext4'
12+
13+
config settings 'armcpu'
14+
option governor0 'schedutil'
15+
option minfreq0 '500000'
16+
option maxfreq0 '1512000'
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
config global
2+
option anon_swap '0'
3+
option anon_mount '1'
4+
option auto_swap '0'
5+
option auto_mount '1'
6+
option delay_root '5'
7+
option check_fs '0'
8+
9+
config mount
10+
option enabled '1'
11+
option target '/boot'
12+
option label 'BOOT'
13+
option fstype 'vfat'
14+
option enabled_fsck '1'
15+
16+
config mount
17+
option enabled '1'
18+
option target '/overlay'
19+
option label 'ROOTFS'
20+
option fstype 'btrfs'
21+
option options 'compress=zstd:6'
22+
option enabled_fsck '1'
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
LABEL=ROOTFS / btrfs compress=zstd:6 0 1
2+
LABEL=BOOT /boot vfat defaults 0 2
3+
#tmpfs /tmp tmpfs defaults,nosuid 0 0
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# 1.ID 2.MODEL 3.SOC 4.FDTFILE 5.UBOOT_OVERLOAD 6.MAINLINE_UBOOT 7.ANDROID_UBOOT 8.DESCRIPTION
2+
3+
# Amlogic GXL Family
4+
101:Phicomm N1:s905d:meson-gxl-s905d-phicomm-n1.dtb:u-boot-n1.bin:NA:/lib/u-boot/u-boot-2015-phicomm-n1.bin:4C@1512Mhz,2GB Mem,1Gb Nic,brcm43455 wifi
5+
102:Phicomm N1 (DMA thresh):s905d:meson-gxl-s905d-phicomm-n1-thresh.dtb:u-boot-n1.bin:NA:/lib/u-boot/u-boot-2015-phicomm-n1.bin:Same as above, when ethmac flow control is off
6+
103:hg680p & b860h:s905x:meson-gxl-s905x-p212.dtb:u-boot-p212.bin:NA:NA:4C@1512Mhz,100M Nic
7+
104:X96-Mini & TX3-Mini:s905w:meson-gxl-s905w-tx3-mini.dtb:u-boot-s905x-s912.bin:NA:NA:4C@1512Mhz,100M Nic
8+
105:MECOOL KI Pro:s905d:meson-gxl-s905d-mecool-ki-pro.dtb:u-boot-p201.bin:NA:NA:2G/16G,1Gb Nic
9+
10+
# Amlogic GXM Family
11+
201:Octopus Planet:s912:meson-gxm-octopus-planet.dtb:u-boot-zyxq.bin:NA:NA:4C@1512Mhz+4C@1000Mhz,2GB Mem,1Gb Nic
12+
202:H96 Pro Plus:s912:meson-gxm-octopus-planet.dtb:u-boot-zyxq.bin:NA:NA:2G/32G,1Gb Nic
13+
203:Tanix-TX92:s912:meson-gxm-octopus-planet.dtb:u-boot-zyxq.bin:NA:NA:3GB DDR4 32GB eMMC,1.5GHz,5G WIFI,1Gb Nic
14+
204:VORKE-Z6-Plus:s912:meson-gxm-octopus-planet.dtb:u-boot-zyxq.bin:NA:NA:3GB DDR3 32GB eMMC5.0,1.5Ghz,TF CARD Support 1~32GB,1Gb Nic
15+
205:MECOOL M8S Pro L:s912:meson-gxm-q201.dtb:u-boot-s905x-s912.bin:NA:NA:2G RAM,3G RAM,16G ROM,32G ROM,100M Nic
16+
17+
# Amlogic G12A Family
18+
301:X96 Max 4GB:s905x2:meson-g12a-x96-max.dtb:u-boot-x96max.bin:/lib/u-boot/x96max-u-boot.bin.sd.bin:NA:4C@1908Mhz,4GB Mem,1Gb Nic
19+
302:X96 Max 2GB:s905x2:meson-g12a-x96-max-rmii.dtb:u-boot-x96max.bin:/lib/u-boot/x96max-u-boot.bin.sd.bin:NA:4C@1908Mhz,2GB Mem,100M Nic
20+
303:MECOOL KM3 4G:s905x2:meson-g12a-sei510.dtb:u-boot-x96max.bin:/lib/u-boot/x96max-u-boot.bin.sd.bin:NA:4C@1908Mhz,4+64G/128G,2.4G/5G WiFi,Bluetooth 4.1,100M Nic
21+
304:E900V22C/D:s905l3a:meson-g12a-u200.dtb:u-boot-u200.bin:NA:NA:4C@1908Mhz,S905L3A+B,2+8G,USB2.0x2,LAN 100M Nic,uwe5621ds wifi(no work)
22+
23+
# Amlogic G12B Family
24+
401:Beelink GT-King:s922x:meson-g12b-gtking.dtb:u-boot-gtking.bin:/lib/u-boot/gtking-u-boot.bin.sd.bin:NA:2C@1800Mhz(A53)+4C@1908Mhz(A73),4GB Mem,1Gb Nic,brcm4356 wifi
25+
402:Beelink GT-King Pro:s922x:meson-g12b-gtking-pro.dtb:u-boot-gtkingpro.bin:/lib/u-boot/gtkingpro-u-boot.bin.sd.bin:NA:2C@1800Mhz(A53)+4C@1908Mhz(A73),4GB Mem,1Gb Nic,brcm4356 wifi
26+
403:Beelink GT-King Pro H:s922x:meson-g12b-gtking-pro-h.dtb:u-boot-gtkingpro.bin:/lib/u-boot/gtkingpro-u-boot.bin.sd.bin:NA:S922X-H,2C@1800Mhz(A53)+4C@2208Mhz(A73),4GB Mem,1Gb Nic,brcm4356 wifi
27+
404:Beelink GT-King Pro Rev_A:s922x:meson-g12b-gtking-pro.dtb:u-boot-gtkingpro-rev-a.bin:NA:NA:2C@1800Mhz(A53)+4C@1908Mhz(A73),4GB Mem,1Gb Nic,brcm4356 wifi
28+
405:Hardkernel ODroid N2:s922x:meson-g12b-odroid-n2.dtb:u-boot-gtkingpro.bin:/lib/u-boot/odroid-n2-u-boot.bin.sd.bin:NA:2C@1800Mhz(A53)+4C@1908Mhz(A73),4GB Mem,1Gb Nic
29+
406:UGOOS AM6 Plus:s922x:meson-g12b-ugoos-am6.dtb:u-boot-gtkingpro.bin:/lib/u-boot/gtkingpro-u-boot.bin.sd.bin:NA:2C@1800Mhz(A53)+4C@1908Mhz(A73),4GB Mem,1Gb Nic,brcm4398 wifi
30+
407:Khadas VIM3:a311d:meson-g12b-a311d-khadas-vim3.dtb:u-boot-gtkingpro.bin:/lib/u-boot/khadas-vim3-u-boot.sd.bin:NA:4C@2.2Ghz+2C@1.8Ghz,PCIe+USB 3.0,1Gb Nic,brcm4398 wifi
31+
32+
# Amlogic SM1 Family
33+
501:X96 Max+:s905x3:meson-sm1-x96-max-plus.dtb:u-boot-x96maxplus.bin:/lib/u-boot/x96maxplus-u-boot.bin.sd.bin:/lib/u-boot/hk1box-bootloader.img:4C@2100Mhz,4GB Mem,1Gb Nic,rtl8822cs wifi
34+
502:X96 Max+ (OverClock):s905x3:meson-sm1-x96-max-plus-oc.dtb:u-boot-x96maxplus.bin:/lib/u-boot/x96maxplus-u-boot.bin.sd.bin:/lib/u-boot/hk1box-bootloader.img:4C@2208Mhz,4GB Mem,1Gb Nic,rtl8822cs wifi
35+
503:HK1 Box:s905x3:meson-sm1-hk1box-vontar-x3.dtb:u-boot-x96maxplus.bin:/lib/u-boot/hk1box-u-boot.bin.sd.bin:NA:4C@2100Mhz,4GB Mem,1Gb Nic,brcm4339 wifi
36+
504:HK1 Box (OverClock):s905x3:meson-sm1-hk1box-vontar-x3-oc.dtb:u-boot-x96maxplus.bin:/lib/u-boot/hk1box-u-boot.bin.sd.bin:NA:4C@2208Mhz,4GB Mem,1Gb Nic,brcm4339 wifi
37+
505:H96 Max X3:s905x3:meson-sm1-h96-max-x3.dtb:u-boot-x96maxplus.bin:/lib/u-boot/h96maxx3-u-boot.bin.sd.bin:NA:4C@2100Mhz,4GB Mem,1Gb Nic,brcm4339 wifi
38+
506:H96 Max X3 (OverClock):s905x3:meson-sm1-h96-max-x3-oc.dtb:u-boot-x96maxplus.bin:/lib/u-boot/h96maxx3-u-boot.bin.sd.bin:NA:4C@2208Mhz,4GB Mem,1Gb Nic,brcm4339 wifi
39+
507:Ugoos X3:s905x3:meson-sm1-ugoos-x3.dtb:u-boot-ugoos-x3.bin:NA:NA:4C@2100Mhz,2(Cube)/4(Pro,Plus)GB Mem,1Gb Nic,brcm43455/43456 wifi
40+
508:Ugoos X3 (OverClock):s905x3:meson-sm1-ugoos-x3-oc.dtb:u-boot-ugoos-x3.bin:NA:NA:4C@2208Mhz,2(Cube)/4(Pro,Plus)GB Mem,1Gb Nic,brcm43455/43456 wifi
41+
509:TX3 1Gb:s905x3:meson-sm1-tx3-qz.dtb:u-boot-tx3-qz.bin:/lib/u-boot/x96maxplus-u-boot.bin.sd.bin::4C@2100Mhz,4GB Mem,1Gb Nic,bcm4330 wifi
42+
510:TX3 1Gb (OverClock):s905x3:meson-sm1-tx3-qz-oc.dtb:u-boot-tx3-qz.bin:/lib/u-boot/x96maxplus-u-boot.bin.sd.bin::4C@2208Mhz,4GB Mem,1Gb Nic,bcm4330 wifi
43+
511:TX3 100Mb:s905x3:meson-sm1-tx3-bz.dtb:u-boot-tx3-bz.bin:/lib/u-boot/x96maxplus-u-boot.bin.sd.bin::4C@2100Mhz,4GB Mem,100Mb Nic,bcm4330 wifi
44+
512:TX3 100Mb (OverClock):s905x3:meson-sm1-tx3-bz-oc.dtb:u-boot-tx3-bz.bin:/lib/u-boot/x96maxplus-u-boot.bin.sd.bin::4C@2208Mhz,4GB Mem,100Mb Nic,bcm4330 wifi
45+
513:X96 Air 1Gb:s905x3:meson-sm1-x96-air-gbit.dtb:u-boot-x96maxplus.bin:NA:NA:4C@2100Mhz,2GB Mem,1Gb Nic,Wifi
46+
514:X96 Air 100Mb:s905x3:meson-sm1-x96-air.dtb:u-boot-x96maxplus.bin:NA:NA:4C@2100Mhz,2GB Mem,100M Nic,Wifi
47+
515:A95XF3 Air 1Gb:s905x3:meson-sm1-a95xf3-air-gbit.dtb:u-boot-x96maxplus.bin:NA:NA:4C@2100Mhz,2GB Mem,1Gb Nic,Wifi
48+
516:A95XF3 Air 100Mb:s905x3:meson-sm1-a95xf3-air.dtb:u-boot-x96maxplus.bin:NA:NA:4C@2100Mhz,2GB Mem,100M Nic,Wifi
49+
50+
# Other
51+
0:Unknown:Other:Import-custom-dtb-file:NA:NA:NA:Enter the dtb file name of your box

amlogic-s9xxx/common-files/rootfs/usr/bin/jq

Whitespace-only changes.

amlogic-s9xxx/common-files/rootfs/usr/sbin/kmod

Whitespace-only changes.

0 commit comments

Comments
 (0)