|
Posted at 2/28/2018 16:43:48
Only Author
5#
OK, The flash page says "sudo upgrade_tool ul bootloader.bin #flash bootloader" but there is no file named bootloader.bin anywhere.I made a wild guess and did "sudo upgrade_tool ul rockdev/Image-rk3399_firefly_box/MiniLoaderAll.bin". Anyway, that makes no difference. The kernel, uboot etc is flashed from the latest build. I flash everything that is freshly built. I have only made one change relative Gitlab, that's the bug in mkimage.sh which I think you should fix. Wrong tune2fs gets invoked unless you give the full path, and the Debian version causes a hang when creating the image. I don't think this patch is in any way related to the boot problem.
diff --git a/mkimage.sh b/mkimage.sh
index a8d7f87d66..1760383a56 100755
--- a/mkimage.sh
+++ b/mkimage.sh
@@ -141,7 +141,7 @@ then
ok=0
while [ "$ok" = "0" ]; do
make_ext4fs -l $system_size $MAKE_EXT4FS_ARGS >/dev/null 2>&1 &&
- tune2fs -c -1 -i 0 $IMAGE_PATH/system.img >/dev/null 2>&1 &&
+ prebuilts/android-emulator/linux-x86_64/bin64/tune2fs -c -1 -i 0 $IMAGE_PATH/system.img >/dev/null 2>&1 &&
ok=1 || system_size=$(($system_size + 5242880))
done
e2fsck -fyD $IMAGE_PATH/system.img >/dev/null 2>&1 || true
Here's the console output with the updated Loader. It looks more like a hardware confusion. Does the loader use the same device tree as the kernel? I'm using the classic rk-3399 Firefly which I think you call "box" as opposed to some newer "AIO" version. Can there be any confusion about that after the upgrade?
#Boot ver: 2018-02-27#1.09
empty serial no.
normal boot.
checkKey
vbus = 1
board_fbt_key_pressed: ir_keycode = 0x0, frt = 0
no fuel gauge found
no fuel gauge found
failed to find phy node
can't find power_ctr node for panel
enable[0] disable[0]
read logo on state from dts [1]
no fuel gauge found
can't find dts node for deviceinfo
dw_rk_hdmi_register:fail to read deviceinfo
hdmi baseparamer 0x0@0-0
[EDID-EXTEND] It is a CEA 861 Series Extension.
no baseparametr,find best edid mode,vic=1121
hdmi_dev->video.vic is 4
rk lcdc - 0 dclk set: dclk = 74250000HZ, pll select = 0, div = 1
"Synchronous Abort" handler, esr 0x96000004
ELR: 59438fc
LR: 59210e4
x0 : 0000000005712e80 x1 : ffffffffffffffff
x2 : 0000000000000670 x3 : 0000000000000000
x4 : 0000000005712e80 x5 : 00000000000003e8
x6 : 00015752a0000001 x7 : 0000000000000020
x8 : 0000000000000000 x9 : 0000000000000008
x10: 0000000000000000 x11: 0000000000000000
x12: 000000000000000a x13: 0000000000000048
x14: 0000000000000008 x15: 000000002367b880
x16: 0000000000000000 x17: 0000000000000230
x18: 00000000056fd928 x19: 0000000000000019
x20: 0000000000000104 x21: 0000000005712550
x22: 00000000057125d0 x23: 0000000005712650
x24: 000000000595b2c0 x25: 0000000005712618
x26: 00000000056febb0 x27: 00000000000002d5
x28: 000000000000056e x29: 00000000056fd660
Resetting CPU ...
resetting ...
|
|