danitool wrote:christos2714 wrote:BTW,
Does anybody know how can I handle the above exceptions?
From the cfe_brcm63xx compiler I found some header files which I think call exception 8 "Syscall" /8*/
How can I take advantage of the shown registers from the ecxeption 8 log?
Could this be resolved by searching another brand of 8mb flash chip?
Can someone confirm if he has a working 96348 board with a 8mb flash chip?
Thanks again.
Those exceptions are probably caused by the 8MB flash chip, probably the bootloader can't find itself because by default CFE can only handle 4MB size.
I succesfully booted CFE in my old Livebox with 8MB flash size, but my board uses a 8MB flash with bottom boot sectors. Your flash chip is a bit different, further work might be needed.
Can you test this bootloader?
https://drive.google.com/file/d/0B-EMoB … sp=sharing
Thanks for the link.
I'll give it a try right away... hope it works.
Do you know if there could be a way to make cfe "see" the flash chip as a 4MB instead of a 8?
I downloaded the alice pirelli cfe which is for the MX29LV640T, I modified the nvram(with the tool from cfe_bcm63xx) and tried to upload it but not only it didn't work, it made the flash useless-tjtag was stuck on enabling memory writes...I couldn't make it work. How did I fix this? I didn't. I soldered another flash. I did this 2 times and I had to solder twice a new flash!!!(I couldn't find another way to fix the chip).
....Well I tested it and nothing happened unfortunately.
Mmm... another question. I have to change the endianess when I want to jtag the cfe to the box. I open it in Hex Workshop(windows platform) and select flip bytes-16bit-. then I jtag it with the nodma parameter.Is there another way to do this?
I could change the flash chip to another brand or type but I don't know if this is the issue.
Below I am attaching a log from another person I found on google. It seems that cfe could handle 8mb flash-his is different from mine. Any help here please? Anybody?
CFE version 1.0.37-6.4 for BCM96348 (32bit,SP,BE)
Build Dat
e: s\0xc3\0xa1b nov 17 02:59:59 CET 2012 (noltari@skynet)
Copyright (C) 2000-2005 Broadcom Corporation.
Boot Address 0xbe400000
Initializing Arena.
Initializing Devices.
Parallel flash device: name AM29LV320MB, id 0x2200, size 8192KB
totalBlks=135
totalSize=8192K
getShareBlks: i=134, sect_size=65536, end_blk=135
cfi_flash_read_buff: block 134, addr bebf0000getShareBlks: i=0, sect_size=8192, end_blk=1
cfi_flash_read_buff: block 0, addr be400000fInfo.flash_nvram_start_blk = 0
fInfo.flash_nvram_blk_offset = 0x580
fInfo.flash_nvram_number_blk = 1
psi startAddr = bebfa000
fInfo.flash_persistent_start_blk = 134
fInfo.flash_persistent_blk_offset = 0xa000
fInfo.flash_persistent_number_blk = 1
Unknown PHY type
getShareBlks: i=0, sect_size=8192, end_blk=1
cfi_flash_read_buff: block 0, addr be400000cfi_flash_read_buff: block 8, addr be410000cfi_flash_read_buff: block 71, addr be800000
** Image information not found. **
getShareBlks: i=134, sect_size=65536, end_blk=135
cfi_flash_read_buff: block 134, addr bebf0000setSharedBlks: start_block=134, end_block=135, end_blk=0
cfi_flash_write_buf: block 134, addr bebf0000
setSharedBlks_region1: block=134, sect_size=65536, end_blk=135
CPU type 0x29107: 256MHz, Bus: 128MHz, Ref: 32MHz
Total memory: 8388608 bytes (8MB)
Total memory used by CFE: 0x80401000 - 0x805251D0 (1196496)
Initialized Data: 0x8041C980 - 0x8041E8F0 (8048)
BSS Area: 0x8041E8F0 - 0x804231D0 (18656)
Local Heap: 0x804231D0 - 0x805231D0 (1048576)
Stack Area: 0x805231D0 - 0x805251D0 (8192)
Text (code) segment: 0x80401000 - 0x8041C974 (113012)
Boot area (physical): 0x00526000 - 0x00566000
Relocation Factor: I:00000000 - D:00000000
cfi_flash_read_buff: block 134, addr bebf0000getShareBlks: i=134, sect_size=65536, end_blk=135
cfi_flash_read_buff: block 134, addr bebf0000setSharedBlks: start_block=134, end_block=135, end_blk=0
cfi_flash_write_buf: block 134, addr bebf0000
setSharedBlks_region1: block=134, sect_size=65536, end_blk=135
getShareBlks: i=0, sect_size=8192, end_blk=1
cfi_flash_read_buff: block 0, addr be400000*** Board is not initialized properly ***
Press: <enter> to use current value
'-' to go previous parameter
'.' to clear the current value
'x' to exit this command
Board Id Name (0-12)
Livebox-blue-5g ------- 0
96348R ------- 1
96348LV ------- 2
96348GW ------- 3
96348W2 ------- 4
96348W3 ------- 5
96348GW-10 ------- 6
96348GW-11 ------- 7
96348SV ------- 8
96348GW-DualDSP ------- 9
BCMCUST_01 ------- 10
96348M ------- 11
96348MC ------- 12 :
0
Number of MAC Addresses (1-32) : 0
3
Base MAC Address :
FA:BA:DA:31:DD:21
cfi_flash_read_buff: block 0, addr be400000
cfi_flash_write_buf: block 0, addr be400000cfi_flash_read_buff: blo
ck 0, addr be400000
cfi_flash_write_buf: block 0, addr be400000getShareBlks: i=0, sect_
size=8192, end_blk=1
cfi_flash_read_buff: block 0, addr be400000setSharedBlks: start_block=0, end_block=1, end_blk=0
getShareBlks: i=0, sect_size=8192, end_blk=8
cfi_flash_read_buff: block 0, addr be400000getShareBlks: i=1, sect_size=8192, end_blk=8
cfi_flash_read_buff: block 1, addr be402000getShareBlks: i=2, sect_size=8192, end_blk=8
cfi_flash_read_buff: block 2, addr be404000getShareBlks: i=3, sect_size=8192, end_blk=8
cfi_flash_read_buff: block 3, addr be406000getShareBlks: i=4, sect_size=8192, end_blk=8
cfi_flash_read_buff: block 4, addr be408000getShareBlks: i=5, sect_size=8192, end_blk=8
cfi_flash_read_buff: block 5, addr be40a000getShareBlks: i=6, sect_size=8192, end_blk=8
cfi_flash_read_buff: block 6, addr be40c000getShareBlks: i=7, sect_size=8192, end_blk=8
cfi_flash_read_buff: block 7, addr be40e000setSharedBlks_region0: region0_overwrite offset is 0 and size is 8192
cfi_flash_write_buf: block 0, addr be400000setSharedBlks_region0: b
lock=0, sect_size=8192, end_blk=1
cfi_flash_write_buf: block 1, addr be402000setSharedBlks_region0: block=1, sect_size=8192, end_blk=1
cfi_flash_write_buf: block 2, addr be404000setSharedBlks_region0: block=2, sect_size=8192, end_blk=1
cfi_flash_write_buf: block 3, addr be406000setSharedBlks_region0: block=3, sect_size=8192, end_blk=1
cfi_flash_write_buf: block 4, addr be408000setSharedBlks_region0: block=4, sect_size=8192, end_blk=1
cfi_flash_write_buf: block 5, addr be40a000setSharedBlks_region0: block=5, sect_size=8192, end_blk=1
cfi_flash_write_buf: block 6, addr be40c000setSharedBlks_region0: block=6, sect_size=8192, end_blk=1
cfi_flash_write_buf: block 7, addr be40e000setSharedBlks_region0: block=7, sect_size=8192, end_blk=1
Press any key to reset the board:
(Last edited by christos2714 on 1 Jun 2015, 07:30)