TCP: Hash tables configured (established 2048 bind 2048) TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear) TCP established hash table entries: 2048 (order: 2, 16384 bytes, linear) tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) clocksource: Switched to clocksource riscv_clocksource 11300.uart: ttySHAKTI0 at MMIO 0x11300 (irq = 0, base_baud = 0) is a Shakti UART 0 futex hash table entries: 256 (order: 0, 6144 bytes, linear) clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns random: get_random_bytes called from setup_net+0x54/0x1dc with crng_init=0 Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) Calibrating delay loop (skipped), value calculated using timer frequency. clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x1ef4687b1, max_idle_ns: 112843571739654 ns riscv_timer_init_dt: Registering clocksource cpuid hartid plic: mapped 29 interrupts with 1 handlers for 2 contexts. NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 mem auto-init: stack:off, heap alloc:off, heap free:off Inode-cache hash table entries: 16384 (order: 5, 131072 bytes, linear) Dentry cache hash table entries: 32768 (order: 6, 262144 bytes, linear) Kernel command line: console=ttySHAKTI0,19200n8 earlycon root=/dev/mmcblk1p1 rw rootfs=ext4 noinitrd selinux=0 Built 1 zonelists, mobility grouping on. initrd not found or empty - disabling initrd See log below : OF: fdt: Ignoring memory range 0x80000000 - 0x84000000
I am wondering which driver is being used to print data and get data from the console.Įdit(1) : After some working with the TTY Driver I am now getting print statements on console. But when I make a small change or add a print statement in the driver I can see that change till the u-boot command line while I cannot see these when Linux is started.
So I was trying to find if the linux kernel uses the u-boot serial driver to print and get characters. I get to see the output only when there is not console parameter while if I specify the console parameter the log stops after "Starting Kernel.". I have not mentioned ttyS0 or anything in the console parameter. I am currently using uboot to boot linux kernel.