All of lore.kernel.org
 help / color / mirror / Atom feed
* StrongARM SA-1110 / SA-1111 and Kernel 4.9.210 (Jornada 720)
@ 2020-01-22  8:10 Stefan Lehner
  2020-01-22  9:22 ` Russell King - ARM Linux admin
  0 siblings, 1 reply; 8+ messages in thread
From: Stefan Lehner @ 2020-01-22  8:10 UTC (permalink / raw)
  To: linux-arm-kernel

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: StrongARM SA-1110 / SA-1111 and Kernel 4.9.210 (Jornada 720)
  2020-01-22  8:10 StrongARM SA-1110 / SA-1111 and Kernel 4.9.210 (Jornada 720) Stefan Lehner
@ 2020-01-22  9:22 ` Russell King - ARM Linux admin
  2020-01-22 10:21   ` Stefan Lehner
  0 siblings, 1 reply; 8+ messages in thread
From: Russell King - ARM Linux admin @ 2020-01-22  9:22 UTC (permalink / raw)
  To: Stefan Lehner; +Cc: linux-arm-kernel

On Wed, Jan 22, 2020 at 09:10:13AM +0100, Stefan Lehner wrote:
> 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?

> 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?

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

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: StrongARM SA-1110 / SA-1111 and Kernel 4.9.210 (Jornada 720)
  2020-01-22  9:22 ` Russell King - ARM Linux admin
@ 2020-01-22 10:21   ` Stefan Lehner
  2020-01-22 10:25     ` Russell King - ARM Linux admin
  0 siblings, 1 reply; 8+ messages in thread
From: Stefan Lehner @ 2020-01-22 10:21 UTC (permalink / raw)
  To: linux-arm-kernel; +Cc: 'Russell King - ARM Linux admin'


On Wed, Jan 22, 2020 at 09:10:13AM +0100, Stefan Lehner wrote:
> 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?

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


> 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?

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

Bye
Stefan



_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: StrongARM SA-1110 / SA-1111 and Kernel 4.9.210 (Jornada 720)
  2020-01-22 10:21   ` Stefan Lehner
@ 2020-01-22 10:25     ` Russell King - ARM Linux admin
  2020-01-23 16:24       ` AW: " Stefan Lehner
  2020-02-07 11:51       ` Stefan Lehner
  0 siblings, 2 replies; 8+ messages in thread
From: Russell King - ARM Linux admin @ 2020-01-22 10:25 UTC (permalink / raw)
  To: Stefan Lehner; +Cc: linux-arm-kernel

On Wed, Jan 22, 2020 at 11:21:36AM +0100, Stefan Lehner wrote:
> 
> On Wed, Jan 22, 2020 at 09:10:13AM +0100, Stefan Lehner wrote:
> > 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?
> 
> 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?

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* AW: StrongARM SA-1110 / SA-1111 and Kernel 4.9.210 (Jornada 720)
  2020-01-22 10:25     ` Russell King - ARM Linux admin
@ 2020-01-23 16:24       ` Stefan Lehner
  2020-02-07 11:51       ` Stefan Lehner
  1 sibling, 0 replies; 8+ messages in thread
From: Stefan Lehner @ 2020-01-23 16:24 UTC (permalink / raw)
  To: linux-arm-kernel; +Cc: 'Russell King - ARM Linux admin'

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:linux-arm-kernel-bounces@lists.infradead.org]
Im Auftrag von Russell King - ARM Linux admin
Gesendet: Mittwoch, 22. Jänner 2020 11:25
An: Stefan Lehner
Cc: linux-arm-kernel@lists.infradead.org
Betreff: Re: StrongARM SA-1110 / SA-1111 and Kernel 4.9.210 (Jornada 720)

On Wed, Jan 22, 2020 at 11:21:36AM +0100, Stefan Lehner wrote:
> 
> On Wed, Jan 22, 2020 at 09:10:13AM +0100, Stefan Lehner wrote:
> > 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?
> 
> 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?

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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* AW: StrongARM SA-1110 / SA-1111 and Kernel 4.9.210 (Jornada 720)
  2020-01-22 10:25     ` Russell King - ARM Linux admin
  2020-01-23 16:24       ` AW: " Stefan Lehner
@ 2020-02-07 11:51       ` Stefan Lehner
  2020-02-07 23:19         ` Russell King - ARM Linux admin
  1 sibling, 1 reply; 8+ messages in thread
From: Stefan Lehner @ 2020-02-07 11:51 UTC (permalink / raw)
  To: linux-arm-kernel; +Cc: '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:linux-arm-kernel-bounces@lists.infradead.org]
Im Auftrag von Russell King - ARM Linux admin
Gesendet: Mittwoch, 22. Jänner 2020 11:25
An: Stefan Lehner
Cc: linux-arm-kernel@lists.infradead.org
Betreff: Re: StrongARM SA-1110 / SA-1111 and Kernel 4.9.210 (Jornada 720)

On Wed, Jan 22, 2020 at 11:21:36AM +0100, Stefan Lehner wrote:
> 
> On Wed, Jan 22, 2020 at 09:10:13AM +0100, Stefan Lehner wrote:
> > 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?
> 
> 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?

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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: StrongARM SA-1110 / SA-1111 and Kernel 4.9.210 (Jornada 720)
  2020-02-07 11:51       ` Stefan Lehner
@ 2020-02-07 23:19         ` Russell King - ARM Linux admin
  2020-02-08  7:54           ` AW: " Stefan Lehner
  0 siblings, 1 reply; 8+ messages in thread
From: Russell King - ARM Linux admin @ 2020-02-07 23:19 UTC (permalink / raw)
  To: Stefan Lehner; +Cc: linux-arm-kernel

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.

On Fri, Feb 07, 2020 at 12:51:51PM +0100, Stefan Lehner wrote:
> 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:linux-arm-kernel-bounces@lists.infradead.org]
> Im Auftrag von Russell King - ARM Linux admin
> Gesendet: Mittwoch, 22. Jänner 2020 11:25
> An: Stefan Lehner
> Cc: linux-arm-kernel@lists.infradead.org
> Betreff: Re: StrongARM SA-1110 / SA-1111 and Kernel 4.9.210 (Jornada 720)
> 
> On Wed, Jan 22, 2020 at 11:21:36AM +0100, Stefan Lehner wrote:
> > 
> > On Wed, Jan 22, 2020 at 09:10:13AM +0100, Stefan Lehner wrote:
> > > 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?
> > 
> > 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?
> 
> -- 
> 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
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
> 

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* AW: StrongARM SA-1110 / SA-1111 and Kernel 4.9.210 (Jornada 720)
  2020-02-07 23:19         ` Russell King - ARM Linux admin
@ 2020-02-08  7:54           ` Stefan Lehner
  0 siblings, 0 replies; 8+ messages in thread
From: Stefan Lehner @ 2020-02-08  7:54 UTC (permalink / raw)
  To: linux-arm-kernel; +Cc: 'Russell King - ARM Linux admin'

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:linux-arm-kernel-bounces@lists.infradead.org]
Im Auftrag von Russell King - ARM Linux admin
Gesendet: Samstag, 8. Februar 2020 00:20
An: Stefan Lehner
Cc: linux-arm-kernel@lists.infradead.org
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.

On Fri, Feb 07, 2020 at 12:51:51PM +0100, Stefan Lehner wrote:
> 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:linux-arm-kernel-bounces@lists.infradead.org]
> Im Auftrag von Russell King - ARM Linux admin
> Gesendet: Mittwoch, 22. Jänner 2020 11:25
> An: Stefan Lehner
> Cc: linux-arm-kernel@lists.infradead.org
> Betreff: Re: StrongARM SA-1110 / SA-1111 and Kernel 4.9.210 (Jornada 720)
> 
> On Wed, Jan 22, 2020 at 11:21:36AM +0100, Stefan Lehner wrote:
> > 
> > On Wed, Jan 22, 2020 at 09:10:13AM +0100, Stefan Lehner wrote:
> > > 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?
> > 
> > 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?
> 
> -- 
> 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
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
> 

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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-02-08  7:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-22  8:10 StrongARM SA-1110 / SA-1111 and Kernel 4.9.210 (Jornada 720) Stefan Lehner
2020-01-22  9:22 ` Russell King - ARM Linux admin
2020-01-22 10:21   ` Stefan Lehner
2020-01-22 10:25     ` Russell King - ARM Linux admin
2020-01-23 16:24       ` AW: " Stefan Lehner
2020-02-07 11:51       ` Stefan Lehner
2020-02-07 23:19         ` Russell King - ARM Linux admin
2020-02-08  7:54           ` AW: " Stefan Lehner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.