Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > PocketBook

Notices

Reply
 
Thread Tools Search this Thread
Old 02-07-2023, 04:26 PM   #1
sensi81
Junior Member
sensi81 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Feb 2023
Device: PocketBook PB631
Post PB631 stuck on boot

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
Attached Thumbnails
Click image for larger version

Name:	pb631.jpg
Views:	219
Size:	286.2 KB
ID:	199570  
Attached Files
File Type: txt pb631log.txt (4.5 KB, 124 views)
sensi81 is offline   Reply With Quote
Old 02-10-2023, 01:12 PM   #2
WYXUS
Junior Member
WYXUS began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Feb 2023
Device: Touch HD2 (P631)
Exclamation

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.
WYXUS is offline   Reply With Quote
Advert
Old 02-11-2023, 12:59 PM   #3
sensi81
Junior Member
sensi81 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Feb 2023
Device: PocketBook PB631
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.
sensi81 is offline   Reply With Quote
Old 02-11-2023, 01:14 PM   #4
sensi81
Junior Member
sensi81 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Feb 2023
Device: PocketBook PB631
Resolved problem with battery - connector not correctly pressed down.
sensi81 is offline   Reply With Quote
Old 02-12-2023, 07:57 AM   #5
nhedgehog
Guru
nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.
 
Posts: 797
Karma: 625816
Join Date: Sep 2013
Device: EnergySistemEreaderPro, Nook STG, Pocketbook 622, Bookeen Cybooks ...
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.
nhedgehog is offline   Reply With Quote
Advert
Old 02-12-2023, 09:39 AM   #6
sensi81
Junior Member
sensi81 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Feb 2023
Device: PocketBook PB631
Hi,
my solution in my case works fine as in attachment. Best regards.
Attached Files
File Type: avi vid_20230212151210(2).avi (7.51 MB, 153 views)
sensi81 is offline   Reply With Quote
Old 02-12-2023, 12:02 PM   #7
rkomar
Wizard
rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.
 
Posts: 3,031
Karma: 18765431
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
Quote:
Originally Posted by nhedgehog View Post
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.
rkomar is offline   Reply With Quote
Old 02-12-2023, 01:14 PM   #8
WYXUS
Junior Member
WYXUS began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Feb 2023
Device: Touch HD2 (P631)
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
WYXUS is offline   Reply With Quote
Old 02-12-2023, 01:15 PM   #9
WYXUS
Junior Member
WYXUS began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Feb 2023
Device: Touch HD2 (P631)
And also I asked the tech support from the pocketbook but they refused to give me the iso. :-(
WYXUS is offline   Reply With Quote
Old 02-12-2023, 01:29 PM   #10
rkomar
Wizard
rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.
 
Posts: 3,031
Karma: 18765431
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
@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.
rkomar is offline   Reply With Quote
Old 02-12-2023, 01:39 PM   #11
WYXUS
Junior Member
WYXUS began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Feb 2023
Device: Touch HD2 (P631)
@rkomar:
I pretty much agree with you that this is crazy :-D
I am super new to that kind of stuff and probably simply underestimate the complexity. I figured that I might learn a bit about that stuff and try my best.
The problem is that i could not find a way (or person) to make an iso image for me, otherwise I would have used this solution with pleasure!
And also it is not even about the money, but more about sustainable world: the device is fully functional and it would such a waste of resources just to through it away...
WYXUS is offline   Reply With Quote
Old 02-12-2023, 03:29 PM   #12
sensi81
Junior Member
sensi81 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Feb 2023
Device: PocketBook PB631
Quote:
This solution has one culprit, TTS is not working afterwards.
Yeah after check TTS in my reader it also doesn`t work . I again dissamble reader and connect serial monitor:
Code:
980 mixer_init() out
global_config::ttslanguage=<pl_agnieszka>
lingwarepath /mnt/ext1/system/tts/pl_agnieszka/
mainlingware vox_pl_agnieszka22i
voxdb /mnt/ext1/system/tts/pl_agnieszka/vox/vox_pl_agnieszka22i
voicelib /mnt/ext1/system/tts/pl_agnieszka/libvoice.so
 ######## IVONA preload
Try load /mnt/ext1/system/tts/pl_agnieszka/libtts_engine.so
reading /mnt/ext1/system/tts/pl_agnieszka/libtts_engine.so
File size 2055456
reading /mnt/ext1/system/tts/pl_agnieszka/libtts_engine.so.sig
File size 64
Checking key /ebrmain/share/ssl/pubkey3.rsa
!EVP_DigestVerifyFinal
807047168:error:0407006A:rsa routines:RSA_padding_check_PKCS1_type_1:block type is not 01:rsa_pk1.c:103:
807047168:error:04067072:rsa routines:RSA_EAY_PUBLIC_DECRYPT:padding check failed:rsa_eay.c:705:
Checking key /ebrmain/share/ssl/pubkey2.rsa
Ok /mnt/ext1/system/tts/pl_agnieszka/libtts_engine.so loading..
Load library. Init procs.
Found magic with offset 390
Failed to create a TTS instance: Invalid certificate line
I think something is wrong with pubkey3.rsa key. That the private key used to sign does not correspond to the public key used to verify. Correct me if I am wrong.
sensi81 is offline   Reply With Quote
Old 02-12-2023, 03:42 PM   #13
sensi81
Junior Member
sensi81 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Feb 2023
Device: PocketBook PB631
Quote:
Originally Posted by WYXUS View Post
@rkomar:
I pretty much agree with you that this is crazy :-D
I am super new to that kind of stuff and probably simply underestimate the complexity. I figured that I might learn a bit about that stuff and try my best.
The problem is that i could not find a way (or person) to make an iso image for me, otherwise I would have used this solution with pleasure!
And also it is not even about the money, but more about sustainable world: the device is fully functional and it would such a waste of resources just to through it away...
I think I could prepare this image but first I must delete my private data from it. Does anyone know which data should I clean?
sensi81 is offline   Reply With Quote
Old 02-13-2023, 09:20 AM   #14
nhedgehog
Guru
nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.
 
Posts: 797
Karma: 625816
Join Date: Sep 2013
Device: EnergySistemEreaderPro, Nook STG, Pocketbook 622, Bookeen Cybooks ...
Quote:
Originally Posted by sensi81 View Post
I think something is wrong with pubkey3.rsa key. That the private key used to sign does not correspond to the public key used to verify. Correct me if I am wrong.
You are wrong. TTS registration is hidden somewhere else in the secure partition.
nhedgehog is offline   Reply With Quote
Old 02-13-2023, 09:54 AM   #15
WYXUS
Junior Member
WYXUS began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Feb 2023
Device: Touch HD2 (P631)
Quote:
Originally Posted by sensi81 View Post
I think I could prepare this image but first I must delete my private data from it. Does anyone know which data should I clean?
I would greatly appreciate if you could do that!

Unfortunatelly I ahve no idea what is the private data you might have..
WYXUS is offline   Reply With Quote
Reply

Tags
bootloader, logging, memory, pb631

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Troubleshooting Paperwhite 3 stuck in boot frigurt Amazon Kindle 0 08-19-2020 03:33 AM
[PW] Stuck in boot loop? abarthch Kindle Developer's Corner 11 02-04-2016 12:20 PM
M92 get stuck at boot silverphilip Onyx Boox 5 11-04-2014 05:47 PM
PE Stuck on boot screen sonicware enTourage eDGe 9 09-24-2011 09:38 PM
Opus cannot boot, stuck on boot screen baloma Bookeen 35 11-13-2010 04:20 AM


All times are GMT -4. The time now is 03:48 PM.


MobileRead.com is a privately owned, operated and funded community.