Modify

Opened 9 years ago

Closed 9 years ago

Last modified 4 years ago

#5078 closed defect (fixed)

RB532 CF Slot driver missing from trunk, present in 8.09

Reported by: drexel@… Owned by: developers
Priority: high Milestone: Barrier Breaker 14.07
Component: kernel Version: Trunk
Keywords: Cc:

Description

Building trunk for rb532 platform fails booting, maybe due to the driver for the built-in CF card on the rb532 not being present in the kernel anymore.

If you 'make kernel_menuconfig' on a 8.09 release, then go to 'Device Drivers-->Block Devices' there is an option at the bottom for 'CF slot of RB532 board'. This option is not present in the same section of 'make kernel_menuconfig' in trunk.

There is a different option called 'Very old hard disk (MFM/RLL/IDE) driver in trunk that seems to replace the RB532-CF option, but a build with this option enabled blows up the same as without.

RouterBOOT booter 2.7

RouterBoard 532A

CPU frequency: 399 MHz
  Memory size:  64 MB

Press any key within 5 seconds to enter setup.....
Booting CF
Loading kernel... done
setting up elf image... OK
jumping to kernel code
Linux version 2.6.28.10 (drexel@moonboots) (gcc version 4.1.2) #2 Thu May 7 17:9
CPU revision is: 0001800a (MIPS 4Kc)
Determined physical RAM map:
 memory: 47fe79fc @ b8018400 (usable)
User-defined physical RAM map:
 memory: 04000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
  Normal   0x00000000 -> 0x00004000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00004000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: console=ttyS0,115200 gpio=16383 mem=64M kmac=00:0C:42:09:D 
korina mac = 00:0C:42:09:DC:71
Primary instruction cache 8kB, VIPT, 4-way, linesize 16 bytes.
Primary data cache 8kB, 4-way, VIPT, no aliases, linesize 16 bytes
Initializing IRQ's: 168 out of 256
PID hash table entries: 256 (order: 8, 1024 bytes)
calculating r4koff... 000c34f8(799992)
CPU frequency 400.00 MHz
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 61072k/65536k available (2095k kernel code, 4392k reserved, 446k data, )
Calibrating delay loop... 398.33 BogoMIPS (lpj=796672)
Mount-cache hash table entries: 512
net_namespace: 480 bytes
NET: Registered protocol family 16
PCI: Initializing PCI
SCSI subsystem initialized
pci 0000:00:02.0: PME# supported from D1 D2 D3hot D3cold
pci 0000:00:02.0: PME# disabled
pci 0000:00:03.0: PME# supported from D1 D2 D3hot D3cold
pci 0000:00:03.0: PME# disabled
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
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)
TCP reno registered
NET: Registered protocol family 1
squashfs: version 3.0 (2006/03/15) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY)  �© 2001-2006 Red Hat, Inc.
yaffs May  7 2009 16:19:01 Installing. 
msgmni has been set to 119
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver2 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x0 (irq = 104) is a 16550A
console [ttyS0] enabled
serial8250.0: ttyS0 at MMIO 0x0 (irq = 104) is a 16550A
loop: module loaded
nbd: registered device at major 43
via-rhine.c:v1.10-LK1.4.3 2007-03-06 Written by Donald Becker
PCI: Enabling device 0000:00:02.0 (0080 -> 0083)
eth0: VIA Rhine III at 0x50010000, 00:0c:42:09:dc:72, IRQ 142.
eth0: MII PHY found at address 1, status 0x7849 advertising 05e1 Link 0000.
PCI: Enabling device 0000:00:03.0 (0080 -> 0083)
eth1: VIA Rhine III at 0x50010100, 00:0c:42:09:dc:73, IRQ 143.
eth1: MII PHY found at address 1, status 0x7849 advertising 05e1 Link 0000.
PATA driver for RouterBOARD 532 Compact Flash version 0.1.0
scsi0 : pata-rb532-cf
ata1: PATA max PIO4 irq 149
ata1.00: CFA: , 20071116, max MWDMA4
ata1.00: 1981728 sectors, multi 0: LBA 
ata1.00: configured for PIO4
ata1.00: configured for PIO4
ata1: EH complete
scsi 0:0:0:0: Direct-Access     ATA                       2007 PQ: 0 ANSI: 5
NAND device: Manufacturer ID: 0xad, Chip ID: 0xf1 (Hynix NAND 128MiB 3,3V 8-bit)
Scanning device for bad blocks
Creating 2 MTD partitions on "gen_nand":
0x00000000-0x00400000 : "Routerboard NAND boot"
0x00400000-0x08000000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
split_squashfs: no squashfs found in "gen_nand"
rc32434_wdt: Watchdog Timer version 0.4, timer margin: 20 sec
nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
nf_conntrack.acct=1 kernel paramater, acct=1 nf_conntrack module option or
sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
TCP vegas registered
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
hd: no drives specified - use hd=cyl,head,sectors on kernel command line
yaffs: dev is 32505857 name is "mtdblock1"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.1, "mtdblock1"
yaffs: auto selecting yaffs2
yaffs: restored from checkpoint
yaffs_read_super: isCheckpointed 1
VFS: Mounted root (yaffs filesystem) readonly.
Freeing unused kernel memory: 136k freed
Algorithmics/MIPS FPU Emulator v1.5
Starting...
VFS: Can't find an ext2 filesystem on dev mtdblock0.
SQUASHFS error: Can't find a SQUASHFS superblock on mtdblock0
yaffs: dev is 32505856 name is "mtdblock0"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.0, "mtdblock0"
yaffs: auto selecting yaffs2
yaffs: restored from checkpoint
yaffs_read_super: isCheckpointed 1
modprobe: could not parse modules.dep
...

Attachments (0)

Change History (2)

comment:1 Changed 9 years ago by jow

  • Resolution set to fixed
  • Status changed from new to closed

RB532 is broken in trunk it's being worked on, support was restored in branches/8.09. Please use svn://svn.openwrt.org/openwrt/branches/8.09 for this platform.

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.