Subject: StrongARM SA-1110 / SA-1111 and Kernel 4.9.210 (Jornada 720)

From: "Stefan Lehner" <[email-masked]>
Date: Wed, 22 Jan 2020 09:10:13 +0100

Hi!
I like to get a newer Linux Kernel running on my Jornada 720. It has a
StrongArm SA-1110 CPU and the SA-1111 companion chip. 
I patched the kernel source with the BX emulation to run a newer Debian
userland. The kernel compiled fine. 
It starts to boot on the Jornada with the linexec bootloader. But it seems
that it doesnt detect any CF or PCMCIA card. I managed to get the
jornada720_pcmcia_configure_socket() running and it detects the card and
powers it up with the correct voltage (3V for the CF card in socket 1). But
thats all. No CF card is being recognized and so the IDE driver cannot load
the card. The same thing happens if i insert a PCMCIA card into socket 0,
jornada720_pcmcia_configure_socket() powers it up with the correct voltage
but the card itself is not recognized.  I hope that somebody can help me or
give me a hint to solve this!

Thanks 
Stefan

Here ist the console output:

--------linexec--------
LinExec: UART Initialized.
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 4.9.210 (stefan@spnub1804work) (gcc version 7.4.0
(Ubuntu/Linaro 7.4.0-1ubuntu1~18.04.1) ) #2 Tue Jan 21 09:37:28 UTC 2020
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
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
Kernel command line: root=/dev/hda2 mem=128m console=ttySA0,115200n8
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 126100K/131072K available (2844K kernel code, 114K rwdata, 596K
rodata, 120K init, 83K bss, 4972K reserved, 0K cma-reserved)
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xc8800000 - 0xff800000   ( 880 MB)
    lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .text : 0xc0208000 - 0xc04cf390   (2845 kB)
      .init : 0xc0566000 - 0xc0584000   ( 120 kB)
      .data : 0xc0584000 - 0xc05a09a0   ( 115 kB)
       .bss : 0xc05a09a0 - 0xc05b5828   (  84 kB)
SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:16 nr_irqs:61 61
irq: Cannot allocate irq_descs @ IRQ1, assuming pre-allocated
irq: Cannot allocate irq_descs @ IRQ33, assuming pre-allocated
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
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)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
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)
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
clocksource: Switched to clocksource oscr0
genirq: Setting trigger mode 3 for irq 112 failed (sa1111_type_irq+0x0/0x8c)
genirq: Setting trigger mode 3 for irq 114 failed (sa1111_type_irq+0x0/0x8c)
jornada720_pcmcia_configure_socket(): config socket 0 vcc 0 vpp 0
genirq: Setting trigger mode 3 for irq 113 failed (sa1111_type_irq+0x0/0x8c)
genirq: Setting trigger mode 3 for irq 115 failed (sa1111_type_irq+0x0/0x8c)
jornada720_pcmcia_configure_socket(): config socket 1 vcc 0 vpp 0
NET: Registered protocol family 2
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
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 noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Epson S1D13XXX FB Driver
s1d13xxxfb: chip production id 4 = S1D13506
s1d13xxxfb: chip revision 1
s1d13xxxfb: regs mapped at 0xf0000000, fb 512 KiB mapped at 0xf1000000
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
nbd: registered device at major 43
Uniform Multi-Platform E-IDE driver
ide-gd driver 1.18
mousedev: PS/2 mouse device common for all mice
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: rtc core: registered sa1100-rtc as rtc0
NET: Registered protocol family 17
Registering BX emulation handler
sa1100-rtc sa1100-rtc: setting system clock to 1970-01-01 00:00:22 UTC (22)
VFS: Cannot open root device "hda2" or unknown-block(0,0): error -6
Please append a correct "root=" boot option; here are the available
partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(0,0)
CPU: 0 PID: 1 Comm: swapper Not tainted 4.9.210 #2
Hardware name: HP Jornada 720
Backtrace:
[<c0212f30>] (dump_backtrace) from [<c02131e4>] (show_stack+0x18/0x1c)
r6:00008000 r5:00000000 r4:c05a0c08
[<c02131cc>] (show_stack) from [<c036b604>] (dump_stack+0x20/0x28)
[<c036b5e4>] (dump_stack) from [<c0271640>] (panic+0xb8/0x23c)
[<c027158c>] (panic) from [<c0567204>] (mount_block_root+0x22c/0x310)
r3:00000000 r2:00000000 r1:c0131ee0 r0:c052296c
r7:c7a99000
[<c0566fd8>] (mount_block_root) from [<c0567344>] (mount_root+0x5c/0x78)
r10:c057c838 r9:00000009 r8:c0563ee0 r7:c057c834 r6:00000008 r5:c057c86d
r4:00000000
[<c05672e8>] (mount_root) from [<c0567484>] (prepare_namespace+0x124/0x174)
r4:c05a09c4
[<c0567360>] (prepare_namespace) from [<c0566dfc>]
(kernel_init_freeable+0x180/0x1c8)
r5:c05a09a0 r4:00000052
[<c0566c7c>] (kernel_init_freeable) from [<c04cb5e4>]
(kernel_init+0x10/0xf8)
r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c04cb5d4
r4:00000000
[<c04cb5d4>] (kernel_init) from [<c0210268>] (ret_from_fork+0x14/0x2c)
r4:00000000
---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(0,0)
random: fast init done
random: crng init done

_______________________________________________
linux-arm-kernel mailing list
[email-masked]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel