11-08-2011, 04:53 PM | #91 |
Guru
Posts: 733
Karma: 443
Join Date: May 2011
Location: UK
Device: Pocket Edgex2(1unborked), Alex, Nook B&W, Nook Color, Nook STR
|
got there in the end.
you have to make sure tftpd is installed (which was not on mine, also repository needs updated). also you have to have a serial terminal on. which I did by doing sudo apt-get install screen and than screen /dev/ttyS0 115200 It is doing something but seems slow for loading a 200k file over serial. MARVELL PXAXXX series. Based on 88SV331xV5 Core with ARM926 LE CPU. Code original base is u-boot-arm 2009.01-rc1. DRAM: 512 MB NAND: detect chip id d7ec on cs 0, Samsung 32Gibx8 SPI NOR: SF: Got idcode c2 20 17 c2 20 SF: Detected MX25L6405D with page size 256, total 8388608 bytes In: serial Out: serial Err: serial Net: u2o-eth Hit any key to stop autoboot: 0 EdgeJr>> EdgeJr>> tftp 0x7D00000 ramdisk.android.gz.crc ***** Plug-in USB cable & config usbdnet now ****** exit check_usb_connection:1 Using u2o-eth device TFTP from server 192.168.2.100; our IP address is 192.168.2.101 Filename 'ramdisk.android.gz.crc'. Load address: 0x7d00000 Loading: usbep0: unkown string index 238 Stall. T T T T T T T T T T it is normal to stay for so long (i am on 15 minutes now) and still T T T .,,,? |
11-11-2011, 06:10 AM | #92 |
Fun-ologist
Posts: 41
Karma: 10
Join Date: Oct 2011
Device: Pocket Edge, Galaxy S
|
Sorry about the wait. Did you set the IP of the new network device to 192.168.2.100 ?
When you start tftp the PE connects a network device over USB. I bought a new PE and I am waiting on it to get her so I can start building custom roms for this beauty. -- Jim |
Advert | |
|
11-11-2011, 09:08 AM | #93 |
Guru
Posts: 733
Karma: 443
Join Date: May 2011
Location: UK
Device: Pocket Edgex2(1unborked), Alex, Nook B&W, Nook Color, Nook STR
|
yes.
this is puzzling me Load address: 0x7d00000 Loading: usbep0: unkown string index 238 Stall seems is not ok here. and the TTTTTT never finish loading the ramdisk.android.gz.crc any suggestions? |
11-11-2011, 09:37 AM | #94 | |
Enthusiast
Posts: 25
Karma: 10
Join Date: Jun 2010
Device: Kindle
|
Quote:
Thanks all. (I might have posted this in the wrong thread originally.) Last edited by flyred77; 11-11-2011 at 09:57 AM. Reason: Wrong thread. |
|
11-11-2011, 01:24 PM | #95 |
Guru
Posts: 733
Karma: 443
Join Date: May 2011
Location: UK
Device: Pocket Edgex2(1unborked), Alex, Nook B&W, Nook Color, Nook STR
|
flyred> have you loaded tftp server on ubuntu? than loaded the ram image than the update.zip?
I can boot the serial to u-boot, I can get the edited update.zip but will not load, rebooting after 16% as per my log. any chance you publish your recovery procedure step by step for us the mortals here. |
Advert | |
|
11-11-2011, 06:39 PM | #96 |
Fun-ologist
Posts: 41
Karma: 10
Join Date: Oct 2011
Device: Pocket Edge, Galaxy S
|
The PE and your Linux seem not to be communicating over the USB network interface. Plug it up, and run the TFTP command. Once you launch it, run a ping from Linux terminal.
ping 192.168.2.101 and see of they are able to communicate. It looks to me like the TFTP is just waiting for a connection. Linux should be 192.168.2.100 and the PE is set to 192.168.2.101 in the system variables. -- Jim |
11-14-2011, 12:13 AM | #97 |
Connoisseur
Posts: 90
Karma: 1059
Join Date: Sep 2011
Location: Canada
Device: OnyxBook M96, enTourage Pocket eDGe (retired)
|
Hi Vicinc!
Edit: Never mind, the TFTP you managed to get working is probably safer. :-) But I do think it might be possible to make a flasher that will run from the regular system... BIG FAT WARNING: This is untested, product of a mind that should be going to bed and not thinking about this, and has the potential to uber-bork a device if any of the commands or arguments are wrong. I CANNOT GUARANTEE IT WILL WORK, OR THAT IT WILL EVEN LEAVE YOUR DEVICE AS IS AND NOT WORSE (sorry for the shouting, but it is important). If you're still desperate enough to be willing to try this probably hare-brained idea, you could try to copy the files from the attachment to your device (unzip them first). Then, as root, in a terminal go to the directory and run the following commands: # ./flash_erase /dev/mtd5 0x00100000 48 # ./nandwrite -s 0x00100000 -p /dev/mtd5 ramdisk.maint.gz I have included the Dingo maintenance ramdisk, so it might interact in weird ways if you have Ermine in your device. You could probably try the same with the Ermine maintenance ramdisk if you want (it would be better to remove the last 4 bytes that are the CRC, but I think that should not matter). If you are brave enough to try it, good luck! P.S.: Again, BIG DISCLAIMER: I have no previous Android experience, and this might break your device, not work, water your coffee, give your cat an incurable disease and/or all of the above. Last edited by pablob; 11-14-2011 at 04:21 PM. Reason: Comment became irrelevant, I think. |
11-14-2011, 01:55 PM | #98 |
Guru
Posts: 733
Karma: 443
Join Date: May 2011
Location: UK
Device: Pocket Edgex2(1unborked), Alex, Nook B&W, Nook Color, Nook STR
|
OK, got the tftp working was the ip address on server set up to 192.168.1.100 instead of 192.168.2.200... doh doh.......
loading images and nand erase went fine. the device is booting to android only again, and hangs on writing the modified perlude image. see log. please help.... [ 2.737090] OmniVision ov3640 sensor detected [ 2.830844] ccic_ctlr_power_down: ccic is power downed!!! [ 2.836301] OV3640 i2c-probe detected [ 2.886199] scsi0 : usb-storage 1-1.2:1.0 [ 2.890656] OmniVision ov7740 sensor driver, at your service [ 3.401079] mmc0: new SD card at address 2d91 [ 3.405945] mmcblk0: mmc0:2d91 SD02G 1.83 GiB [ 3.410570] mmcblk0: [ 4.025070] scsi 0:0:0:0: Direct-Access Benica SQ Card 0.00 PQ: 0 ANSI: 2 [ 4.213125] sd 0:0:0:0: [sda] 4014079 512-byte logical blocks: (2.05 GB/1.91 GiB) [ 4.309474] sd 0:0:0:0: [sda] Write Protect is off [ 4.314280] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 4.764613] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 4.770751] sda: [ 4.861748] sda1 [ 5.130874] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 5.181066] sd 0:0:0:0: [sda] Attached SCSI removable disk [ 6.474290] mmc1: new high speed SDIO card at address 0001 [ 15.595963] RAMDISK: gzip image found at block 0 [ 16.225607] uncompression error [ 16.366734] EXT2-fs (ram0): warning: checktime reached, running e2fsck is recommended [ 16.374627] VFS: Mounted root (ext2 filesystem) on device 1:0. [ 16.380689] Freeing init memory: 896K [ 16.384447] EXT2-fs (ram0): error: ext2_lookup: deleted inode referenced: 4136 [ 16.391766] EXT2-fs (ram0): error: ext2_lookup: deleted inode referenced: 4098 [ 16.399192] EXT2-fs (ram0): error: ext2_lookup: deleted inode referenced: 4218 [ 16.406483] EXT2-fs (ram0): error: ext2_lookup: deleted inode referenced: 4218 [ 16.413721] Kernel panic - not syncing: No init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance. [ 16.426322] Rebooting in 1 seconds.. U-Boot 2009.01-rc1-svn1084 (Feb 15 2011 - 12:04:39) Marvell version: 1.1.1.1 PXAxxx ESI version: 2.0.3 (1) <<EdgeJr>> MARVELL PXAXXX series. Based on 88SV331xV5 Core with ARM926 LE CPU. Code original base is u-boot-arm 2009.01-rc1. DRAM: 512 MB NAND: detect chip id d7ec on cs 0, Samsung 32Gibx8 SPI NOR: SF: Got idcode c2 20 17 c2 20 SF: Detected MX25L6405D with page size 256, total 8388608 bytes In: serial Out: serial Err: serial Net: u2o-eth |
11-14-2011, 02:07 PM | #99 |
Guru
Posts: 733
Karma: 443
Join Date: May 2011
Location: UK
Device: Pocket Edgex2(1unborked), Alex, Nook B&W, Nook Color, Nook STR
|
also tried with unmodified golden dingo
[ 2.727932] ov3640 power on (reset inactive) [ 2.735958] OmniVision ov3640 sensor detected [ 2.829528] ccic_ctlr_power_down: ccic is power downed!!! [ 2.834936] OV3640 i2c-probe detected [ 2.884462] scsi0 : usb-storage 1-1.2:1.0 [ 2.889030] OmniVision ov7740 sensor driver, at your service [ 3.401050] mmc0: new SD card at address 2d91 [ 3.406016] mmcblk0: mmc0:2d91 SD02G 1.83 GiB [ 3.410633] mmcblk0: [ 4.024861] scsi 0:0:0:0: Direct-Access Benica SQ Card 0.00 PQ: 0 ANSI: 2 [ 4.212927] sd 0:0:0:0: [sda] 4014079 512-byte logical blocks: (2.05 GB/1.91 GiB) [ 4.309272] sd 0:0:0:0: [sda] Write Protect is off [ 4.314083] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 4.720288] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 4.726425] sda: [ 4.817413] sda1 [ 5.086573] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 5.092687] sd 0:0:0:0: [sda] Attached SCSI removable disk [ 6.474524] mmc1: new high speed SDIO card at address 0001 [ 15.555942] RAMDISK: gzip image found at block 0 [ 16.185848] uncompression error [ 16.327155] EXT2-fs (ram0): warning: checktime reached, running e2fsck is recommended [ 16.335045] VFS: Mounted root (ext2 filesystem) on device 1:0. [ 16.341115] Freeing init memory: 896K [ 16.344876] EXT2-fs (ram0): error: ext2_lookup: deleted inode referenced: 4136 [ 16.352197] EXT2-fs (ram0): error: ext2_lookup: deleted inode referenced: 4098 [ 16.359630] EXT2-fs (ram0): error: ext2_lookup: deleted inode referenced: 4218 [ 16.366921] EXT2-fs (ram0): error: ext2_lookup: deleted inode referenced: 4218 [ 16.374160] Kernel panic - not syncing: No init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance. [ 16.386779] Rebooting in 1 seconds.. U-Boot 2009.01-rc1-svn1084 (Feb 15 2011 - 12:04:39) Marvell version: 1.1.1.1 PXAxxx ESI version: 2.0.3 (1) <<EdgeJr>> MARVELL PXAXXX series. Based on 88SV331xV5 Core with ARM926 LE CPU. Code original base is u-boot-arm 2009.01-rc1. DRAM: 512 MB NAND: detect chip id d7ec on cs 0, Samsung 32Gibx8 SPI NOR: SF: Got idcode c2 20 17 c2 20 SF: Detected MX25L6405D with page size 256, total 8388608 bytes In: serial Out: serial Err: serial Net: u2o-eth Hit any key to stop autoboot: 0 EdgeJr>> |
11-14-2011, 02:16 PM | #100 |
Guru
Posts: 733
Karma: 443
Join Date: May 2011
Location: UK
Device: Pocket Edgex2(1unborked), Alex, Nook B&W, Nook Color, Nook STR
|
both images are giving me
uncompression error. tried several sources also the uncompress just fine on my pc both windows or linux?!? |
11-14-2011, 02:28 PM | #101 |
Fun-ologist
Posts: 41
Karma: 10
Join Date: Oct 2011
Device: Pocket Edge, Galaxy S
|
It looks like you have some bad blocks of memory. I had the same problem for a little while, but there is a utility in uboot for marking bad blocks. Iw ill look and see if I captured the commands.
-- Jim |
11-14-2011, 02:31 PM | #102 |
Guru
Posts: 733
Karma: 443
Join Date: May 2011
Location: UK
Device: Pocket Edgex2(1unborked), Alex, Nook B&W, Nook Color, Nook STR
|
oh, please save my bacon, already in troubs with wiffie for messing with her lovely red PE!!!
|
11-15-2011, 01:45 PM | #103 |
Fun-ologist
Posts: 41
Karma: 10
Join Date: Oct 2011
Device: Pocket Edge, Galaxy S
|
Darn, I didn't keep my log files. When my new PE comes in the mail, I will attach it to the serial port and look through the commands.
|
11-15-2011, 02:10 PM | #104 |
Enthusiast
Posts: 25
Karma: 10
Join Date: Mar 2011
Device: Pocket eDGe
|
Hi, I just googled uboot marking bad blocks and stumble upon this :
http://wiki.openmoko.org/wiki/NAND_b...cks#Bad_Blocks Go to the bottom off the page, there's a recipe - Is it what you were looking for ? Warning : I am not knowledgeable of uboot, I just found this via google - it says it will erase the whole flash - Not sure it is safe!) nand bad nand scrub nand createbbt dynpart dynenv set u-boot_env saveenv |
11-15-2011, 05:14 PM | #105 |
Guru
Posts: 733
Karma: 443
Join Date: May 2011
Location: UK
Device: Pocket Edgex2(1unborked), Alex, Nook B&W, Nook Color, Nook STR
|
do not think dynpart is part of uboot on our device, anything you may remember Jim?
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
the official "see a device in a café near you" hookup thread | zelda_pinwheel | Which one should I buy? | 259 | 03-08-2013 09:43 AM |
[Old Thread] Slow to 'get list of books on device' for Kindle DX | tklaus | Devices | 4 | 03-10-2011 12:11 PM |
MobileRead Official MobileRead Book Club: Welcome thread/November's book choice thread | PsyDocJoanne | Book Clubs | 151 | 02-08-2009 08:42 PM |