add cfgresetusb uboot script
This commit is contained in:
parent
e45c18b9b5
commit
c8f8ed8839
7
Makefile
7
Makefile
@ -89,7 +89,7 @@ endef
|
||||
all: kernel-axe-modules kernel
|
||||
|
||||
.PHONY: release
|
||||
release: kernel-axe-modules out/idl4k.scr out/idl4k.cfgreset out/idl4k.recovery
|
||||
release: kernel-axe-modules out/idl4k.scr out/idl4k.cfgreset out/idl4k.cfgresetusb out/idl4k.recovery
|
||||
-ls -la out
|
||||
|
||||
.PHONY: dist
|
||||
@ -151,6 +151,11 @@ out/idl4k.cfgreset: patches/uboot-cfgreset.script
|
||||
-n 'Reset satip-axe fw configuration' \
|
||||
-d patches/uboot-cfgreset.script out/idl4k.cfgreset
|
||||
|
||||
out/idl4k.cfgresetusb: patches/uboot-cfgresetusb.script
|
||||
$(TOOLPATH)/mkimage -T script -C none \
|
||||
-n 'Reset satip-axe fw configuration (USB)' \
|
||||
-d patches/uboot-cfgresetusb.script out/idl4k.cfgresetusb
|
||||
|
||||
out/idl4k.recovery: patches/uboot-recovery.script
|
||||
$(TOOLPATH)/mkimage -T script -C none \
|
||||
-n 'Restore original idl4k fw' \
|
||||
|
5
dist/README
vendored
5
dist/README
vendored
@ -102,7 +102,10 @@ Misc:
|
||||
Recovery from the wrong configuration:
|
||||
|
||||
- it works with firmware build 10 and later
|
||||
- copy idl4k.cfgreset file as idl4k.scr file to the root directory on the USB stick
|
||||
- for flashed firmware:
|
||||
- copy idl4k.cfgreset file as idl4k.scr file to the root directory on the USB stick
|
||||
- for firmare on the USB stick:
|
||||
- copy idl4k.cfgresetusb file as idl4k.scr file to the root directory on the USB stick
|
||||
- plug the USB stick to the upper USB port in box
|
||||
- turn on the box
|
||||
- the old configuration file is moved to /etc/sysconfig/config.old
|
||||
|
BIN
dist/idl4k.cfgresetusb
vendored
Normal file
BIN
dist/idl4k.cfgresetusb
vendored
Normal file
Binary file not shown.
3
patches/uboot-cfgresetusb.script
Normal file
3
patches/uboot-cfgresetusb.script
Normal file
@ -0,0 +1,3 @@
|
||||
fatload usb 0 $load_addr satip-axe-@VERSION@.fw
|
||||
set bootargs console=ttyAS0,115200 bigphysarea=20000 axecfg=reset
|
||||
bootm $load_addr
|
Loading…
Reference in New Issue
Block a user