Mobileread
PB631 stuck on boot
#1  sensi81 02-07-2023, 04:26 PM
Hello,
My reader stuck on boot and I my idea how to bring it to live also. I replaced memory card, restore four partitions structure and fill it data which I restored from damaged card. Then I make update firmware with success. Then reader stuck on boot in place as picture. I connected serial port monitor to it and in attachment is what he said. I tried to patch monitor.app with new CID of card as tutorial on this forum but he still is the same place. What is the reason that boot log include some errors?
Code
▒▒
U-Boot 2009.08 (Jul 15 2016 - 16:04:21)
CPU: Freescale i.MX6 family TO0.0 at 792 MHz
Temperature: 33 C, calibration data 0x5764f75f
mx6q pll1: 792MHz
mx6q pll2: 528MHz
mx6q pll3: 480MHz
mx6q pll8: 50MHz
ipg clock : 66000000Hz
ipg per clock : 24000000Hz
uart clock : 80000000Hz
cspi clock : 60000000Hz
ahb clock : 132000000Hz
axi clock : 198000000Hz
emi_slow clock: 22000000Hz
ddr clock : 396000000Hz
usdhc1 clock : 198000000Hz
usdhc2 clock : 198000000Hz
usdhc3 clock : 198000000Hz
usdhc4 clock : 198000000Hz
epdc_axi sel=5 podf=2
epdc_pix sel=5 pred=1 podf=0
Board: MX6SoloLite-NTX:[ POR ]
Boot Device: SD
I2C: ready
DRAM: 512 MB
MMC: loading ntx config
ram p=80000000,size=536870912
csd is 0x400e0032, 0x5b590000, 0x747b7f80, 0xa400000
scr addr is 0x875feef0, switch_status addr is 0x875fee80
mmc0 is current device
MMC read: dev # 0, block # 1023, count 1 ... 1 blocks read: OK
MMC read: dev # 0, block # 1024, count 1 ... 1 blocks read: OK
FSL_USDHC: 0,FSL_USDHC: 1,FSL_USDHC: 2
i2c: I2C1 SDA is low, start i2c recovery...
I2C1 Recovery success
i2c: I2C2 SDA is low, start i2c recovery...
I2C2 Recovery success
hw_anadig_reg_core=7c3e1f
setup_epdc() 1448x1072
EPDPMIC_VIN=1
*** Warning - bad CRC or MMC, using default environment
In: serial
Out: serial
Err: serial
ntx_hw_late_init()
MMC read: dev # 0, block # 1, count 1 ... 1 blocks read: OK
NTXSN:"NX170000000000000000"
REGISET2 val E0
RC5T619 read battery temperature 1235mV (0x7E7).
ntx_detect_usb_plugin():Charge detecting ............................set 900mA for DCP (26)
Battery OK, voltage 4008mv, charger ON
resolution 1448x1072, bpp 8, pixclk 80000000
waveform is at 88600000, size 241432, 472 blocks
vcom=-2220
Draw normal logo: offset 55296
Splash loaded at 88a00000
** bitmap 1072x1448
waveform buffer addr = 88600000
EPDC init ok
EPDPMIC_VIN=1
tps65185_rail_power_onoff() TPS65185 wakeup
tps65185_rail_power_onoff() TPS65185 Enable RAIL POWER
epdc_power_on : waiting for epd power on ...ok. cnt=9720
EPDPMIC_VCOM=1
Draw_splash_screen
Device: FSL_USDHC
Manufacturer ID: fe
OEM: 3432
Name: SD16G
Tran Speed: 50000000
Rd Block Len: 512
SD version 3.0
Clock: 50000000
High Capacity: Yes
Capacity: 15634268160 Bytes
Bus Width: 4-bit
Boot Partition for boot: No boot partition available
csd is 0x400e0032, 0x5b590000, 0x747b7f80, 0xa400000
scr addr is 0x875fef58, switch_status addr is 0x875feee8
ntx_config_fastboot_layout():8 binaries partition added
ntx_config_fastboot_layout():2 mbr partition added 0 hwcfgp=9ffffe00,pcb=61,customer=0
ESDin=0,UPGKey=0,PWRKey=0,USBin=0x1,BootESD=0,MenuKey=0
Kernel RAM visiable size=511M->511M
MMC read: dev # 0, block # 2047, count 1 ... 1 blocks read: OK
kernel size = 2837928
MMC read: dev # 0, block # 2048, count 5549 ... 5549 blocks read: OK
hwcfg partition type : 0
Splash screen update - Waiting for LUT to complete......................... OK
## Booting kernel from Legacy Image at 80007fc0 ... Image Name: ?_#1 Oct 31 13:23:18 Created: 2019-10-31 11:23:25 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2558472 Bytes = 2.4 MB Load Address: 80008000 Entry Point: 80008000 Loading Kernel Image (80008000->80008000) ... OK
OK
Starting kernel ... --
rm /mnt/secure/debug_mode to disable debug
Check Network Manager Status
Atached mp shm: id 0 addr 2d144000 size 21736
epdc_default_init
epdc_default_rotate: w=1072 h=1448 scan=1088 mem=1695744
program_name = [./pocketbook], basename = [pocketbook], init_string = [/P7.Sink=Null /P7.Pool=128 /P7.Format="{%ts}[%fs:%fl] %lv %ms"]
program init string = [(null)]
default init string = [(null)]
[748 : ./pocketbook] (open_mqueue)cannot attach to message queue[hw_ipcrequest_to] msgsnd error: Invalid argument
hw_eink_init: could not get current task
[hw_ipcrequest_to] msgsnd error: Invalid argument
Process has been terminated by signal {SIGSEGV::SEGV_MAPERR}
Segmentation fault
Please press Enter to activate this console. Start Network Manager
[766:01/01/12 00:00:06] netagent called with parameters < net on >
[766:01/01/12 00:00:06] bringing up wifi
Failed to connect to non-global ctrl_ifname: eth0 error: No such file or directory
Successfully initialized wpa_supplicant
rfkill: Cannot open RFKILL control device
Network Manager checker work done
pb631.jpg 
[txt] pb631log.txt (4.5 KB, 51 views)
Reply 

#2  WYXUS 02-10-2023, 01:12 PM
Hi,
This is quite fortunate that I find your post. In fact my own sd card broke down completely and I am trying to resurrect my reader.
Regarding your question, from what I understood from different forums and videos, the os takes the SD card CID numer and if it is wrong (like when you copy everything to a new SD card) it simply won't boot.
Apparently there is a way to make a patch of the software so it would read this number from a file not from the card. If your old card is still alive and functional I can explain you in details.

I also have a question, how did you manage to boot your reader? When I copied the partition table and the files it did boot so I assumed that I have to install some bootloader or something.
Reply 

#3  sensi81 02-11-2023, 12:59 PM
Hi,
Your answer helped me. I bring it to live, but different way.
I messed something up in this description. Few months ago I made copy "dd" command, but not all card. I must cancel operation copy because after many hours it didn`t move forward, only display some errors. But fortunately it was enough - structure partition was restored but not all data was restored and some errors also was in this image. I write it image on new card then many probes bring it to live, patches etc. Nothing works until today. I reversed previous changes to original state and do only one modification - I modified .freezestatus file as in (https://www.mobileread.com/forums/sh...0&postcount=93). Previously the problem was the wrong serial number of the new card that I pass to this generator. I restored all files to original state and then connected the serial monitor and I could read the correct one ( reader print it: SD card number: 00000022 ). And it works now ! Left only one problem with battery. Unnecessarily I replace it with new one , and reader works on charger and sometimes on battery but not long.
Reply 

#4  sensi81 02-11-2023, 01:14 PM
Resolved problem with battery - connector not correctly pressed down.
Reply 

#5  nhedgehog 02-12-2023, 07:57 AM
This solution has one culprit, TTS is not working afterwards. Only way out of this, get pocketbook.ru to send you a new image.
Not sure if they are doing this now, in times of war and boycott.
Reply 

#6  sensi81 02-12-2023, 09:39 AM
Hi,
my solution in my case works fine as in attachment. Best regards.
[avi] vid_20230212151210(2).avi (7.51 MB, 51 views)
Reply 

#7  rkomar 02-12-2023, 12:02 PM
Quote nhedgehog
This solution has one culprit, TTS is not working afterwards.
Huh! I hardly ever use TTS, so I didn't notice this on my Inkpad 1 with the replaced internal SD card. You are right, some certificate used for verification no longer matches and the TTS fails. Oh well, it's still better than a completely broken device.
Reply 

#8  WYXUS 02-12-2023, 01:14 PM
Great that you solved everything!
As my original card stopped working I have no access to it and cannot simply clone it.
Therefore the only solution I found is to build everything from sources (i found the kernel sources for PB631 and UBoot sources). I am not really good at this and for now have not succeeded. I'd appreciate if you have any useful tips.
I cannot even build the kernel as the compiler complains (i found an sdk with a cross-compiler) for some reason
Reply 

#9  WYXUS 02-12-2023, 01:15 PM
And also I asked the tech support from the pocketbook but they refused to give me the iso. :-(
Reply 

#10  rkomar 02-12-2023, 01:29 PM
@WYXUS: I think building your own OS from scratch is a bit crazy. I am pretty sure that all of the necessary software (including kernel modules) is not provided as source packages, so you cannot duplicate their system yourself. In the past, others have found someone who would make an image of their own card and send it to them. Perhaps you can get someone to do that for you, and then you can modify that to work with your own SD card.
Reply 

  Next »  Last »  (1/2)
Today's Posts | Search this Thread | Login | Register