toniebox-reverse-engineering / hackiebox_cfw_ng

HackieboxNG is a fully open source custom bootloader for the Toniebox (CC3200).

Home Page:https://t.me/toniebox_reverse_engineering

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

after installing bootloader, box does not boot

chaosenze opened this issue · comments

Hi all,

I tried to install the hackiebox bootloader with original firmware as first step. But I'm not able to bring up the box with bootloader. If I revert the change and use the backuped/original mcuimg.bin, box is booting again and worked fine, so no hardware related issue, I think.

Toniebox-Chip:
'CC3200R1
M2
953
ZJY1 G4'
Installed bootloader version: hbng-bootloader_debug.release_v0.9.3c.zip (tried also version v0.9.3a but same behavior)

I got some logs:
`
INFO main.c:777:main: HackieboxNG preloader debug 0.9.3 b14eb68
INFO main.c:789:main: Wakeup by cause 0
DEBUG main.c:797:main: Mounting sd card...
TRACE helper.c:49:SdFileExists: sd:/revvox/boot/ngbootloader.bin exists.
DEBUG main.c:850:main: Open sd:/revvox/boot/ngbootloader.bin ...
DEBUG main.c:854:main: Read sd:/revvox/boot/ngbootloader.bin ...
DEBUG main.c:858:main: Read 36095 bytes
INFO main.c:629:prepareRun: SHA256 hash=06c54cac0c61cd6fba21ab94c76969198ce41c25b10f105edc7ce60e537cd6b6
DEBUG main.c:342:BoardDeinitCustom: Prepare board deinitialization...
INFO main.c:758:prepareRun: Start firmware sd:/revvox/boot/ngbootloader.bin ...
INFO main.c:777:main: HackieboxNG bootloader debug 0.9.3 b14eb68
INFO main.c:789:main: Wakeup by cause 0
TRACE config.c:193:Config_InitImageInfos: Initialize ImageInfos
DEBUG main.c:797:main: Mounting sd card...
TRACE config.c:222:Config_ReadJsonCfg: Reading config with 2233b in size.
---:--:--.--- BSP Unknown newer hw platform (57592), last known is (16)

CC3200 bootloader v4287950848-DEBUG (M���
0) build: dl:243.90.129 sl:32.104.144.248 hw:tb-smt-57592:253:141 sw:UNKNOWN img_ix:4
loaded battery critical level = 260866
battery_level = 4789
battery too low
---:--:--.--- BSP Entered hibernate
`

changes in "ngCfg.json" related to battery level make no difference, It's also no difference if charger is pluged in, not plugged in, battery is connected or battery is not connected. always battery level is around 4789 and "loaded battery critical level = 260866"

Can someone give me a hint what I'm doing wrong?

Thanks for support.

Found https://forum.revvox.de/t/original-bootloader-hibernates-with-battery-too-low/186 and solved it.