Difference between revisions of "Install prebuild OpenWrt on LS1046ARDB"
From ESS-WIKI
(Created page with "== Commands == <syntaxhighlight lang="bash">#Linux host #download OpenWrt prebuild image wget tftp $load_addr openwrt-18.06.8-layerscape-armv8_32b-ls1046ardb-ubifs-firmware...") |
|||
Line 13: | Line 13: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
− | + | # at ls1046ardb Device COM | |
# openwrt-18.06.8-layerscape-armv8_32b-ls1046ardb-ubifs-firmware.bin 燒入qspi bank4 | # openwrt-18.06.8-layerscape-armv8_32b-ls1046ardb-ubifs-firmware.bin 燒入qspi bank4 | ||
Latest revision as of 08:03, 17 September 2021
Commands
#Linux host
#download OpenWrt prebuild image
wget tftp $load_addr openwrt-18.06.8-layerscape-armv8_32b-ls1046ardb-ubifs-firmware.bin
#copy image to tftp folder
cp openwrt-18.06.8-layerscape-armv8_32b-ls1046ardb-ubifs-firmware.bin /tftpboot/
# at ls1046ardb Device COM
# openwrt-18.06.8-layerscape-armv8_32b-ls1046ardb-ubifs-firmware.bin 燒入qspi bank4
=> cpld reset
=> setenv serverip 172.22.31.153
=> dhcp
=> ping 172.22.31.153
=> tftp $load_addr openwrt-18.06.8-layerscape-armv8_32b-ls1046ardb-ubifs-firmware.bin
=> sf probe 0:1
=> sf erase 0 +$filesize && sf write $load_addr 0 $filesize
=> cpld reset altbank
# boot to OpenWrt
ifconfig br-lan 172.22.28.193 netmask 255.255.252.0
#you may connet to Web UI by http://172.22.28.193/
Reference Link
https://github.com/openwrt/openwrt/tree/openwrt-21.02