Wilson Wilson Posted June 1 Share Posted June 1 (edited) Hello, Installed some updates recently on OrangePi PC Plus and after reboot I'm stuck on boot screen with message "Starting kernel...". Would this be logged somewhere? Any way to recover from this or should I start from scratch? boot error Edited June 1 by Wilson Wilson Title edited 0 Quote Link to comment Share on other sites More sharing options...
Solution Werner Posted June 1 Solution Share Posted June 1 https://debug.armbian.de 0 Quote Link to comment Share on other sites More sharing options...
mikhailai Posted June 4 Share Posted June 4 I have a similar issue on "Banana PI M1", so I can provide more details. Basically, what I've found out is the linux kernel contained in the latest "linux-image-legacy-sunxi" (version 24.5.1) package appears to broken to the point of locking-up right from the start. It prints "Starting kernel...", and no more messages appear even with "verbosity=6" setting in the "armbianEnv.txt". * "linux-image-current-sunxi" version 24.5.1 with 6.6.31 kernel: boots fine. * "linux-image-legacy-sunxi" version 24.2.1 with "6.1.77" kernel: boots fine. * "linux-image-legacy-sunxi" version 24.5.1 with "6.1.92" kernel: broken as described above. In the "boots fine" cases, the kernel prints multiple other messages, before starting the OS boot. Here are the steps to reproduce. I've done it for "Banana PI M1", but I think any board with Allwinner "Cortex-A7"-based SOC should work. 1. Download and write the Armbian image to a MicroSD card. 2. Connect the serial console, boot the board, finish setup, do all the upgrades: assume everything works fine at this point. Double-check that "linux-image-current-sunxi" is what's being used. 3. Set "verbosity=6" in the "armbianEnv.txt", reboot and observe the kernel messages. 4. Install "armbian-config" and use it to switch to the legacy kernel. After step (4) reboots, observe the boot process gets stuck at "Starting kernel..." message. What I'm guessing could've happened is something went wrong during the build process for that specific target (e.g. data corruption, wrong architecture being used). 0 Quote Link to comment Share on other sites More sharing options...
Werner Posted June 4 Share Posted June 4 5 hours ago, mikhailai said: verbosity=6 Should be 7 0 Quote Link to comment Share on other sites More sharing options...
mikhailai Posted June 4 Share Posted June 4 Tried the verbosity=7, the same effect. With 6.1.77 kernel: Working FDT set to 49630000 Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 6.1.77-legacy-sunxi (armbian@next) (arm-linux-gnueabihf-gcc (Ubuntu 11.4.0-1ubuntu1~ 22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #1 SMP Fri Feb 23 08:12:53 UTC 2024 [ 0.000000] CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7), cr=50c5387d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: LeMaker Banana Pi ...... With 6.1.92 kernel from "linux-image-legacy-sunxi" version 24.5.1 Working FDT set to 49630000 Starting kernel ... I tried the Device Trees from both "linux-dtb-legacy-sunxi" and "linux-dtb-current-sunxi": makes no difference. This again points to the "linux-image-legacy-sunxi" version 24.5.1 being broken. I wonder if someone with more authority can try running the kernel from that package on any Allwinner A20 board, or any Allwinner H3 Board (e.g. Orange Pi One, Orange Pi PC Plus), and confirm or disprove my claim. 0 Quote Link to comment Share on other sites More sharing options...
TRay Posted June 5 Share Posted June 5 I can add that Orange Pi Zero 3 users have similar problems, i.e. after turning on the power or, for example, after reboot. This is not a cyclical phenomenon. So when it happens that you need to reboot remotely, it may turn out that Orange Pi Zero 3 requires physical intervention by turning the power on and off. 0 Quote Link to comment Share on other sites More sharing options...
Aleksey Vasenev Posted Saturday at 06:20 PM Share Posted Saturday at 06:20 PM (edited) On 6/4/2024 at 8:18 PM, mikhailai said: I wonder if someone with more authority can try running the kernel from that package on any Allwinner A20 board, or any Allwinner H3 Board (e.g. Orange Pi One, Orange Pi PC Plus), and confirm or disprove my claim. Same problem on Orange Pi Zero: 6.1.53 work 6.6.31 work 6.1.92 stuck on "Starting kernel..." Edited Saturday at 06:21 PM by Aleksey Vasenev 0 Quote Link to comment Share on other sites More sharing options...
Aleksey Vasenev Posted Saturday at 07:26 PM Share Posted Saturday at 07:26 PM From latest sources also not work Armbian-unofficial_24.8.0-trunk_Orangepizero_bookworm_legacy_6.1.96_minimal.img May be size problem? 6.1.92 size more than 8MiB. Older kernel size less than 8MiB. But this does not explain why 6.6 and 6.7 work despite the larger size. 0 Quote Link to comment Share on other sites More sharing options...
going Posted 21 hours ago Share Posted 21 hours ago There have been changes in the 6.1.78 kernel that negatively affect arm (Cortex-A7). Try not to use kernels more than 6.1.78. I hope this will be fixed soon. 0 Quote Link to comment Share on other sites More sharing options...
Aleksey Vasenev Posted 18 hours ago Share Posted 18 hours ago 6.1.77 good 6.1.87 good 6.1.88 bad 6.1.89 bad 6.1.90 bad 6.1.92 bad 6.1.96 bad 0 Quote Link to comment Share on other sites More sharing options...
going Posted 17 hours ago Share Posted 17 hours ago 55 минут назад, Aleksey Vasenev сказал: 6.1.88 bad Alexey, will you be able to publish the console boot log with the debug message parameter 7? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.