[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: APEX compactflash loading Problems



On Sat, Mar 15, 2008 at 09:32:38AM -0700, MojoMagic811 wrote:
> 
> So it turns out that the partition for the APEX bootloader must be 32 MB. 
> However, now I am running into another problem trying to boot the kernel.  I
> get stuck in a loop of some sort as soon below

Aha, it was a LOLO bug.

> apex> copy ext2://1/boot/zImage-lpd79520-2.6.12 $bootaddr
> # copy ext2://1/boot/zImage-lpd79520-2.6.12 0x20008000
> 1162672 bytes transferred
> apex> boot console=ttyAM1,115200 root=/dev/hda1 3
> ATAG_HEADER
> ATAG_MEM: start 0x20000000  size 0x02000000
> ATAG_CMDLINE: (39 bytes) 'console=ttyAM1,115200 root=/dev/hda1 3'
> ATAG_END
> Booting kernel at 0x20008000...
> Uncompressing
> Linux.............................................................
> Linux version 2.6.12 (vchang@localhost.localdomain) (gcc version 3.4.1) #2
> Tue 8

At this point, there isn't really anything 'APEX' about your system.
If you are having trouble it is because there is something awry with
your kernel.  Try removing systems from the kernel build.  I would
suspect the frame buffer driver because, IIRC, that's where the
soft_cursor code is.

> CPU: ARM720T [41807203] revision 3 (ARMv4T)
> Machine: Logic Product Development LPD79520-10
> Memory policy: ECC disabled, Data cache writeback
> Built 1 zonelists
> Kernel command line: console=ttyAM1,115200 root=/dev/hda1 3
> PID hash table entries: 256 (order: 8, 4096 bytes)
> Console: colour dummy device 80x30
> Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
> Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
> Memory: 32MB = 32MB total
> Memory: 29952KB available (2016K code, 319K data, 96K init)
> Mount-cache hash table entries: 512
> CPU: Testing write buffer coherency: ok
> NET: Registered protocol family 16
> CLCD: registering amba devices
>   0 -> 0
> NetWinder Floating Point Emulator V0.97 (double precision)
> JFFS2 version 2.2. (C) 2001-2003 Red Hat, Inc.
> CLCD: lh7952x FB hardware, 3.5in LMQVGA display
> Console: switching to colour frame buffer device 80x40
> Real Time Clock Driver v1.12
> ttyAM0 at MMIO 0xfffc0000 (irq = 23) is a LH7952X
> ttyAM1 at MMIO 0xfffc1000 (irq = 24) is a LH7952X
> ttyAM2 at MMIO 0xfffc2000 (irq = 25) is a LH7952X
> io scheduler noop registered
> io scheduler anticipatory registered
> io scheduler deadline registered
> io scheduler cfq registered
> loop: loaded (max 8 devices)
> smc91x: IOADDR c2854000 doesn't match configuration (300).
> smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre <nico@cam.org>
> eth0: SMC91C11xFD (rev 1) at c2854000 IRQ 32 [nowait]
> eth0: Ethernet addr: 00:08:ee:00:64:8d
> Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
> ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
> hda: probing with STATUS(0x50) instead of ALTSTATUS(0x67)
> hda: SanDisk SDCFB-128, CFA DISK drive
> ide0 at 0xf5021000-0xf5021007,0xf5021808 on irq -1
> hda: max request size: 128KiB
> hda: 250880 sectors (128 MB) w/1KiB Cache, CHS=980/8/32
> hda: cache flushes not supported
> hda: hda1 hda2
> physmap flash device: 1000000 at 40000000
> phys_mapped_flash: Found 1 x16 devices at 0x0 in 16-bit bank
> Intel/Sharp Extended Query Table at 0x0031
> Using buffer write method
> cfi_cmdset_0001: Erase suspend on write enabled
> RedBoot partition parsing not available
> input: ads7843-lh7 ADS7843 touchscreen driver
> Advanced Linux Sound Architecture Driver Version 1.0.9rc2  (Thu Mar 24
> 10:33:39.
> ALSA device list:
>   #0:
> NET: Registered protocol family 2
> IP: routing cache hash table of 512 buckets, 4Kbytes
> TCP established hash table entries: 2048 (order: 2, 16384 bytes)
> TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
> TCP: Hash tables configured (established 2048 bind 2048)
> NET: Registered protocol family 1
> NET: Registered protocol family 17
> hda: hda1 hda2
> hda: hda1 hda2
> VFS: Mounted root (ext2 filesystem) readonly.
> Freeing init memory: 96K
> LDMSTM: PC = c011d9e0, instr = e8ae000f, addr = c1c18802, eaddr = c1c187f6
> 
> Pid: 3, comm:            events/0
> CPU: 0
> PC is at soft_cursor+0x8c/0x1dc
> LR is at 0xc1c187f6
> pc : [<c011d9e0>]    lr : [<c1c187f6>]    Not tainted
> sp : c02f5e64  ip : c02f5eec  fp : c02f5ea8
> r10: 00000000  r9 : 00000000  r8 : c1c187e0
> r7 : c037ec00  r6 : c02f5ebc  r5 : 00000006  r4 : c1c187e6
> r3 : c0225ab4  r2 : c02cf801  r1 : 00000000  r0 : 00000000
> Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  Segment kernel
> Control: 217F  Table: 20004017  DAC: 00000017
> [<c00284c4>] (do_alignment_ldmstm+0x0/0x290) from [<c0028ab0>]
> (do_alignment+0x)
> [<c0028754>] (do_alignment+0x0/0x510) from [<c0027784>]
> (do_DataAbort+0x3c/0x9c)
> [<c0027748>] (do_DataAbort+0x0/0x9c) from [<c002079c>]
> (__dabt_svc+0x3c/0x60)
> r8 = E8AE000F  r7 = C1C187F6  r6 = 00000004  r5 = 000E0000
> r4 = FFFFFFFF
> [<c011d954>] (soft_cursor+0x0/0x1dc) from [<c0117cc0>]
> (bit_cursor+0x48c/0x4a0)
> [<c0117834>] (bit_cursor+0x0/0x4a0) from [<c0112548>]
> (fb_flashcursor+0x260/0x2)
> [<c01122e8>] (fb_flashcursor+0x0/0x290) from [<c00470fc>]
> (worker_thread+0x1ec/)
> [<c0046f10>] (worker_thread+0x0/0x298) from [<c004b714>]
> (kthread+0xe4/0x114)
> [<c004b630>] (kthread+0x0/0x114) from [<c00384cc>] (do_exit+0x0/0xaa4)
> r8 = 00000000  r7 = 00000000  r6 = 00000000  r5 = 00000000
> r4 = 00000000
> LDMSTM: PC = c011d9e0, instr = e8ae000f, addr = c1c18802, eaddr = c1c187f6
> 
> Pid: 3, comm:            events/0
> CPU: 0
> PC is at soft_cursor+0x8c/0x1dc
> LR is at 0xc1c187f6
> pc : [<c011d9e0>]    lr : [<c1c187f6>]    Not tainted
> sp : c02f5e64  ip : c02f5eec  fp : c02f5ea8
> r10: 00000000  r9 : 00000000  r8 : c1c187e0
> r7 : c037ec00  r6 : c02f5ebc  r5 : 00000006  r4 : c1c187e6
> r3 : c0225ab4  r2 : c01f3301  r1 : 00000000  r0 : 00000000
> Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  Segment kernel
> Control: 217F  Table: 20004017  DAC: 00000017
> [<c00284c4>] (do_alignment_ldmstm+0x0/0x290) from [<c0028ab0>]
> (do_alignment+0x)
> [<c0028754>] (do_alignment+0x0/0x510) from [<c0027784>]
> (do_DataAbort+0x3c/0x9c)
> [<c0027748>] (do_DataAbort+0x0/0x9c) from [<c002079c>]
> (__dabt_svc+0x3c/0x60)
> r8 = E8AE000F  r7 = C1C187F6  r6 = 00000004  r5 = 000E0000
> r4 = FFFFFFFF
> [<c011d954>] (soft_cursor+0x0/0x1dc) from [<c0117cc0>]
> (bit_cursor+0x48c/0x4a0)
> [<c0117834>] (bit_cursor+0x0/0x4a0) from [<c0112548>]
> (fb_flashcursor+0x260/0x2)
> [<c01122e8>] (fb_flashcursor+0x0/0x290) from [<c00470fc>]
> (worker_thread+0x1ec/)
> [<c0046f10>] (worker_thread+0x0/0x298) from [<c004b714>]
> (kthread+0xe4/0x114)
> [<c004b630>] (kthread+0x0/0x114) from [<c00384cc>] (do_exit+0x0/0xaa4)
> r8 = 00000000  r7 = 00000000  r6 = 00000000  r5 = 00000000
> r4 = 00000000
> LDMSTM: PC = c011d9e0, instr = e8ae000f, addr = c1c18802, eaddr = c1c187f6
> 
> Pid: 3, comm:            events/0
> CPU: 0
> PC is at soft_cursor+0x8c/0x1dc
> LR is at 0xc1c187f6
> pc : [<c011d9e0>]    lr : [<c1c187f6>]    Not tainted
> sp : c02f5e64  ip : c02f5eec  fp : c02f5ea8
> r10: 00000000  r9 : 00000000  r8 : c1c187e0
> r7 : c037ec00  r6 : c02f5ebc  r5 : 00000006  r4 : c1c187e6
> r3 : c0225ab4  r2 : c01f3301  r1 : 00000000  r0 : 00000000
> Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  Segment kernel
> Control: 217F  Table: 2000C017  DAC: 00000017
> [<c00284c4>] (do_alignment_ldmstm+0x0/0x290) from [<c0028ab0>]
> (do_alignment+0x)
> [<c0028754>] (do_alignment+0x0/0x510) from [<c0027784>]
> (do_DataAbort+0x3c/0x9c)
> [<c0027748>] (do_DataAbort+0x0/0x9c) from [<c002079c>]
> (__dabt_svc+0x3c/0x60)
> r8 = E8AE000F  r7 = C1C187F6  r6 = 00000004  r5 = 000E0000
> r4 = FFFFFFFF
> [<c011d954>] (soft_cursor+0x0/0x1dc) from [<c0117cc0>]
> (bit_cursor+0x48c/0x4a0)
> [<c0117834>] (bit_cursor+0x0/0x4a0) from [<c0112548>]
> (fb_flashcursor+0x260/0x2)
> [<c01122e8>] (fb_flashcursor+0x0/0x290) from [<c00470fc>]
> (worker_thread+0x1ec/)
> [<c0046f10>] (worker_thread+0x0/0x298) from [<c004b714>]
> (kthread+0xe4/0x114)
> [<c004b630>] (kthread+0x0/0x114) from [<c00384cc>] (do_exit+0x0/0xaa4)
> r8 = 00000000  r7 = 00000000  r6 = 00000000  r5 = 00000000
> r4 = 00000000
> LDMSTM: PC = c011d9e0, instr = e8ae000f, addr = c1c18802, eaddr = c1c187f6
> 
> Pid: 3, comm:            events/0
> CPU: 0
> PC is at soft_cursor+0x8c/0x1dc
> LR is at 0xc1c187f6
> pc : [<c011d9e0>]    lr : [<c1c187f6>]    Not tainted
> sp : c02f5e64  ip : c02f5eec  fp : c02f5ea8
> r10: 00000000  r9 : 00000000  r8 : c1c187e0
> r7 : c037ec00  r6 : c02f5ebc  r5 : 00000006  r4 : c1c187e6
> r3 : c0225ab4  r2 : c01f3301  r1 : 00000000  r0 : 00000000
> Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  Segment kernel
> Control: 217F  Table: 2000C017  DAC: 00000017
> [<c00284c4>] (do_alignment_ldmstm+0x0/0x290) from [<c0028ab0>]
> (do_alignment+0x)
> [<c0028754>] (do_alignment+0x0/0x510) from [<c0027784>]
> (do_DataAbort+0x3c/0x9c)
> [<c0027748>] (do_DataAbort+0x0/0x9c) from [<c002079c>]
> (__dabt_svc+0x3c/0x60)
> r8 = E8AE000F  r7 = C1C187F6  r6 = 00000004  r5 = 000E0000
> r4 = FFFFFFFF
> [<c011d954>] (soft_cursor+0x0/0x1dc) from [<c0117cc0>]
> (bit_cursor+0x48c/0x4a0)
> [<c0117834>] (bit_cursor+0x0/0x4a0) from [<c0112548>]
> (fb_flashcursor+0x260/0x2)
> [<c01122e8>] (fb_flashcursor+0x0/0x290) from [<c00470fc>]
> (worker_thread+0x1ec/)
> [<c0046f10>] (worker_thread+0x0/0x298) from [<c004b714>]
> (kthread+0xe4/0x114)
> [<c004b630>] (kthread+0x0/0x114) from [<c00384cc>] (do_exit+0x0/0xaa4)
> r8 = 00000000  r7 = 00000000  r6 = 00000000  r5 = 00000000
> r4 = 00000000
> 
> ...
> 
> -- 
> View this message in context: http://www.nabble.com/APEX-compactflash-loading-Problems-tp16043820p16069733.html
> Sent from the debian-arm mailing list archive at Nabble.com.
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-arm-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 


Reply to: