Comments (5)
In case helps if you had same problem as me after flashing following duhow instructions device is not booting and in serial console you get just Uncompressing Linux... done, booting the kernel.
you can unbrick the device with minicom.
after connect to power you need to instant press enter to stop the kernel booting (you only have 1second!!, be ready!) and boot on uboot shell.
then run:
sf probe
loady 0xC1000000 # after execute this Ctrl+A Z then upload file using "YMODEM protocol" choose your backup of mdt4
#the upload will take arround 15minutes (you will see a progress dialog)
#after finish at this point the backup is loaded at ram
#we need to erase first the sector of the flash we are going to rewrite.
sf erase 0x00460000 00b10000
sf write 0xC1000000 0x00460000 00b10000
#then reboot device
from wibox.
You are still able to use u-boot to attempt recover this (Hit Enter key to stop autoboot
) , although I don't have the commands to fully do it...
What firmware version do you have?
from wibox.
I tried to use inside bootu yload(ymodem) at the address where Mtd4 starts to upload the backup but after reboot same issue, not sure if i need to do something else to persist
from wibox.
Can you try flashing the original CRAMFS file?
Also you can try to update bootargs
and change init=/bin/sh
(just be sure to not saveenv
to not persist the changes, or undo them when finishing tests)
from wibox.
Yes in fact after the bricking I were trying to put the original CRAMFS file (the backup I did following your instructions)
So what you mention of replacing init then full command should be
setenv bootargs console=ttySGK2,115200 mem=52M init=/bin/sh root=/dev/mtdblock3 rootfstype=squashfs mtdparts=gk_flash:256K(uboot),64K(env),1920K(kernel),2240K(rootfs),11328K(usr),512K(mnt),64K(cfg);sf probe;sf read 0xc1000000 0x50000 0x1E0000;bootm 0xc1000000
seems same result on running /bin/sh could be that the console=ttySGK2 is not printing linux console on the serial port? in this case how I could identify which is the console?
thats the output
console init done
DRAM: 64 MiB
Flash: [XM25QH128A] USE 4X mode read and 4X mode write
16 MiB
NAND: [No SPI nand]
SF: 16 MiB [page:256 Bytes] [sector:64 KiB] [count:256] (XM25QH128A)
In: serial
Out: serial
Err: serial
Net: Int PHY
Hit Enter key to stop autoboot: 0
GK7102S # setenv bootargs console=ttySGK2,115200 mem=52M init=/bin/sh root=/dev/mtdblock3 rootfstype=squashfs mtdparts=gk_flash:256K(uboot),64K(env),1920K(kernel),2240
[PROCESS_SEPARATORS] setenv bootargs console=ttySGK2,115200 mem=52M init=/bin/sh root=/dev/mtdblock3 rootfstype=squashfs mtdparts=gk_flash:256K(uboot),64K(env),1920K(0
SF: 16 MiB [page:256 Bytes] [sector:64 KiB] [count:256] (XM25QH128A)
put param to memory
mem size (52)
total mem size (64)
bsb size (1)
usr size (0)
the kernel image is zImage or Image
entry = 0xc1000000
## Transferring control to Linux (at address c1000000)...
Starting kernel ...
machid = 3988 r2 = 0xc0000100
Uncompressing Linux... done, booting the kernel.
from wibox.
Related Issues (16)
- Any details on how Wi-Box talks to the VDS telephone? HOT 6
- Audio / Video feed? HOT 4
- any way to use wibox locally without reflashing? HOT 8
- It seems no console on V500.R001.A103.00.G021.B013 HOT 10
- make is broken HOT 1
- Source links in docs seems to be not available HOT 2
- Wi-box serial connection HOT 1
- build failed : cramfsck: stat failed: mtd4: no such file or directory
- mqtt did not send messange ding HOT 1
- Difficulties getting serial access HOT 8
- wibox_codes different HOT 1
- [Not an Issue] Mosquitto Client HOT 1
- can't open '/var/run/ifstate HOT 1
- any instructions how to properly install this? HOT 2
- MQTT HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wibox.