Most of the work is done and I'm just doing some fine tuning for V-80 and V-81.
compiled images:
source:
Changes
- add support for V-81
- SFP port works
- port-side LED pairs of "DMZ" ports (RJ-45/SFP) needs to be switched manually (&cp0_gpio2, pin7, High: RJ45 <---> Low: SFP)
- SFP port works
- drop usb.img.gz image
- use sdcard.img.gz for USB storage instead
- don't connect SD card and USB storage that has the OpenWrt image of the same revision at the same time (they have the same PARTUUID and conflicts while booting and sysupgrade)
- add "WiFi" and other LEDs that have no holes on the case
- populated on the PCB, but...
- move setting up of bootargs to bootscript
- to reduce bootcmd
- and other cleanups, improvements...
bootcmd
-
add:
bootcmd_ow_usb
:'usb start; load usb 0:1 ${loadaddr} boot.scr && source ${loadaddr}'
bootcmd_ow_sd
:'load mmc 0:1 ${loadaddr} boot.scr && source ${loadaddr}'
bootcmd_ow_emmc
:'run set_mmc_internal; mmc read ${loadaddr} ${prim_header_mmc_blk} 4 && source ${loadaddr}'
-
edit:
bootcmd
:'run bootcmd_ow_usb; run bootcmd_ow_sd; run bootcmd_ow_emmc; run bootcmd_part${activePartition};'
- note:
set cp_quiet
andrun set_bootargs_vx
were moved to bootscript - step: USB ---> SD ---> eMMC (OpenWrt) ---> eMMC (stock)
- note: