Go Down

Topic: yun shield already bricked? (no yust needed to reflash) (Read 2852 times) previous topic - next topic

Jantje

I have a yun shield in my robot and it stopped working. I replaced the yun shield with another one I have and my robot works again.
As linux does not seem to boot (only the green power light is on and the white led never turns on), I'm trying to debrick the yun shield. I put the shield on a leonardo and uploaded the "yun serial terminal" sketch I found here. https://www.arduino.cc/en/Tutorial/YunSerialTerminal

This is the output I get
Code: [Select]
[    7.320000] random: mktemp urandom read with 11 bits of entropy available
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[   10.440000] mount_root: loading kmods from internal overlay
[   10.830000] jffs2: error: (394) jffs2_build_inode_pass1: child dir "#83456aa0" (ino #95) of dir ino #72 appears to be a hard link
[   10.840000] jffs2: notice: (394) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   10.850000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[   10.860000] block: extroot: not configured
[   10.940000] jffs2: error: (391) jffs2_build_inode_pass1: child dir "#83456aa0" (ino #95) of dir ino #72 appears to be a hard link
[   10.940000] jffs2: notice: (391) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   10.950000] jffs2: warning: (391) jffs2_get_inode_nodes: Eep. No valid nodes for ino #95.
[   10.950000] jffs2: warning: (391) jffs2_do_read_inode_internal: no data nodes found for ino #95
[   10.960000] jffs2: iget() failed for ino #95
[   11.150000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[   11.160000] block: extroot: not configured
[   11.160000] mount_root: switching to jffs2 overlay
[   11.190000] jffs2: warning: (401) jffs2_get_inode_nodes: Eep. No valid nodes for ino #95.
[   11.190000] jffs2: warning: (401) jffs2_do_read_inode_internal: no data nodes found for ino #95
[   11.190000] jffs2: iget() failed for ino #95
/etc/preinit: line 1: cat: Input/output error
[   11.200000] jffs2: warning: (403) jffs2_get_inode_nodes: Eep. No valid nodes for ino #95.
[   11.210000] jffs2: warning: (403) jffs2_do_read_inode_internal: no data nodes found for ino #95
[   11.210000] jffs2: iget() failed for ino #95
/etc/preinit: line 1: cat: Input/output error
[   11.220000] jffs2: warning: (404) jffs2_get_inode_nodes: Eep. No valid nodes for ino #95.
[   11.220000] jffs2: warning: (404) jffs2_do_read_inode_internal: no data nodes found for ino #95
[   11.230000] jffs2: iget() failed for ino #95
/etc/preinit: line 1: grep: Input/output error
[   11.230000] jffs2: warning: (1) jffs2_get_inode_nodes: Eep. No valid nodes for ino #95.
[   11.230000] jffs2: warning: (1) jffs2_do_read_inode_internal: no data nodes found for ino #95
[   11.240000] jffs2: iget() failed for ino #95
[   81.770000] random: nonblocking pool is initialized


This doesn't help me any further. Someone has A clue what I can do?
Best regards
Jantje
Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

Jantje

I contacted support and they told me to
Quote
in case you want to try the to flash only the OpenWRT image, once you have set up the TFTP server on your PC and you are in U-boot the command to execute is the following:

tftp 0x80060000 openwrt-ar71xx-generic-yun-rootfs-squashfs.bin;erase 0x9f050000 +0xE50000; cp.b $fileaddr 0x9f050000 $filesize

There is no risk to permanently brick the shield. Unfortunately the log you posted is referred to something that didn't happened before to us and would be hard to replicate.
Howevere, I've forwarded your report to our OpenWRT expert and  I'll be back to you if he will provide any feedback.
I followed the instructions on this page https://www.arduino.cc/en/Tutorial/YunUBootReflash to get in the U-boot and set the IP adresses and ran the command.
My yun works again :-)
Best regards
Jantje
Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

Go Up