Skip to content

Commit 97ae843

Browse files
author
hyphop
committed
ver 0.3 + added VIM2
1 parent 376747c commit 97ae843

File tree

181 files changed

+5089
-237
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

181 files changed

+5089
-237
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
!.gitignore
2+
files/extra/bin
23
bin/*
34
bin.tmp/*
45
share/*

README.changes.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,24 @@
1-
# Khadas Vims OpenWrt rel 0.1
1+
# OpenWrt VIM Changes
2+
3+
## Khadas Vims OpenWrt rel 0.3
4+
5+
+ added support for VIM2 ( with wifi chip AP6356S VIM2.V14 tested )
6+
+ preinstalled samba, mdns, ttyd, thd + many other packages
7+
+ fix ethernet for VIM2, but still not possible reinit ethernet interface for VIM2
8+
+ improve startup speed - now is about 7 sec
9+
+ LEDs indicators - supported
10+
+ board buttons KEY_F KEY_P - custom usage KEY_F - reset wifi | KEY_P - power off
11+
+ initial optimization for Ethernet USB MMC subsystems
12+
+ many improves
13+
+ change default hostname to openwrt-vim + mdns name to: openwrt-vim.local
14+
15+
## Khadas Vims OpenWrt rel 0.2
16+
17+
+ usb 3g 4g modems - OK
18+
+ improve build scripts
19+
+ some changes
20+
21+
## Khadas Vims OpenWrt rel 0.1
222

323
it's a firt release for Khadas Vims boards
424

README.changes.txt

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,24 @@
1-
# Khadas Vims OpenWrt rel 0.1
1+
# OpenWrt VIM Changes
2+
3+
## Khadas Vims OpenWrt rel 0.3
4+
5+
+ added support for VIM2 ( with wifi chip AP6356S VIM2.V14 tested )
6+
+ preinstalled samba, mdns, ttyd, thd + many other packages
7+
+ fix ethernet for VIM2, but still not possible reinit ethernet interface for VIM2
8+
+ improve startup speed - now is about 7 sec
9+
+ LEDs indicators - supported
10+
+ board buttons KEY_F KEY_P - custom usage KEY_F - reset wifi | KEY_P - power off
11+
+ initial optimization for Ethernet USB MMC subsystems
12+
+ many improves
13+
+ change default hostname to openwrt-vim + mdns name to: openwrt-vim.local
14+
15+
## Khadas Vims OpenWrt rel 0.2
16+
17+
+ usb 3g 4g modems - OK
18+
+ improve build scripts
19+
+ some changes
20+
21+
## Khadas Vims OpenWrt rel 0.1
222

323
it's a firt release for Khadas Vims boards
424

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ openwrt for Khadas VIMs boards https://www.khadas.com/vim (Amlogic s905 s912 a31
77
## supported Boards
88

99
+ khadas vim1 - OK
10-
+ khadas vim2 - WIP - test mode
10+
+ khadas vim2 - OK (wifi chip AP6356S 02D0:4356 OK)
1111

1212
## Build
1313

@@ -32,9 +32,9 @@ just write iamge to SD card
3232

3333
```
3434
cd /tmp
35-
wget https://github.com/hyphop/khadas-openwrt/releases/download/0.1/vim1.OPENWRT.sd.img.gz || \
36-
wget https://dl.khadas.com/Firmware/VIM1/OpenWrt/vim1.OPENWRT.sd.img.gz
37-
gzip -dc vim1.OPENWRT.sd.img.gz | sudo dd bs=1M of=/dev/SD_PATH
35+
wget https://github.com/hyphop/khadas-openwrt/releases/download/0.1/VIM1.OPENWRT.sd.img.gz || \
36+
wget https://dl.khadas.com/Firmware/VIM1/OpenWrt/VIM1.OPENWRT.sd.img.gz
37+
gzip -dc VIM1.OPENWRT.sd.img.gz | sudo dd bs=1M of=/dev/SD_PATH
3838
sync
3939
```
4040

README.openwrt.vims.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
# Khadas OpenWrt Vim1
1+
# Khadas OpenWrt VIMs
22

33
openwrt https://openwrt.org/ for Khadas VIMs boards https://www.khadas.com/vim
44

5-
![Khadas vims openwrt](pics/khadas_vim1_openwrt.jpg)
5+
![Khadas VIM openwrt](pics/khadas_vim1_openwrt.jpg)
66

77
## supported Boards
88

9-
+ khadas vim1 - OK
10-
+ khadas vim2 - WIP - test mode
9+
+ khadas VIM1 - OK
10+
+ khadas VIM2 - OK
1111

1212
## Download Images
1313

@@ -21,12 +21,13 @@ openwrt https://openwrt.org/ for Khadas VIMs boards https://www.khadas.com/vim
2121
+ wan -> eth0 (dhcp)
2222
+ serial console enabled -> ttyAML0
2323
+ hdmi output -> tty0
24-
+ web interface http://vim.lan or http://172.23.0.1/
25-
+ ssh `root@vim.lan -p 22` or `root@172.23.0.1 -p 22`
24+
+ web luci http://openwrt-vim.local or http://172.23.0.1/
25+
+ web-terminal http://openwrt-vim.local:8088/ or http://172.23.0.1:8088/
26+
+ ssh `root@openwrt-vim.local -p 22` or `root@172.23.0.1 -p 22`
2627

2728
# LAN ip resolve to local openwrt hosts
2829

29-
172.23.0.1 openwrt.lan vim.lan
30+
172.23.0.1 openwrt-vim.local
3031

3132
# mDNS
3233

@@ -38,7 +39,7 @@ openwrt https://openwrt.org/ for Khadas VIMs boards https://www.khadas.com/vim
3839
+ blink led mode started if openwrt was successful loaded
3940
+ setup root password and wifi password at fist after installation!
4041
+ usb net connection enabled by default in bridge mode with LAN
41-
+ if vim device connected by usb cable to your pc u can have network access to LAN via usb-net without any extra configuration
42+
+ if VIM device connected by usb cable to your pc u can have network access to LAN via usb-net without any extra configuration
4243

4344
## Install
4445

@@ -114,3 +115,4 @@ NOTE: All previous EMMC data will be lost!!!
114115
## Build by
115116

116117
## hyphop ##
118+

README.openwrt.vims.txt

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
# Khadas OpenWrt Vim1
1+
# Khadas OpenWrt VIMs
22

33
openwrt https://openwrt.org/ for Khadas VIMs boards https://www.khadas.com/vim
44

5-
![Khadas vims openwrt](pics/khadas_vim1_openwrt.jpg)
5+
![Khadas VIM openwrt](pics/khadas_vim1_openwrt.jpg)
66

77
## supported Boards
88

9-
+ khadas vim1 - OK
10-
+ khadas vim2 - WIP - test mode
9+
+ khadas VIM1 - OK
10+
+ khadas VIM2 - OK
1111

1212
## Download Images
1313

@@ -21,12 +21,13 @@ openwrt https://openwrt.org/ for Khadas VIMs boards https://www.khadas.com/vim
2121
+ wan -> eth0 (dhcp)
2222
+ serial console enabled -> ttyAML0
2323
+ hdmi output -> tty0
24-
+ web interface http://vim.lan or http://172.23.0.1/
25-
+ ssh `root@vim.lan -p 22` or `root@172.23.0.1 -p 22`
24+
+ web luci http://openwrt-vim.local or http://172.23.0.1/
25+
+ web-terminal http://openwrt-vim.local:8088/ or http://172.23.0.1:8088/
26+
+ ssh `root@openwrt-vim.local -p 22` or `root@172.23.0.1 -p 22`
2627

2728
# LAN ip resolve to local openwrt hosts
2829

29-
172.23.0.1 openwrt.lan vim.lan
30+
172.23.0.1 openwrt-vim.local
3031

3132
# mDNS
3233

@@ -38,7 +39,7 @@ openwrt https://openwrt.org/ for Khadas VIMs boards https://www.khadas.com/vim
3839
+ blink led mode started if openwrt was successful loaded
3940
+ setup root password and wifi password at fist after installation!
4041
+ usb net connection enabled by default in bridge mode with LAN
41-
+ if vim device connected by usb cable to your pc u can have network access to LAN via usb-net without any extra configuration
42+
+ if VIM device connected by usb cable to your pc u can have network access to LAN via usb-net without any extra configuration
4243

4344
## Install
4445

@@ -114,3 +115,4 @@ NOTE: All previous EMMC data will be lost!!!
114115
## Build by
115116

116117
## hyphop ##
118+

files/.automount.no

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

files/docs/README.access.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,18 @@
66
+ wan -> eth0 (dhcp)
77
+ serial console enabled -> ttyAML0
88
+ hdmi output -> tty0
9-
+ web interface http://vim.lan
10-
+ ssh root@vim.lan -p 22
9+
+ web interface http://openwrt-vim.local
10+
+ web interface http://172.23.0.1.local
11+
+ ssh root@openwrt-vim.local -p 22
12+
+ ssh root@172.23.0.1 -p 22
1113

1214
# LAN ip resolve to local openwrt hosts
1315

14-
172.23.0.1 openwrt.lan vim.lan
16+
172.23.0.1 openwrt-vim.local
1517

1618
# mDNS
1719

20+
+ openwrt-vim.local
1821
+ OpenWrt._ssh._tcp.local
1922
+ OpenWrt._http._tcp.local
2023

files/docs/README.boot.from.sd.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@
44
+ If your EMMC is empty, openwrt will automatically boot from your SD card.
55
+ Else, Uboot will start from EMMC by default - it can boot from SD card, but only with the proper version and config!
66

7+
### VIM1 v14 (current) VIM2
8+
9+
Just triple-press `KEY_F` (middle button) to force SD bootup!
10+
711
### VIM1_v12 (old)
812

913
* Power on VIM1.
1014
* Short-circuit the two pads of the M register (back PCB side), and without releasing it… https://docs.khadas.com/images/vim1/MRegister_ShortCircuit.png
1115
* Short press the Reset key, then release it to force boot from SD card
1216
https://docs.khadas.com/vim1/HowtoBootIntoUpgradeMode.html#MRegister-Mode-Maskrom-Mode
1317

14-
### VIM1 v14 (current)
15-
16-
Just triple-press `KEY_F` (middle button) to force SD bootup!
17-
1818
## INSTALL to EMMC (internal storage)
1919

2020
* Write image to SD card.

files/docs/README.download.write.sd.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010

1111
```
1212
cd /tmp
13-
wget https://github.com/hyphop/khadas-openwrt/releases/download/0.1/vim1.OPENWRT.sd.img.gz
14-
gzip -dc vim1.OPENWRT.sd.img.gz | sudo dd bs=1M of=/dev/SD_PATH
13+
wget https://github.com/hyphop/khadas-openwrt/releases/download/0.1/VIM1.OPENWRT.sd.img.gz
14+
gzip -dc VIM1.OPENWRT.sd.img.gz | sudo dd bs=1M of=/dev/SD_PATH
1515
sync
1616
```
1717

1818
from mirrors
1919

2020
```
21-
wget https://dl.khadas.com/Firmware/VIM1/OpenWrt/vim1.OPENWRT.sd.img.gz
21+
wget https://dl.khadas.com/Firmware/VIM1/OpenWrt/VIM1.OPENWRT.sd.img.gz
2222
```
2323

0 commit comments

Comments
 (0)