From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E876DC32771 for ; Wed, 22 Jan 2020 08:10:21 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7A4F12253D for ; Wed, 22 Jan 2020 08:10:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="QKLeI2sq" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7A4F12253D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=aon.at Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=xFpveKTXbDFE0P7POHt3l1oY8iKxC3TP705OwM1G8a0=; b=QKLeI2sqXjMXl1 7YoKLkpSnK2BdE/tNJW6NwKLTBJV8LdxfKBXvfOHL48PgXF2s5f9i4D10pvz6J3v+MtRB2boh/rPV /W+KuvbhaZ+Yf7cjkjy39vNuc9UnFtv6LwD9NApvU56ThYfTb8mtWqhHBLmEghhY5qu5Op69O0Ghe h/JURdjJcghJfcyAqTovs56k55Ps9h3I9sy+t6BInW36WhDLJ3o9N/dEFQVFCZS019QPgeDulXioA Dq13sciiHCPUUkXH12V6exBcJtQcW8tYldHqDN4Q0mM9JBDWmmV+mDmNC+yPNAVFT+iYm3qNMAneO f2zRLT6rIh/MXsCUzofA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iuB5g-0001lj-P9; Wed, 22 Jan 2020 08:10:20 +0000 Received: from smtpout.aon.at ([195.3.96.77]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iuB5d-0001lF-Go for linux-arm-kernel@lists.infradead.org; Wed, 22 Jan 2020 08:10:19 +0000 Received: (qmail 28152 invoked from network); 22 Jan 2020 08:10:15 -0000 Received: from 91-114-188-72.adsl.highway.telekom.at (HELO DESKTOP26LQET5) ([91.114.188.72]) (envelope-sender ) by smarthub86.res.a1.net (qmail-ldap-1.03) with DHE-RSA-AES256-GCM-SHA384 encrypted SMTP for ; 22 Jan 2020 08:10:15 -0000 X-A1Mail-Track-Id: 1579680614:28146:smarthub86:91.114.188.72:1 From: "Stefan Lehner" To: Subject: StrongARM SA-1110 / SA-1111 and Kernel 4.9.210 (Jornada 720) Date: Wed, 22 Jan 2020 09:10:13 +0100 Message-ID: <001a01d5d0fb$5f85ca70$1e915f50$@at> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Content-Language: de-at Thread-Index: AdXQ+18+iCBAQPV7QHOJ1sJSwoqGKQ== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200122_001018_021113_DF235ECC X-CRM114-Status: GOOD ( 10.80 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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. =A0I 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=3Dc020717f 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.=A0 Total pages: 32512 Kernel command line: root=3D/dev/hda2 mem=3D128m console=3DttySA0,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: =A0=A0=A0 vector=A0 : 0xffff0000 - 0xffff1000=A0=A0 (=A0=A0 4 kB) =A0=A0=A0 fixmap=A0 : 0xffc00000 - 0xfff00000=A0=A0 (3072 kB) =A0=A0=A0 vmalloc : 0xc8800000 - 0xff800000=A0=A0 ( 880 MB) =A0=A0=A0 lowmem=A0 : 0xc0000000 - 0xc8000000=A0=A0 ( 128 MB) =A0=A0=A0 modules : 0xbf000000 - 0xc0000000=A0=A0 (=A0 16 MB) =A0=A0=A0=A0=A0 .text : 0xc0208000 - 0xc04cf390=A0=A0 (2845 kB) =A0=A0=A0=A0=A0 .init : 0xc0566000 - 0xc0584000=A0=A0 ( 120 kB) =A0=A0=A0=A0=A0 .data : 0xc0584000 - 0xc05a09a0=A0=A0 ( 115 kB) =A0=A0=A0=A0=A0=A0 .bss : 0xc05a09a0 - 0xc05b5828=A0=A0 (=A0 84 kB) SLUB: HWalign=3D32, Order=3D0-3, MinObjects=3D0, CPUs=3D1, Nodes=3D1 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=3D683008) 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=3D30 max_order=3D15 bucket_order=3D0 io scheduler noop registered io scheduler deadline registered io scheduler cfq registered (default) Epson S1D13XXX FB Driver s1d13xxxfb: chip production id 4 =3D 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 =3D 16, base_baud =3D 230400)= is a SA1100 sa11x0-uart.3: ttySA0 at MMIO 0x80050000 (irq =3D 18, base_baud =3D 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=3D" 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: [] (dump_backtrace) from [] (show_stack+0x18/0x1c) r6:00008000 r5:00000000 r4:c05a0c08 [] (show_stack) from [] (dump_stack+0x20/0x28) [] (dump_stack) from [] (panic+0xb8/0x23c) [] (panic) from [] (mount_block_root+0x22c/0x310) r3:00000000 r2:00000000 r1:c0131ee0 r0:c052296c r7:c7a99000 [] (mount_block_root) from [] (mount_root+0x5c/0x78) r10:c057c838 r9:00000009 r8:c0563ee0 r7:c057c834 r6:00000008 r5:c057c86d r4:00000000 [] (mount_root) from [] (prepare_namespace+0x124/0x174) r4:c05a09c4 [] (prepare_namespace) from [] (kernel_init_freeable+0x180/0x1c8) r5:c05a09a0 r4:00000052 [] (kernel_init_freeable) from [] (kernel_init+0x10/0xf8) r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c04cb5d4 r4:00000000 [] (kernel_init) from [] (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