Linux Build Help: Stuck at "Starting kernel ..."
#2
So I kept testing over the last few days. The kernel is properly built. 

I tested it by mounting the prebuilt Armbian 5.90 Debian Stretch 4.4.182 and changing the symlink to test my linux image. This booted properly but does lose console during the boot. It seems like either the earlycon or the bootconsole is set incorrectly to print the messages prior to entering user space:

Code:
## Loading init Ramdisk from Legacy Image at 04000000 ...
  Image Name: uInitrd
  Image Type: AArch64 Linux RAMDisk Image (gzip compressed)
Data Size: 4460484 Bytes = 4.3 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 01f00000
Booting using the fdt blob at 0x1f00000
Loading Ramdisk to f5ac0000, end f5f00fc4 ... OK
reserving fdt memory region: addr=1f00000 size=7e000
Loading Device Tree to 00000000f5a3f000, end 00000000f5abffff ... OK

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux Version 4.4.190-gd3f1be0ed310-dirty (ianh@ianh-Latitude-E5470) (gcc version 8.3.0 (Ubuntu 8.3.0-6ubuntu1~18.04.1) 9)
[    0.000000] Boot CPU: AArch64 Processor [410fd034]
[    0.000000] earlycon: Early serial console at MMIO32 0xff1a0000 (options '')
[    0.000000] bootconsole [uart0] enabled

Debian Stretch with Armbian Linux ttyS2

rockpro64 login:


Is the bootconsole supposed to be set to [uart2]?

So from my previous post, I correctly set the memory address for the DTB and the kernel works with the rest of Ayufan's images. I also tested with the DTB from my linux build and that worked as well. 

If anyone has any idea if this is an upstream U-Boot problem with the Ayufan linux build or if I am making some stupid mistake somewhere please let me know.

Thanks.


Messages In This Thread
RE: Linux Build Help: Stuck at "Starting kernel ..." - by ihamilton - 10-09-2019, 04:08 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [OS] SkiffOS and Buildroot for Rockpro64 w/ 5.17 kernel paralin1 1 375 05-08-2022, 03:26 PM
Last Post: paralin1
Brick Maintained Linux booting from eMMC ootoovak 10 2,907 04-30-2022, 03:57 PM
Last Post: TRS-80
  Kernel OOPs triggered by big writes to ext4 FS ajtravis 1 297 04-04-2022, 05:29 PM
Last Post: ajtravis
  How I Got Fedora Linux to Boot From eMMC (or microSD, for that matter) whitecat23 4 1,053 01-03-2022, 10:32 AM
Last Post: whitecat23
  Manjaro ARM - Built-in ethernet was broken with kernel 5.14.1-1 (over now) Dendrocalamus64 2 977 09-11-2021, 08:58 PM
Last Post: t4_4t
  compiling a new kernel for overclocking on arch Mentaluproar 2 1,325 07-15-2021, 10:16 AM
Last Post: Mentaluproar
  Other boot options than Sdcard for linux 5.x kernel? MisterA 2 1,409 07-14-2021, 02:37 PM
Last Post: TRS-80
  ayufan kernel update unbootable TheHunter 2 1,748 03-12-2021, 05:17 PM
Last Post: LMM
  Booting Linux/Debian from the eMMC linuxha 4 2,668 03-02-2021, 07:01 PM
Last Post: linuxha
  Kernel oops after big-ish writes gaeb 1 1,321 02-11-2021, 03:55 PM
Last Post: gaeb

Forum Jump:


Users browsing this thread: 1 Guest(s)