diff options
author | YuheiOKAWA <tochiro.srchack@gmail.com> | 2018-10-05 01:08:51 +0900 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2018-10-28 10:59:14 +0100 |
commit | 27eae6597e5f1570f2f0a8584907b077e724a0e1 (patch) | |
tree | 91865cc6958f3977acf93dd1918ce6e7b0a0c853 /target/linux/ath79/base-files | |
parent | 23f9b2d9a981c61b7166557febde31778d13b86f (diff) | |
download | upstream-27eae6597e5f1570f2f0a8584907b077e724a0e1.tar.gz upstream-27eae6597e5f1570f2f0a8584907b077e724a0e1.tar.bz2 upstream-27eae6597e5f1570f2f0a8584907b077e724a0e1.zip |
ath79: add support for PQI Air Pen
SoC: AR9330 (or AR9331 revision?)
Ethernet x1, Wireless 2.4G, uSD card slot x1.
USB Power, include Li-Po Battery.
Flash 8MiB. (factory is dual image)
1. write image is use half 4MiB size from factory.
write initramfs image to mtd6 and mtd7.
2. change next boot setting. next is mtd6 boot.
echo -ne "\x01" | dd of=/dev/mtdblock8 conv=notrunc bs=1 count=1 seek=0
3. rewrite sysupgrade image.
change next boot setting. next is mtd4.
echo -ne "\x00" | dd of=/dev/mtdblock8 conv=notrunc bs=1 count=1 seek=0
OEM mtd.
dev: size erasesize name
mtd0: 00040000 00010000 "u-boot"
mtd1: 00010000 00010000 "u-boot-env"
mtd2: 00010000 00010000 "ART"
mtd3: 00010000 00010000 "NVRAM"
mtd4: 00140000 00010000 "uImage"
mtd5: 00280000 00010000 "rootfs"
mtd6: 00140000 00010000 "uImage2"
mtd7: 00280000 00010000 "rootfs2"
mtd8: 00010000 00010000 "CONF"
Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com>
Diffstat (limited to 'target/linux/ath79/base-files')
-rwxr-xr-x | target/linux/ath79/base-files/etc/board.d/02_network | 1 | ||||
-rw-r--r-- | target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ath79/base-files/etc/board.d/02_network b/target/linux/ath79/base-files/etc/board.d/02_network index b4699933da..5f02c5769a 100755 --- a/target/linux/ath79/base-files/etc/board.d/02_network +++ b/target/linux/ath79/base-files/etc/board.d/02_network @@ -14,6 +14,7 @@ ath79_setup_interfaces() ocedo,raccoon|\ pcs,cap324|\ pisen,wmm003n|\ + pqi,air-pen|\ tplink,re450-v2|\ tplink,tl-mr10u|\ tplink,tl-mr3020-v1|\ diff --git a/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom b/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom index 30de434ae1..020abe2913 100644 --- a/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom +++ b/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom @@ -146,6 +146,9 @@ case "$FIRMWARE" in ubnt,rocket-m) ath9k_eeprom_extract "art" 4096 4096 ;; + pqi,air-pen) + ath9k_eeprom_extract "art" 4096 2002 + ;; ubnt,unifi) ath9k_eeprom_extract "art" 4096 2048 ;; |