| Products > Test Equipment |
| Agilent E7495 linux root account |
| << < (37/91) > >> |
| DogP:
Ah... if it never actually gets to the yes/no, then it's probably not actually doing any sort of reinstall. I think you want to do switch 1 and 4 off, switch 2 and 3 on, as described in the manual. I believe that will reconfigure the board to boot Linux from the PCMCIA card, rather than internal flash. With the firmware upgade CF card in a PCMCIA adapter in the PCMCIA slot, it should boot. You mentioned that you get a debug menu over the serial port... does nothing show up on the screen when you do that? And the debug menu is all you can do... there's no way to log into a terminal over the serial port? One thing you might want to try is the OLD firmware version (1.60) that's still available on the Keysight website: http://www.keysight.com/main/software.jspx?ckey=sw411&lc=eng&cc=US&nid=-11143.0.00&id=sw411 . In the root of that zip is a script called reloadFFS, which does a reinstall. In version 6.25, that file exists, but is empty. This might be the key difference between the instructions and what you're seeing. There's also readme describes how to use it. --- Quote ---This contains directions on how to recover a /flash file system that has been corrupted. WARNING: DO NOT DO THIS UNLESS ABSOLUTELY NECESSARY! IF YOU'RE NOT SURE, DON'T DO IT. To use reloadFFS: - Boot the elgato - Log in as root through the serial port - This assumes that you can log in. If you can't then this won't work. - If you must log in through telnet follow "Log in through telnet" instructions below. - Install PCMCIA card - "mount /xdrive" - "sh /xdrive/reloadFFS" - Follow instructions given by script Log in through telnet: - Log in as root - mv /etc/passwd.old /etc/passwd - mv /flash/linux /flash/linux- - reboot -f - After reboot is complete (30 seconds or more) log back in as root - Continue instructions above --- End quote --- Pat |
| TheSteve:
I don't have an E7495A but I do have the close cousin the N1996A. Firmware updates on it are generally done via USB. If you have a failure during flashing there is an internal PCMCIA slot that can be used to recover the unit. The instructions do say a CF card is supported via an adapter. You do need a different image compared to the USB image though which has the update and a boot image with a kernel etc. Is there a special PCMCIA image for the E7495? And if so does it also have cmdline.txt, ramdisk.gz, register.txt, version and zImage? If you don't have those files check out the USB and PCMCIA updates from the N1996A - maybe you can borrow the needed boot files. |
| kirill_ka:
--- Quote from: lectrohamlincoln on April 22, 2017, 12:52:10 am ---With DIP switch set to 1&2 I get the same error message on the bottom of the screen: "Kernel Panic: No init found. Try passing init= option to kernel" --- End quote --- It means that flash filesystem is corrupt (because of software error, or flash is failing). I can't imagine how other hardware problem can prevent linux from finding init executable. --- Quote from: lectrohamlincoln on April 22, 2017, 12:52:10 am ---I wish we had a board level Maintenance Manual. I just have a feeling that Red LED means somethings gone bad. I was able to find this brief BOOT ROM manual that seems to correspond to the E7495 http://support.eurotech-inc.com/developers/linux/files/boot/bootrom.pdf --- End quote --- "Then 2 & 3 ON Copy any/all of zImage, ramdisk.gz and flashfs1 file to Flash ROM and copy zImage & ramdisk.gz from Flash ROM to RAM and Boot from RAM" It's clear that it expects zImage and ramdisk.gz on the card. Note that bootloaders a quite picky about filesystem format. Some require fat16 for example. Hopefully it would say something if it can't read the files. |
| lectrohamlincoln:
The filesystem is definitely corrupted. Most likely the ram disk is corrupted in a way that the kernel can't load it. The start-up log has the following, "RAMDISK: Couldn't find valid RAM disk image starting at 0" (I can copy the entire boot log if anyone is curious) The 1.60 firmware did not work. It definitely detects the PCMCIA when DIP 2&3 are set, but does not boot from it. It just gets to Serial Terminal with a the menu options I described in the previous post. I'm a little confused by the 1.60 directions. What does it mean by "To use reloadFFS: - Boot the elgato" Is "elgato" just referring to the E7495? Does anyone know how to recover from a corrupted filesystem? The only ideas I have right now are to use the Serial Terminal menu to load in data at 38400 baud, or to find a JTAG header for the SA1100 chip. In either case I'm not sure what I would load, or even what address I would load it to :-\ |
| DogP:
Yeah, I don't think loading memory locations is gonna help, since it's very unlikely that the flash is simply fully memory mapped to the CPU. Have you tried plugging it into the network to see if you can telnet into it when you boot from the PCMCIA slot? Obviously you'll need to check your router to see if DHCP gave out an IP address. And if it is booting from PCMCIA, then another possibility is modifying the ramdisk file on the card. You should be able to un-gzip the ramdisk.gz and mount the ramdisk (on Linux of course). Then make changes (i.e. automatically run upgrade scripts, give you a terminal over the serial port instead of the debug menu, etc.), re-gzip the file and put it back on the card. When you run from the PCMCIA slot, does you see any of the boot process on the screen, or does it stay blank? And yeah, elgato is their name for the E7495. Pat |
| Navigation |
| Message Index |
| Next page |
| Previous page |