pekatete
|
|
December 20, 2014, 06:58:53 PM |
|
type help or -help or ? or anything!
|
|
|
|
|
|
|
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
|
|
|
|
nitrox1
Newbie
Offline
Activity: 28
Merit: 0
|
|
December 20, 2014, 07:25:36 PM |
|
type help or -help or ? or anything!
help worked
|
|
|
|
pekatete
|
|
December 20, 2014, 07:27:13 PM |
|
type help or -help or ? or anything!
help worked Now you know all the secrets .....
|
|
|
|
nitrox1
Newbie
Offline
Activity: 28
Merit: 0
|
|
December 20, 2014, 07:34:14 PM Last edit: December 20, 2014, 07:51:54 PM by nitrox1 |
|
type help or -help or ? or anything!
help worked Now you know all the secrets ..... type help or -help or ? or anything!
help worked Now you know all the secrets ..... Yeah fake - fake ? - alias for 'help' boot - boot default, i.e., run 'bootcmd' bootd - boot default, i.e., run 'bootcmd' bootm - boot application image from memory cp - memory copy erase - erase FLASH memory help - print online help httpboot- entering the backup mode. md - memory display mm - memory modify (auto-incrementing) mtest - simple RAM test mw - memory write (fill) nm - memory modify (constant address) ping - send ICMP ECHO_REQUEST to network host printenv- print environment variables progmac - Set ethernet MAC addresses reset - Perform RESET of the CPU run - run commands in an environment variable setenv - set environment variables tftpboot- boot image via network using TFTP protocol version - print monitor version still can't quite see where to get in: mtd -r erase rootfs_data I read that as mount a drive, erase drive, but then how do I get on a none corrupt firmware? MTD isn't even a recognised command!!!!? !!!??!?!?!?!?!?
|
|
|
|
pekatete
|
|
December 20, 2014, 08:02:15 PM |
|
Did you press enter as soon as you saw text scrolling to get to the prompt? You probably missed a step ..... try over again and copy & paste here all the text that is sent to the putty screen.
|
|
|
|
nitrox1
Newbie
Offline
Activity: 28
Merit: 0
|
|
December 20, 2014, 08:35:03 PM |
|
Did you press enter as soon as you saw text scrolling to get to the prompt? You probably missed a step ..... try over again and copy & paste here all the text that is sent to the putty screen.
Here is a second pastebin this is complete output: http://pastebin.com/hMDKtHihI hit p in boot to get to: U-Boot 1.1.4 (Apr 11 2013 - 01:45:00) U-boot for ELink, build by huangfc(QQ:343669866) Taobao:http://huangfc.taobao.com model:ELink M150 DRAM: 64 MB led turning on for 1s... id read 0x100000ff flash size 8388608, sector count = 128 Flash: 8 MB Using default environment In: serial Out: serial Err: serial Net: ag7240_enet_initialize... : cfg1 0x5 cfg2 0x7114 eth0: 00:03:7f:ff:ff:ff eth0 up : cfg1 0xf cfg2 0x7214 eth1: 00:03:7f:ff:ff:fe athrs26_reg_init_lan ATHRS26: resetting s26 ATHRS26: s26 reset done eth1 up eth0, eth1 Autobooting in 1 seconds,Press p to stop autoboot!! Easy-Link> Just need to get a non corrupt firmware on it.
|
|
|
|
pekatete
|
|
December 20, 2014, 09:02:41 PM Last edit: December 20, 2014, 09:23:01 PM by pekatete |
|
You do realise that the route you have taken will involve putting your bin file into a TFTP server and upload that to the control board? As you may have realised from your pastebin log, the OS / filesystem on your board is completely messed and can not start so the ONLY option is to upload / overwrite the bin file from a TFTP server - but we need to know whether you can connect to a network from that prompt.
EDIT: Seeing run is a command, did you try: run mtd -r erase rootfs_data
|
|
|
|
nitrox1
Newbie
Offline
Activity: 28
Merit: 0
|
|
December 20, 2014, 09:24:18 PM |
|
You do realise that the route you have taken will involve putting your bin file into a TFTP server and upload that to the control board? As you may have realised from your pastebin log, the OS / filesystem on your board is completely messed and can not start so the ONLY option is to upload / overwrite the bin file from a TFTP server - but we need to know whether you can connect to a network from that prompt.
Please please please, I have no idea what your talking about. I will use google. But can I please have a noob version, I not only think it will help me, but a few others too. Is there a way to go through the ethernet from the connection I can get? Is there a ping test I can do through the ethernet? it there a way to push through the serial connection I have going on? "reset" reset CPU will that help anything. Please, and thank you in advance. Edit : yes tried run mtd nada
|
|
|
|
pekatete
|
|
December 20, 2014, 09:30:08 PM |
|
Please please please, I have no idea what your talking about. I will use google. But can I please have a noob version, I not only think it will help me, but a few others too.
Honestly, I am trying to help you here and neither am I an expert at this. I did, though, have an instance a long while ago where I wanted to hack the router that my ISP had locked and, via google, got acquainted with this openwrt hacking stuff. So you'll have to bear with me as much as I am trying to recall the process; it can be done though, no doubt! The only difference with the S3 board is it does not seem to have the otherwise "standard" commands that I encountered on my jaunt ....
|
|
|
|
nitrox1
Newbie
Offline
Activity: 28
Merit: 0
|
|
December 20, 2014, 09:31:39 PM |
|
Please please please, I have no idea what your talking about. I will use google. But can I please have a noob version, I not only think it will help me, but a few others too.
Honestly, I am trying to help you here and neither am I an expert at this. I did, though, have an instance a long while ago where I wanted to hack the router that my ISP had locked and, via google, got acquainted with this openwrt hacking stuff. So you'll have to bear with me as much as I am trying to recall the process; it can be done though, no doubt! The only difference with the S3 board is it does not seem to have the otherwise "standard" commands that I encountered on my jaunt .... Sorry for the pressure, just a big brick next to me. Does this help: Easy-Link> ping 192.168.1.250 eth1 link down Using eth0 device host 192.168.1.250 is alive
|
|
|
|
pekatete
|
|
December 20, 2014, 09:36:05 PM |
|
Is there a way to go through the ethernet from the connection I can get? Is there a ping test I can do through the ethernet? it there a way to push through the serial connection I have going on? "reset" reset CPU will that help anything.
From your log, the ethernet seems to be up, so yes, you should be able to get a network connection. All you are left with is having the TFTP server up and flashing your image. It is a simple thing ..... here's a link: http://ftp://priede.bf.lu.lv/pub/OS/ruuteri/Lynksys/WRT54G/tftp.htmBut there are lots of articles on the web about this too, now what you are left with is setting up the TFTP server and flashing.
|
|
|
|
nitrox1
Newbie
Offline
Activity: 28
Merit: 0
|
|
December 20, 2014, 09:38:07 PM |
|
From your log, the ethernet seems to be up, so yes, you should be able to get a network connection. All you are left with is having the TFTP server up and flashing your image. It is a simple thing ..... here's a link: http://ftp://priede.bf.lu.lv/pub/OS/ruuteri/Lynksys/WRT54G/tftp.htmBut there are lots of articles on the web about this too, now what you are left with is setting up the TFTP server and flashing. Edit: does this help: Easy-Link> ping 192.168.1.250 eth1 link down Using eth0 device host 192.168.1.250 is alive Number 5 is alive edit: sorry link didn't work, but you wouldn't happen to be a polish biologist would you?
|
|
|
|
pekatete
|
|
December 20, 2014, 09:42:42 PM |
|
From your log, the ethernet seems to be up, so yes, you should be able to get a network connection. All you are left with is having the TFTP server up and flashing your image. It is a simple thing ..... here's a link: http://ftp://priede.bf.lu.lv/pub/OS/ruuteri/Lynksys/WRT54G/tftp.htmBut there are lots of articles on the web about this too, now what you are left with is setting up the TFTP server and flashing. Edit: does this help: Easy-Link> ping 192.168.1.250 eth1 link down Using eth0 device host 192.168.1.250 is alive Number 5 is alive edit: sorry link didn't work, but you wouldn't happen to be a polish biologist would you? Now we know you have a network connection, what is left is setting up the TFTP server, placing your firmware file in its public directory and flashing it. Here's another link on how to flash using a TFTP server: http://wiki.openwrt.org/doc/howto/generic.flashing.tftpEDIT: PS> Since you will not be flashing onto virgin hardware, you'll need to keep the serial onnected and interupting the boot process.
|
|
|
|
nitrox1
Newbie
Offline
Activity: 28
Merit: 0
|
|
December 20, 2014, 10:22:57 PM |
|
From your log, the ethernet seems to be up, so yes, you should be able to get a network connection. All you are left with is having the TFTP server up and flashing your image. It is a simple thing ..... here's a link: http://ftp://priede.bf.lu.lv/pub/OS/ruuteri/Lynksys/WRT54G/tftp.htmBut there are lots of articles on the web about this too, now what you are left with is setting up the TFTP server and flashing. Edit: does this help: Easy-Link> ping 192.168.1.250 eth1 link down Using eth0 device host 192.168.1.250 is alive Number 5 is alive edit: sorry link didn't work, but you wouldn't happen to be a polish biologist would you? Now we know you have a network connection, what is left is setting up the TFTP server, placing your firmware file in its public directory and flashing it. Here's another link on how to flash using a TFTP server: http://wiki.openwrt.org/doc/howto/generic.flashing.tftpEDIT: PS> Since you will not be flashing onto virgin hardware, you'll need to keep the serial onnected and interupting the boot process. OK, I'm flying by the seat of my pats here, I've gotten TFTP2.exe for windows (still not great at linux) It prepares files for flashing to IP addresses, as far as I can tell. I used my open I address .250, nothing then used command TFTPboot: to this output from putty: Easy-Link> tftpboot eth1 link down dup 1 speed 100 *** Warning: no boot file name; using '0101A8C0.img' Using eth0 device TFTP from server 192.168.1.100; our IP address is 192.168.1.1 Filename '0101A8C0.img'. Load address: 0x81000000 Loading: T T T T T T T T T T Retry count exceeded; starting again eth1 link down *** Warning: no boot file name; using '0101A8C0.img' Using eth0 device TFTP from server 192.168.1.100; our IP address is 192.168.1.1 Filename '0101A8C0.img'. Load address: 0x81000000 Loading: T T Which continues to cycle the "T"'s searching for an input. I tried IP 1.100 and IP 1.1 But it seems it's looking for a file called "0101A8C0.img" I renamed the .bin fie to this with no success. TFTP has a progress bar saying it has to erase first, but times out, on all files and IP addresses Edit: you mentioned virgin hardware, would the "erase - erase FLASH memory help?"
|
|
|
|
pekatete
|
|
December 20, 2014, 10:28:25 PM |
|
You are getting somewhere then .... What IP did you set for your PC (tftp server) and the control board? These are supposed to be the same and as far as I can recall, you can NOT be connected to the wider network (at least from what I recall, but I could be wrong on that).
|
|
|
|
nitrox1
Newbie
Offline
Activity: 28
Merit: 0
|
|
December 20, 2014, 10:36:01 PM |
|
You are getting somewhere then .... What IP did you set for your PC (tftp server) and the control board? These are supposed to be the same and as far as I can recall, you can NOT be connected to the wider network (at least from what I recall, but I could be wrong on that).
Them ALLLLLLL! I get no response from 1.250 which the ping said was alive. TFTP2.exe responds to 1.100 and 1.1, when I input to the S3 TFTPboot. But it's looking for an img file Know how to turn a .bin into a .img? Edit: .1.100 was it's pre brick IP address
|
|
|
|
pekatete
|
|
December 20, 2014, 11:02:39 PM |
|
You are getting somewhere then .... What IP did you set for your PC (tftp server) and the control board? These are supposed to be the same and as far as I can recall, you can NOT be connected to the wider network (at least from what I recall, but I could be wrong on that).
Them ALLLLLLL! I get no response from 1.250 which the ping said was alive. TFTP2.exe responds to 1.100 and 1.1, when I input to the S3 TFTPboot. But it's looking for an img file Know how to turn a .bin into a .img? Edit: .1.100 was it's pre brick IP address It is not a matter of turning a bin into an img file as the original upload takes the bin file. It may be a matter of simply changing the extension (or indeed telling the tftp server to look for a bin rather than img ... don't ask me how) Din you try and type in the run mtd .... command?
|
|
|
|
nitrox1
Newbie
Offline
Activity: 28
Merit: 0
|
|
December 20, 2014, 11:24:04 PM |
|
You are getting somewhere then .... What IP did you set for your PC (tftp server) and the control board? These are supposed to be the same and as far as I can recall, you can NOT be connected to the wider network (at least from what I recall, but I could be wrong on that).
Them ALLLLLLL! I get no response from 1.250 which the ping said was alive. TFTP2.exe responds to 1.100 and 1.1, when I input to the S3 TFTPboot. But it's looking for an img file Know how to turn a .bin into a .img? Edit: .1.100 was it's pre brick IP address It is not a matter of turning a bin into an img file as the original upload takes the bin file. It may be a matter of simply changing the extension (or indeed telling the tftp server to look for a bin rather than img ... don't ask me how) Din you try and type in the run mtd .... command? Yes, I did , won't except commands, run mtd, mtd, or erase rootfs_data
|
|
|
|
pekatete
|
|
December 20, 2014, 11:27:21 PM |
|
Yes, I did , won't except commands, run mtd, mtd, or erase rootfs_data
How do they fail? Is it verbose and if so, could you paste here? Also, run a printenv command and report back.
|
|
|
|
nitrox1
Newbie
Offline
Activity: 28
Merit: 0
|
|
December 20, 2014, 11:30:57 PM |
|
Yes, I did , won't except commands, run mtd, mtd, or erase rootfs_data
How do they fail? Is it verbose and if so, could you paste here? Also, run a printenv command and report back. Printenv: Easy-Link> printenv bootargs=console=ttyS0,115200 root=31:02 rootfstype=squashfs init=/sbin/init mtdparts=ar7240-nor0:128k(u-boot),1024k(kernel),6912(rootfs),64k(config),64k(ART) bootcmd=bootm 0x9f020000 bootdelay=1 baudrate=115200 ethaddr=0x00:0xaa:0xbb:0xcc:0xdd:0xee ipaddr=192.168.1.1 serverip=192.168.1.100 stdin=serial stdout=serial stderr=serial ethact=eth0 Environment size: 345/65532 bytes edit: list of tried commands: Easy-Link> run Usage: run - run commands in an environment variable Easy-Link> run mtd ## Error: "mtd" not defined Easy-Link> erase rootfs_data Usage: erase - erase FLASH memory Easy-Link> mtd Unknown command 'mtd' - try 'help' Easy-Link> run erase rootfs_data ## Error: "erase" not defined Easy-Link> help fake - fake ? - alias for 'help' boot - boot default, i.e., run 'bootcmd' bootd - boot default, i.e., run 'bootcmd' bootm - boot application image from memory cp - memory copy erase - erase FLASH memory help - print online help httpboot- entering the backup mode. md - memory display mm - memory modify (auto-incrementing) mtest - simple RAM test mw - memory write (fill) nm - memory modify (constant address) ping - send ICMP ECHO_REQUEST to network host printenv- print environment variables progmac - Set ethernet MAC addresses reset - Perform RESET of the CPU run - run commands in an environment variable setenv - set environment variables tftpboot- boot image via network using TFTP protocol version - print monitor version Easy-Link> httpboot eth1 link down eth1 link down uip init... http init... eth1 link down eth1 link down eth1 link down edit: Any way to use "mw" command, memory write command, then "bootm" command to boot from memory, to flash through GUI?
|
|
|
|
|