View Single Post
Old 09-25-2020, 05:54 PM   #14
indiana71
Member
indiana71 began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Sep 2020
Device: SONY PRS-T1
Quote:
Originally Posted by jpa View Post
Yeah, I guess my post wasn't very clear on that. I had the extra complication that my device wouldn't boot even rupor rescue from SD card, so I had to use solder wires to hardware serial port to effect recovery.

Based on your error messages & symptoms, it seems your flash is broken in the user partition area while my was broken in the kernel area. But doesn't matter, as my image moves it all to SD card.

I haven't actually tried this myself, but I think you could get it done this way using the rupor USB shell:

1. Copy the uboot env from my image to a separate file:
Code:
dd if=sd_card_PRS-T1_1.0.07_adb_enabled.bin skip=786432 of=uboot_new.bin bs=1 count=131072
and copy uboot_new.bin to rupor rescue SD card, along with the other files that are already there.
2. Boot rupor rescue so that you get serial port shell over USB.
3. Find where the file is visible on PRS-T1 shell, [code]mount[code] command probably tells if the sd card is mounted.
4. You can backup the old uboot env to a file:
Code:
dd if=/dev/mmcblk2 skip=786432 of=uboot_old.bin bs=1 count=131072
5. And then write a new one:
Code:
dd if=uboot_new.bin of=/dev/mmcblk2 seek=786432 bs=1 count=131072
After that it should boot (in normal mode) from SD card that has my image on it. Rescue mode should still work as before, as this only changes the "active uboot env" instead of "rescue uboot env".

As usual, no warranty and be careful with the numbers

IT WORKS!! Thanks!


I've used GPARTED Live CD to resize READER partition and it is very easy to use!

Last edited by indiana71; 10-04-2020 at 09:38 AM.
indiana71 is offline   Reply With Quote