Title: Custom compiled firmware not building - how to debug? [Print This Page] Author: lucky_mike Time: 2/17/2023 01:55 Title: Custom compiled firmware not building - how to debug? I have not successfully been able to boot up my own self-compiled firmware. I have the AIO-3588SJD4, and I have the Linux SDK. I have followed the instructions provided via the SDK, and then the instructions on how to compile Ubuntu for this board. After many issues, I was finally able to get my own firmware images built; however, when I flash the firmware to the device I get a black screen. Are there any guides or documentation on how to debug this?
Its possible the machine has partially booted up (though there is no output on the monitor), and no window manager has booted, just a black screen. It does seem like the SSH service has at least partially booted (though it is strange that there is no tty output on bootup at all as I would expect), because I have tried using ssh to connect to the machine and I do get an initial conection; however the normal username/password "firefly/firefly" do not work. I have not changed any build parameters, I have simply taken the provided SDK and followed the instructions.
I have tried using these configurations for my board:
aio-3588sjd4-ubuntu.mk
aio-3588sjd4-BE45-A1-ubuntu.mk
The other part that I am confused about. The instructions say this: 5. Check your sdk version cd kernel; git tag
rk3588/linux_release_v0.1.0a rk3588/linux_release_v0.1.1a # this is my version , Note that there may be many versions here, the latest one shall prevail
Note: 1. The initial SDK version is v0.1.0a. 2. Please pay attention to the update of the bundle directory,Subsequent updates only need to repeat steps 2, 3, and 4.
Thi latest version I see is rk3588/linux_release_v1.0.6b. The instructions do not say this, but I'm assuming they are expecting me to switch to the latest version using this command:
git checkout rk3588/linux_release_v1.0.6b
which is what I have been doing. Even if I do manage to find the right combination of kernel and device config, it would be very helpful to understand the steps to debug a non-booting system.
I can flash and boot the firmware on the web. If I use the SDK and build the firmware, then flash, the device goes to a black screen.Author: 799959745 Time: 3/2/2023 10:50
A new firmware adaptation version 1.2 will be released this week.Author: 799959745 Time: 3/2/2023 15:01
use this dtsi