Hi all,

I have an ADB P.DGA4001N, but it is a different hardware than what is
described in the wiki (http://wiki.openwrt.org/toh/adb/p.dg_a4001n1).
What I get in the console at boot time after unsuccessful flashing is:

CFE version 1.0.37-106.24 for A4001N TEF 0001 BCM96328 (32bit,SP,BE)
Build Date: Wed Dec  1 13:30:30 CET 2010 (sj1bovisem@thor)
Copyright (C) 2000-2009 Broadcom Corporation.

HS Serial flash device: name ID_W25X64, id 0xef17 size 8192KB
Total Flash size: 8192K with 2048 sectors
Chip ID: BCM6328B0, MIPS: 320MHz, DDR: 320MHz, Bus: 160MHz
Main Thread: TP0
Memory Test Passed
Total Memory: 33554432 bytes (32MB)
Boot Address: 0xb8000000

Board IP address                  : 192.168.1.1:ffffff00  
Host IP address                   : 192.168.1.100  
Gateway IP address                :   
Run from flash/host (f/h)         : f  
Default host run file name        : vmlinux  
Default host flash file name      : bcm963xx_fs_kernel  
Boot delay (0-9 seconds)          : 1  
Board Id (0-4)                    : 96328dg2x2  
Number of MAC Addresses (1-32)    : 11  
Base MAC Address                  : a4:52:6f:0c:ec:53  
PSI Size (1-64) KBytes            : 24  
Enable Backup PSI [0|1]           : 0  
System Log Size (0-256) KBytes    : 0  
Main Thread Number [0|1]          : 0  

*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 0
Booting from only image (0xb8010000) ...
Code Address: 0x80010000, Entry Address: 0x80010000
LZMA: Prossible old LZMA format, trying to decompress..
Decompression OK!
Entry at 0x80010000
Closing network.
Disabling Switch ports.
Flushing Receive Buffers...
0 buffers found.
Closing DMA Channels.
Starting program at 0x80010000
[    0.000000] Linux version 3.6.11 (fnord@tschunk) (gcc version 4.6.4
20121210 (prerelease) (Linaro GCC 4.6-2012.12) ) #1 Tue Jan 8 02:28:17
UTC 2013
[    0.000000] Detected Broadcom 0x6328 CPU revision 10b0
[    0.000000] CPU frequency is 320 MHz
[    0.000000] 32MB of RAM installed
[    0.000000] registering 32 GPIOs
[    0.000000] board_bcm963xx: Boot address 0xb8000000
[    0.000000] board_bcm963xx: CFE version: A4001N-V0001
[    0.000000] board_bcm963xx: unknown bcm963xx board: 96328dg2x2
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a075 (Broadcom BMIPS4350)
[    0.000000] Kernel panic - not syncing: unable to detect bcm963xx
board


After trying flashing several attitude adjustment and trunk binaries
through serial console without success (getting Kernel panic - not
syncing: unable to detect bcm963xx board) I followed instructions in
http://wiki.openwrt.org/doc/devel/add.new.device and modified attitude
adjustment's target/linux/brcm63xx/image/Makefile, adding the line

$(call
Image/Build/CFE,$(1),96328dg2x2,6328,96328dg2x2-8M-flash-generic,,--pad
4)

and 
build_dir/linux-brcm63xx/linux-3.3.8/arch/mips/bcm63xx/boards/board_bcm963xx.c,
where I simply copied the 963281TAN's definition and renamed as

static struct board_info __initdata board_96328dg2x2 = {
        .name                           = "96328dg2x2",
...

The resulting binary boots, but only the first time. I tried the
squashfs image as well as the jffs2, and I get the same result:

*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 0
Booting from only image (0xb8010000) ...
Code Address: 0x80010000, Entry Address: 0x80010000
Linux file system CRC error.  Corrupted image?
web info: Waiting for connection on socket 0.
CFE>

It seems to be related to jffs2's filesystem initialization, because if
I reboot after it is done, the device starts again, but after the
initialization, it will fail.

Any ideas on what I am missing?

Regards.
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to