I am trying to get BCM63xx target running on davolink DV201AMR from tele2 (one of the largest dutch providers). To be compatible with CFE on this modem I used bcm tool cmplzma to compress kernel:
cmplzma -k -2 vmlinux.elf vmlinux.bin vmlinux.lz
After image generation and dl via CFE:
Auto run second count down: 0
Code Address: 0x80010000, Entry Address: 0x80014450
Decompression OK!
Entry at 0x80014450
Closing network.
Starting program at 0x80014450
Linux version 2.6.27.4 (stefan@hobbydebian) (gcc version 4.1.2) #1 Thu Oct 30 13:16:21 CET 2008
Detected Broadcom 0x6348 CPU revision b0
CPU frequency is 256000000 MHz
16MB of RAM installed
board_bcm963xx: CFE version: 1.0.37-0.6
board_bcm963xx: unknown bcm963xx board: DV201AMR
console [early0] enabled
CPU revision is: 00029107 (Broadcom BCM6348)
Kernel panic - not syncing: unable to detect bcm963xx board
Ok, this good only board is not recognised, that is logical.
The problem is I can not reproduce the result, I reinstalled openwrt, configured for bcm63xx, did the same trick using cmplzma but I seem not to be able to get the same result. CFE or the image keeps crashing:
Auto run second count down: 0
**Exception 32: EPC=00000000, Cause=00000000 (Interrupt)
RA=7420646F, VAddr=00000000
0 ($00) = 00000000 AT ($01) = 00000000
v0 ($02) = 80522FC9 v1 ($03) = 00000000
a0 ($04) = 00000000 a1 ($05) = 80420000
a2 ($06) = 80420000 a3 ($07) = 80420000
t0 ($08) = 00000000 t1 ($09) = 00000000
t2 ($10) = 00000000 t3 ($11) = 72792073
t4 ($12) = 696E204D t5 ($13) = 20202020
t6 ($14) = 20202020 t7 ($15) = 3A31643A
s0 ($16) = 00000000 s1 ($17) = 200A0098
s2 ($18) = 80420000 s3 ($19) = 00000198
s4 ($20) = 8052305B s5 ($21) = 8040D150
s6 ($22) = 00000001 s7 ($23) = 80EEDED0
t8 ($24) = 00000001 t9 ($25) = 80EEDED0
k0 ($26) = 6E647329 k1 ($27) = 805231D0
gp ($28) = 8040D3BC sp ($29) = 2072756E
fp ($30) = 6F6E6420 ra ($31) = 7420646
Any advice how to proceed, or why I can not reproduce the bootable image?
I prefer an approach keeping the original CFE because this would be the easiest for te tele2 users.