Hello!
I finally had time to start working on an attempt to get the 5.10 Linux Kernel booting on the Jornada 720. I first like to get this Kernel to boot before I try to fix USB and maybe fiddle around with the audio driver ...
I started with a fresh copy from kernel.org. Everything looked promising, i did not apply any of my patches - i wanted to start with everything that is included in mainline. It compiled well, but sadly I am out of luck.
The kernel boots, but it doesnt load init ... I tried it in various combinations. With Debian Lenny
(which supports armv4
) and Debian Stretch and the BX emulation applied - with sysvinit or systemd. But it always gets stuck at loading init. So I think there is something wrong with the kernel itself
(or my kernel config
).
Maybe you guys can help me ...
Here is the console output:
--------linexec--------
LinExec: UART Initialized.
LinExec: UART Initialized.
LinExec: Beginning boot_linux.
LinExec: Passing the point of no return.. Now.
LinExec: Entering DRAMloader...
Booting Linux on physical CPU 0x0
Linux version 5.10.36 (stefan@spnub1804work) (arm-linux-gnueabi-gcc (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04) 7.5.0, GNU ld (GNU Binutils for Ubuntu) 2.30) #1 Fri May 14 06:56:00 UTC 2021
CPU: StrongARM-1110 [6901b118] revision 8 (ARMv4), cr=c020717f
CPU: VIVT data cache, VIVT instruction cache
Machine: HP Jornada 720
Memory policy: Data cache writeback
Zone ranges:
DMA [mem 0x00000000c0000000-0x00000000c00fefff]
Normal [mem 0x00000000c00ff000-0x00000000c7ffffff]
Movable zone start for each node
Early memory node ranges
node 0: [mem 0x00000000c0000000-0x00000000c7ffffff]
Initmem setup node 0 [mem 0x00000000c0000000-0x00000000c7ffffff]
DMA zone: 32513 pages in unavailable ranges
Built 1 zonelists, mobility grouping on. Total pages: 32511
Kernel command line: root=/dev/sda2 mem=128m rootdelay=5 console=ttySA0,115200n8
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
mem auto-init: stack:off, heap alloc:off, heap free:off
Memory: 125160K/131072K available (3582K kernel code, 187K rwdata, 716K rodata, 136K init, 86K bss, 5912K reserved, 0K cma-reserved)
SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS: 16, nr_irqs: 61, preallocated irqs: 61
irq: Cannot allocate irq_descs @ IRQ1, assuming pre-allocated
irq: Cannot allocate irq_descs @ IRQ33, assuming pre-allocated
random: get_random_bytes called from start_kernel+0x244/0x3c4 with crng_init=0
sched_clock: 32 bits at 3686kHz, resolution 271ns, wraps every 582542222200ns
clocksource: oscr0: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 518462577799 ns
Console: colour dummy device 30x40
printk: console [ttySA0] enabled
Calibrating delay loop... 136.60 BogoMIPS (lpj=683008)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0xc0208240 - 0xc0208298
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
futex hash table entries: 256 (order: -1, 3072 bytes, linear)
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
SA1111 Microprocessor Companion Chip: silicon revision 1, metal revision 1
sa1111 sa1111.0: Providing IRQ61-115
sa1111-rab 0400: dmabounce: registered device
sa1111-rab 0600: dmabounce: registered device
SCSI subsystem initialized
clocksource: Switched to clocksource oscr0
genirq: Setting trigger mode 3 for irq 112 failed (sa1111_type_irq+0x0/0x84)
genirq: Setting trigger mode 3 for irq 114 failed (sa1111_type_irq+0x0/0x84)
jornada720_pcmcia_configure_socket(): config socket 0 vcc 0 vpp 0
genirq: Setting trigger mode 3 for irq 113 failed (sa1111_type_irq+0x0/0x84)
genirq: Setting trigger mode 3 for irq 115 failed (sa1111_type_irq+0x0/0x84)
jornada720_pcmcia_configure_socket(): config socket 1 vcc 0 vpp 0
NET: Registered protocol family 2
tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
TCP: Hash tables configured (established 1024 bind 1024)
UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
NET: Registered protocol family 1
NetWinder Floating Point Emulator V0.97 (double precision)
SSP: device initialized with irq
workingset: timestamp_bits=30 max_order=15 bucket_order=0
io scheduler mq-deadline registered
io scheduler kyber registered
Epson S1D13XXX FB Driver
s1d13xxxfb: chip production id 4 = S1D13506
s1d13xxxfb: chip revision 1
s1d13xxxfb: regs mapped at 0x(ptrval), fb 512 KiB mapped at 0x(ptrval)
Console: switching to colour frame buffer device 80x30
fb0: S1D13xxx frame buffer device
Serial: SA11x0 driver
sa11x0-uart.1: ttySA1 at MMIO 0x80010000 (irq = 16, base_baud = 230400) is a SA1100
sa11x0-uart.3: ttySA0 at MMIO 0x80050000 (irq = 18, base_baud = 230400) is a SA1100
loop: module loaded
jornada720_pcmcia_configure_socket(): config socket 1 vcc 33 vpp 33
input: HP Jornada 720 keyboard as /devices/platform/jornada720_kbd/input/input0
input: HP Jornada 7xx Touchscreen as /devices/platform/jornada_ts/input/input1
sa1100-rtc sa1100-rtc: registered as rtc0
sa1100-rtc sa1100-rtc: setting system clock to 1970-01-01T00:01:00 UTC (60)
NET: Registered protocol family 17
Waiting 5 sec before mounting root device...
jornada720_pcmcia_configure_socket(): config socket 1 vcc 33 vpp 33
jornada720_pcmcia_configure_socket(): config socket 1 vcc 33 vpp 33
pcmcia_socket pcmcia_socket1: pccard: PCMCIA card inserted into slot 1
pcmcia 1.0: pcmcia: registering new device pcmcia1.0 (IRQ: 111)
jornada720_pcmcia_configure_socket(): config socket 1 vcc 33 vpp 0
jornada720_pcmcia_configure_socket(): config socket 1 vcc 33 vpp 0
scsi host0: pata_pcmcia
ata1: PATA max PIO0 cmd 0xc8870000 ctl 0xc887000e irq 111
ata1.00: CFA: CF Card, Ver7.02K, max PIO6
ata1.00: 7806960 sectors, multi 1: LBA48
scsi 0:0:0:0: Direct-Access ATA CF Card .02K PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 7806960 512-byte logical blocks: (4.00 GB/3.72 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sda: sda1 sda2 sda3
sd 0:0:0:0: [sda] Attached SCSI removable disk
random: fast init done
EXT2-fs (sda2): warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem) on device 8:2.
Freeing unused kernel memory: 136K
Kernel memory protection not selected by kernel config.
Run /sbin/init as init process
random: crng init done
Regards
Stefan