Skip to contentSkip to conversation

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

DISCUSSION Stefan Lehner 2 participants 8 messages Jan 22, 2020 – Feb 8, 2020

lore
Share & tools
lore
#0 lore raw

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 protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#1 lore raw
Quoted 9 lines · Stefan Lehner

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).

What was required for that?

Quoted 6 lines

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!

Have you tried "rootdelay=2" on the kernel command line, just in case it needs a bit of time to run other threads to probe the card?

Quoted 148 lines

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 protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

Signature · 8 lines
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up
According to speedtest.net: 11.9Mbps down 500kbps up

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#2 lore raw
Quoted 11 lines · Stefan Lehner

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).

Quoted 1 line

What was required for that?

I had to comment out:
# CONFIG_PCMCIA_SA1100 is not set
and activate:
CONFIG_PCMCIA_SA1111=y
in the kernel .config.

Quoted 2 lines

But
thats all. No CF card is being recognized and so the IDE driver cannot

load

Quoted 3 lines

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

Quoted 4 lines

give me a hint to solve this!

Quoted 2 lines

Have you tried "rootdelay=2" on the kernel command line, just in case it needs a bit of time to run other threads to probe the card?

You sir, are a genius! That was it. Now i can move on. Thank you very much.

Bye
Stefan

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

#3 lore raw
Quoted 12 lines · Stefan Lehner
Quoted 9 lines · Stefan Lehner

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).

Quoted 7 lines
Quoted 1 line
Quoted 1 line

What was required for that?

I had to comment out:
# CONFIG_PCMCIA_SA1100 is not set
and activate:
CONFIG_PCMCIA_SA1111=y
in the kernel .config.

Yes, you'll need CONFIG_PCMCIA_SA1111 set, because the Jornada720 uses the companion chip. CONFIG_PCMCIA_SA1100 should make no difference, so can we spend some time working out why you needed to disable it?

Did you get any error messages during boot with both enabled?

Signature · 8 lines
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up
According to speedtest.net: 11.9Mbps down 500kbps up

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#4 lore raw

Hi!
Yes we can make some tests. I simply commented it out because i thought that the kernel doesnt need it ...
If i have time i will try it with both options enabled.

Regards
Stefan

-----Ursprüngliche Nachricht-----
Von: linux-arm-kernel [mailto:[email protected]] Im Auftrag von Russell King - ARM Linux admin
Gesendet: Mittwoch, 22. Jänner 2020 11:25
An: Stefan Lehner
Cc: [email protected]
Betreff: Re: StrongARM SA-1110 / SA-1111 and Kernel 4.9.210 (Jornada 720)

Quoted 8 lines · Stefan Lehner
Quoted 6 lines · Stefan Lehner

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

Quoted 11 lines
Quoted 5 lines

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).

Quoted 1 line

What was required for that?

I had to comment out:
# CONFIG_PCMCIA_SA1100 is not set
and activate:
CONFIG_PCMCIA_SA1111=y
in the kernel .config.

Yes, you'll need CONFIG_PCMCIA_SA1111 set, because the Jornada720 uses the companion chip. CONFIG_PCMCIA_SA1100 should make no difference, so can we spend some time working out why you needed to disable it?

Did you get any error messages during boot with both enabled?

Signature · 15 lines
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps
up
According to speedtest.net: 11.9Mbps down 500kbps up

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


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#5 lore raw
In reply to Russell King - ARM Linux admin

Hello!
I tested it with both options enabled and it makes no difference. No error messages during boot. The kernel compiles fine!

Regards
Stefan

-----Ursprüngliche Nachricht-----
Von: linux-arm-kernel [mailto:[email protected]] Im Auftrag von Russell King - ARM Linux admin
Gesendet: Mittwoch, 22. Jänner 2020 11:25
An: Stefan Lehner
Cc: [email protected]
Betreff: Re: StrongARM SA-1110 / SA-1111 and Kernel 4.9.210 (Jornada 720)

Quoted 8 lines · Stefan Lehner
Quoted 6 lines · Stefan Lehner

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

Quoted 11 lines
Quoted 5 lines

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).

Quoted 1 line

What was required for that?

I had to comment out:
# CONFIG_PCMCIA_SA1100 is not set
and activate:
CONFIG_PCMCIA_SA1111=y
in the kernel .config.

Yes, you'll need CONFIG_PCMCIA_SA1111 set, because the Jornada720 uses the companion chip. CONFIG_PCMCIA_SA1100 should make no difference, so can we spend some time working out why you needed to disable it?

Did you get any error messages during boot with both enabled?

Signature · 15 lines
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps
up
According to speedtest.net: 11.9Mbps down 500kbps up

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


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#6 lore raw

Hi,

Hmm, if you enable early printk, can you then get the kernel boot messages?

Enable CONFIG_EARLY_PRINTK, and then supply "earlyprintk" on the kernel command line.

Thanks.

Quoted 63 lines · Stefan Lehner

Hello!
I tested it with both options enabled and it makes no difference. No error messages during boot. The kernel compiles fine!

Regards
Stefan

-----Ursprüngliche Nachricht-----
Von: linux-arm-kernel [mailto:[email protected]] Im Auftrag von Russell King - ARM Linux admin
Gesendet: Mittwoch, 22. Jänner 2020 11:25
An: Stefan Lehner
Cc: [email protected]
Betreff: Re: StrongARM SA-1110 / SA-1111 and Kernel 4.9.210 (Jornada 720)

Quoted 8 lines · Stefan Lehner
Quoted 6 lines · Stefan Lehner

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

Quoted 11 lines
Quoted 5 lines

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).

Quoted 1 line

What was required for that?

I had to comment out:
# CONFIG_PCMCIA_SA1100 is not set
and activate:
CONFIG_PCMCIA_SA1111=y
in the kernel .config.

Yes, you'll need CONFIG_PCMCIA_SA1111 set, because the Jornada720 uses the companion chip. CONFIG_PCMCIA_SA1100 should make no difference, so can we spend some time working out why you needed to disable it?

Did you get any error messages during boot with both enabled?

Signature · 15 lines
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps
up
According to speedtest.net: 11.9Mbps down 500kbps up

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


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Signature · 8 lines
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up
According to speedtest.net: 11.9Mbps down 500kbps up

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#7 lore raw

Hello!
You misunderstand me. It detects CF and PCMCIA also with both options enabled!
I think i messed up the kernel source with my first try. With a fresh kernel source and config the hardware works, as long as i comment in the CONFIG_PCMCIA_SA1111=y for CF and PCMCIA.

Thanks for your help.

Regards
Stefan Lehner

PS for Mr. Russell: Maybe you can have a look at my problem with the SA-1111 and USB in the other mail.

-----Ursprüngliche Nachricht-----
Von: linux-arm-kernel [mailto:[email protected]] Im Auftrag von Russell King - ARM Linux admin
Gesendet: Samstag, 8. Februar 2020 00:20
An: Stefan Lehner
Cc: [email protected]
Betreff: Re: StrongARM SA-1110 / SA-1111 and Kernel 4.9.210 (Jornada 720)

Hi,

Hmm, if you enable early printk, can you then get the kernel boot messages?

Enable CONFIG_EARLY_PRINTK, and then supply "earlyprintk" on the kernel command line.

Thanks.

Quoted 4 lines · Stefan Lehner

Hello!
I tested it with both options enabled and it makes no difference. No error messages during boot. The kernel compiles fine!

Quoted 8 lines

Regards
Stefan

-----Ursprüngliche Nachricht-----
Von: linux-arm-kernel

[mailto:[email protected]]

Quoted 6 lines

Im Auftrag von Russell King - ARM Linux admin
Gesendet: Mittwoch, 22. Jänner 2020 11:25
An: Stefan Lehner
Cc: [email protected]
Betreff: Re: StrongARM SA-1110 / SA-1111 and Kernel 4.9.210 (Jornada 720)

Quoted 7 lines
Quoted 6 lines · Stefan Lehner
Quoted 4 lines · Stefan Lehner

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

Quoted 5 lines
Quoted 2 lines
Quoted 2 lines

userland. The kernel compiled fine.
It starts to boot on the Jornada with the linexec bootloader. But it

seems

Quoted 2 lines
Quoted 2 lines

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

Quoted 1 line
Quoted 1 line
Quoted 1 line

powers it up with the correct voltage (3V for the CF card in socket

1).

Quoted 32 lines
Quoted 8 lines
Quoted 2 lines
Quoted 2 lines

What was required for that?

I had to comment out:
# CONFIG_PCMCIA_SA1100 is not set
and activate:
CONFIG_PCMCIA_SA1111=y
in the kernel .config.

Yes, you'll need CONFIG_PCMCIA_SA1111 set, because the Jornada720 uses the companion chip. CONFIG_PCMCIA_SA1100 should make no difference, so can we spend some time working out why you needed to disable it?

Did you get any error messages during boot with both enabled?

Signature · 15 lines
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps
up
According to speedtest.net: 11.9Mbps down 500kbps up

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


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Signature · 15 lines
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps
up
According to speedtest.net: 11.9Mbps down 500kbps up

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


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