This is what I?ve done so far, i will further describe the steps:
- Added serial console interface to get bootlogs
- Getting cfe-console access
- Getting root serial console access
- dumped complete firmware
Step 1: Getting a serial console output:
The BD-C5500 has a Connector CN7 on the Mainboard, where the serial console cable can be connected . I used a Nokia Data Cable CA-42, because it also includes
an Serial to USB Adapter. Refer to the following picture for connecting the cable:

Uploaded with ImageShack.us
Using Putty as terminal I get the following bootlog:
Code: Select all
BCM76300010
Setting NAND Params
CFE starting from ROM
Chip specific init
TLB init
Board init
Starting memory configuration
Extracting memory configuration info
Checking strap value
Setting up PLL
Enable DDR encryption
SoooooooooooooR
Preparing to copy code to RAM
Prepare for NAND loading
Starting code in RAM
Booting Secured CFE...
BCM97630 B0-SEC CFE v2.1.8 (CFE core v2.1, BSP_REV 8), Endian Mode: Little
Build Date: Wed Jan 20 19:46:20 KST 2010 (gyu@localhost.localdomain)
Copyright (C) Broadcom Corporation.
DDR : Bank0:128MB@667MHz | Bank1:256MB@667MHz
NAND Boot : FlashSize 256MB on CS0, BlkSize 128KB, PgSize 2048B
NAND vendor timing : 20da1095 Numonyx NAND02GW3B2D/ST NAND02GW3B SLC t1(33535238) t2(80000b78)
Secure boot : Enabled
Reading flash0.macadr to V:0x87917b80
Reading flash0.rawnvr to V:0x8709275c
booting ARM...
Reading flash0.ofefw0 to V:0x80000000 from offset 0 len 786432
Reading flash0.ofews to V:0x800c0000 from offset 0 len 32768
Reading flash0.ofews1 to V:0x800c8000 from offset 0 len 32768
booting ARM...ofefw@0x2fd00000
done
check service mode
Display splash screen
[ Default Video ] : Current Video Output : Component @ Resolution : 480p
Loading NTSC SD image only to 0x02bf4800 size 691200 bytes
Reading flash0.splash to V:0xa2bf4800 from offset 0 len 691200
Done displaying splash screen
Loader:elf Filesys:raw Dev:flash0.kernel File: Options:root=/dev/romblock2 console=0,115200n8 BDVD_BOOT_AUTOSTART=y BAPP_OUT=/dev/console memcfg=384 ro
Loading: 0x80008000/4645696 0x80476340/304416
Successfully loaded secure elf image....
Entry address is 0x8000c330
current time (1793031 uS), 1793 ms
Timestamp started ...
Starting program at 0x8000c330
[ 0.000000] -- DDR Bank 0: 128 MB
[ 0.000000] -- DDR Bank 1: 256 MB
[ 0.000000] Linux version 2.6.28.9 (root@BdManager) (gcc version 4.2.0 20070124 (prerelease) - BRCM 10ts-20080721) #279 Mon Aug 30 18:12:17 KST 2010
[ 0.000000] Kernel command line: root=/dev/romblock2 console=0,115200n8 BDVD_BOOT_AUTOSTART=y BAPP_OUT=/dev/console memcfg=384 ro
[4294667.389000] checker_0 control 0x00000008 addr low 0x00001000 hi 0x00345000
[4294667.396000] read rights _0 0xffffffff _1 0xffffffff write rights _0 0x00000000 _1 0x00000000
[4294667.405000] checker_1 control 0x00000008 addr low 0x00346000 hi 0x021fff80
[4294667.412000] read rights _0 0xffffffff _1 0xffffffff write rights _0 0x00000000 _1 0x00e4fca0
[4294667.421000] checker_2 control 0x00000008 addr low 0x20000000 hi 0x241fff80
[4294667.428000] read rights _0 0xffffffff _1 0xffffffff write rights _0 0x00000000 _1 0x00e4fca0
[4294667.437000] checker_3 control 0x00000018 addr low 0x2fd00000 hi 0x2fdfff80
[4294667.444000] read rights _0 0xffffffff _1 0xffffffff write rights _0 0x00000000 _1 0x00010000
[4294667.465000] Driver 'sd' needs updating - please use bus_type methods
[4294667.472000] Driver 'sr' needs updating - please use bus_type methods
[4294667.479000] vide_ofe_probe: FE SECURITY NOT ENABLED
[4294667.492000] scsi 0:0:0:0: CD-ROM SAMSUNG SPE-400 0106 PQ: 0 ANSI: 5
[4294667.501000] sr 0:0:0:0: Attached scsi generic sg0 type 5
[4294667.548000] brcmnand_probe: Found SLC device ST NAND02GW3B
[4294667.553000] brcmnand_probe() oobSize: 0, pageSize : 2048, blockSize: 131072<7>Writing nand config register 0x01402848 with 0x16152300
[4294667.566000] allocating this->pLocalOob<3> allocating this->ecc mask<6>BrcmNAND version = 0x80000304 256MB @00000000
[4294667.599000] Creating 22 MTD partitions on "bcm7xxx-nand":
[4294667.605000] 0x00000000-0x00100000 : "cfe"
[4294667.610000] 0x00100000-0x00600000 : "kernel"
[4294667.615000] 0x00600000-0x04600000 : "rootfs"
[4294667.620000] 0x04600000-0x04800000 : "ofefw0"
[4294667.626000] 0x04800000-0x04a00000 : "splash"
[4294667.631000] 0x04a00000-0x04c00000 : "splashS"
[4294667.636000] 0x04c00000-0x04e00000 : "splashU"
[4294667.641000] 0x04e00000-0x05000000 : "bootsound"
[4294667.646000] 0x05000000-0x05080000 : "macadr"
[4294667.651000] 0x05080000-0x05100000 : "nvram"
[4294667.657000] 0x05100000-0x05180000 : "rawnvr"
[4294667.662000] 0x05180000-0x05200000 : "drmregion"
[4294667.667000] 0x05200000-0x05280000 : "drmregion1"
[4294667.673000] 0x05280000-0x05300000 : "ofews"
[4294667.678000] 0x05300000-0x05380000 : "ofews1"
[4294667.683000] 0x05380000-0x06280000 : "tmp"
[4294667.688000] 0x06280000-0x06780000 : "kernel1"
[4294667.693000] 0x06780000-0x0a780000 : "rootfs1"
[4294667.699000] 0x0a780000-0x0a980000 : "ofefw1"
[4294667.704000] 0x0a980000-0x0f980000 : "widget"
[4294667.710000] 0x0f980000-0x0ff00000 : "pstor"
[4294667.715000] 0x00000000-0x10000000 : "all"
rcS: BDVD_BOOT_AUTOSTART<y> BQ<y> BAPP<./app_player> BAPP_OUT</dev/console> BNET<> BNET_DLY<0> OFE_SB<n>
[4294668.285000] yaffs: restored from checkpoint
[4294668.434000] yaffs: restored from checkpoint
Wed Jun 11 00:00:00 UTC 2008
[4294668.597000] front: module license '<1>Dual BSD/GPL' taints kernel.
[4294668.607000] front device driver v0.24
[4294668.610000] Made by Samsung Electronics
[4294668.615000] For BRCM7630 Bx
[4294668.618000] Model : BD Player
[4294668.621000] Complete : Insert Front device Module
[4294668.621000]
[4294668.621000]
[4294669.897000] BCMDRV: Initializing bcmdriver version $ bdvd_v3.0/3 $
[4294669.903000] BCMDRV: Using Interrupt Definition for 7630 (uname -a)
[4294669.910000] BCMDRV: Total intc words=2,Total Irqs=65
[4294669.915000] IRQ handler type mismatch for IRQ 19
[4294669.915000] current handler: Front_SRQ
[4294669.924000] bcmdriver: request irq failed 0x-16
[4294669.929000] irq: 19 flags 0x00000020 name UPG_CPU_INTR
[4294669.934000] BCMDRV: Global Interrupt Mask 0:0xD09E3FEF,1:0x0EB20003,2:0x00000000,3:0x00000000
[4294669.943000] BCMDRV: Initialization complete...
/etc/init.d/rcS: =================================================================: command not found
app_player START
2.80 0.57
[CALL][CMediaManager::CMediaManager():34] ...
[HostMgr_StartEvaluateTime] Start time (tick) : 0xa5f415
[HostMgr_PrintEvaluateTime] Host_Main Start : (0xa5f4e6, 209, 209)
Build Date: Oct 28 2010 22:23:04
[SystemHalIF_GetModel] find '-' >>>>>>
Model Type : C5500
sByerName Type : XAA
C5500 Model_XAA : ModelModel Number ====> 0x3001
[HostMgr_PrintEvaluateTime] Mopt_LoadModelOptions : (0xa6231e, 12041, 11832)
[HostMgr_PrintEvaluateTime] HostMgr_LoadSystemParameter : (0xa627ab, 13206, 1165)
Time Zone... 5. setenv result : 0.
Time Zone... Time Zone : 5.
Date : Tue Jun 10 18:00:09 2008
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
>>> Object Address Information <<<
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ System : Linux or POSIX support system ]
[ Memory : Raw system memory ]
[ Service: pandora service is running ... ]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
get info from flash ---------- DHCP: 1
get info from flash ---------- DNS : 0
get info from flash ---------- PX : 0
get info from flash ---------- COOK: 1
net config.. SET COOKIE :: 1..
get info from flash ---------- THRP: 1
get info from flash ---------- NTP : 0
===============================================================
N E T W O R K C O N F I G U R A T I O N
===============================================================
nmNetworkConfig.isDHCPEnable: 1
nmNetworkConfig.isDNSManual : 0
DHCP ENABLE..
DNS automatic mode..
nmProxyConfig.isProxyEnable : 0
nmProxyConfig.isUserEnable : 0
nmProxyConfig.serverName :
nmProxyConfig.port : 0
nmProxyConfig.user :
nmProxyConfig.passwd :
nmAcceptCookies : 1
NetworkThroughput : 29
nmNTPServerEnable : 0
nmUserProfile.userId :
nmUserProfile.userPass :
nmUserProfile.userEmail :
===============================================================
[ Get NET info from Flash: COMPLETE ]
Net Config.. httpConfig_SetLoopbackAddress :: ifconfig lo 127.0.0.1..
[system_and_wait] - ifconfig lo 127.0.0.1
httpConfig_SetHostsFile in config_SetHostsFile
Net Config.. config_SetHostsFile :: /var/config/hosts..
[[4294678.606000] ### not start front###
[4294678.606000]
Heaps created
Heap XPT Handle 0x03f0c298, PA 0x02200000/ 34M, Size 0x00300000/ 3M BW 0
Heap RAP Handle 0x03f0c7d8, PA 0x24200000/578M, Size 0x00800000/ 8M BW 0
Heap CTX Handle 0x03f0cd18, PA 0x03d00000/ 61M, Size 0x00880000/ 8M BW 0
Heap XVD Handle 0x03f0d258, PA 0x04580000/ 69M, Size 0x01c80000/ 28M BW 0
Heap PBK Handle 0x03f0d798, PA 0x06200000/ 98M, Size 0x00e00000/ 14M BW 0
Heap SUB Handle 0x03f0dcd8, PA 0x07000000/112M, Size 0x00c80000/ 12M BW 0
Heap VDC Handle 0x03f0e218, PA 0x02500000/ 37M, Size 0x01800000/ 24M BW 1
Heap GPI Handle 0x03f0e758, PA 0x24a00000/586M, Size 0x00980000/ 9M BW 0
Heap GFX Handle 0x03f0ec98, PA 0x25380000/595M, Size 0x0a500000/165M BW 0
Heap PIC Handle 0x03f0f1d8, PA 0x03d00000/ 61M, Size 0x03f80000/ 63M BW 1
### Null image pointer!!!
###
Error in Opening the Image Interface for FW_ID =129
### Null image pointer!!!
###
Error in Opening the Image Interface for FW_ID =129
### bdvd_audio_output_open_sound failed -- audio_output_settings.state != bdvd_audio_output_state_open
### bdvd_bmem_destroy_avc_heap: AVC 5.1 heap memory was not freed because it was never allocated!
config_SetHostsFile] Can't open /var/config/hosts@ END of bdvd_init()
[DRMKEY] Set Drm Key : C5500
*bdvd_init(BDVD_VERSION) 0!
================================ * Model Name : C5500
* BDP SW Version : BSP-C5500WWB-1019
================================enabling realtime scheduling
Osal_TaskSpawnParam: VCTimerThread00, 48
Osal_ProtoTimerCreate - 0 Launched VCTimerThread00 with PID 67218704
##### FrontHal_StartInit #####
Gaal_GetSetupMenuParams: BD_setup.Resoultion = 1
Gaal_GetSetupMenuParams: BD_setup.HdmiResolution = 3
[SystemHalIF_VideoOutInitialize] resolution = 1
VideoHalIF_GetVideoInfoData PictureCtrl:2, Sharp:0, NoiseReduc:0
VideoHal_SetVideoMute : ========> 1
VideoHalIF_GetVideoInfoData PictureCtrl:2, Sharp:0, NoiseReduc:0
VideoDriver_GetPictureCtlParm : Basic(1), Picture Control(2):, Sharpness(0), NR(0),Contrast(10), Brightness(10),Color(10), StreamType(0)
VideoDriver_GetPictureCtlParm : sharp(1):-14000, m_noise(1):-99, b_noise(1):-99, Contrast(0), Brightness(0),Color(0)
VideoHal_SetPictureControl : Set Picture Control ==> 2
VideoDriver_GetPictureCtlParm : Basic(1), Picture Control(2):, Sharpness(0), NR(0),Contrast(10), Brightness(10),Color(10), StreamType(0)
VideoDriver_GetPictureCtlParm : sharp(1):-14000, m_noise(1):-99, b_noise(1):-99, Contrast(0), Brightness(0),Color(0)
VideoHal_SetPictureControl : 0x2
VideoHal_SetProgressiveMode - Level:0x2300, ThreshHold:0x1400
Set Macrovision :
Scal 0 : 0 ,Scal 1 3:
AudioHal_SetCopyRightToSpdif : AudioDriver_SetCopyRightToSpdif Error
[pharos/src/Hal/Audio/AudioHal.c:405]
Spdif Copyright Setting failure
Set Macrovision :
Scal 0 : 0 ,Scal 1 0:
AudioHal_SetCopyRightToSpdif : AudioDriver_SetCopyRightToSpdif Error
[pharos/src/Hal/Audio/AudioHal.c:405]
Spdif Copyright Setting failure
Hdmi_IsWiseSyncSupport : ERROR. HDMI is not initiated
[pharos/src/Hal/Hdmi/Hdmi_Main.c:3382]
VideoHal_SetAspectRatio: VIDEOHALE_ASPECT_RATIO_16x9
[VideoHal_SetAspectRatio] 1995 :: aspect_ratio :: 1..
(!) DirectFB/Config: Unknown option '--dfb:mouse-source'!
---------------------- DirectFB v0.9.22 ---------------------
(c) 2000-2002 convergence integrated media GmbH
(c) 2002-2004 convergence GmbH
-----------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (2010-10-28 13:08)
(*) DirectFB/BCMCore/system_p_init: video memory size is 173014940
(*) DirectFB/BCMCore/system_p_init: using cached memory for surfaces, cache flush is required
bdvd_graphics: Doing HD full resolution graphics planes
bdvd_graphics: Doing HD full resolution graphics planes
(*) DirectFB/BCMCore/system_p_init: display is set to video_format 9
bdvd_graphics: Using Anisotropic filtering
(*) DirectFB/BCMCore/system_p_init: using mixer compositor for flip-blit
(*) DirectFB/BCMCore/system_p_init: Flip with do a forcefull DSFLIP_WAITFORSYNC
(*) DirectFB/BCMCore/system_p_init: using compositor M2MC for both mixer and driver
(*) DirectFB/BCMGfx/driver_init_driver: driver compositor area threshold is 0
(*) DirectFB/BCMGfx/driver_init_driver: surface memory will not be cleared
(*) DirectFB/Graphics: Broadcom Corporation BCM7438/xxxAPI 0.1 (Broadcom Corporation)
(*) VideoRamSize = 173014940
(*) DirectFB/BCMCore/BCMCoreInitLayer: output layer primary buffer mode is triple
(*) DirectFB/Core/WM: Default 0.2 (Convergence GmbH)
(!!!) *** UNIMPLEMENTED [fusion_reactor_set_lock] *** [reactor.c:802]
------------------- bdvd_audio_output_action_sound_buffer_available
SpeakerSettings.SpkCenter= 0
SpeakerSettings.SpkFront = 1
SpeakerSettings.SpkSurround = 0
SpeakerSettings.SpkSurroundBack = 0
SpeakerSettings.SpkWoofer = 4
[AudioDriver_SetSpeakerSettings] 1993 :: m_SpeakerSize.m_Left = size 2.
[AudioDriver_SetSpeakerSettings] 1994 :: m_SpeakerSize.m_Right = size 2.
[AudioDriver_SetSpeakerSettings] 1995 :: m_SpeakerSize.m_Center = size 0.
[AudioDriver_SetSpeakerSettings] 1996 :: m_SpeakerSize.m_LeftSurround = size 0.
[AudioDriver_SetSpeakerSettings] 1997 :: m_SpeakerSize.m_RightSurround = size 0.
[AudioDriver_SetSpeakerSettings] 1998 :: m_SpeakerSize.m_LFE = size 0.
[AudioDriver_SetSpeakerSettings] 1999 :: m_SpeakerSize.m_LeftBack = size 0.
[AudioDriver_SetSpeakerSettings] 2000 :: m_SpeakerSize.m_RightBack = size 0.
Now System initializing now
Code: Select all
BCM76300010
Setting NAND Params
CFE starting from ROM
Chip specific init
TLB init
Board init
Starting memory configuration
Extracting memory configuration info
Checking strap value
Setting up PLL
Enable DDR encryption
SooooooooooooooR
Preparing to copy code to RAM
Prepare for NAND loading
Starting code in RAM
Booting Secured CFE...
BCM97630 B0-SEC CFE v2.1.8 (CFE core v2.1, BSP_REV 8), Endian Mode: Little
Build Date: Wed Jan 20 19:46:20 KST 2010 (gyu@localhost.localdomain)
Copyright (C) Broadcom Corporation.
DDR : Bank0:128MB@667MHz | Bank1:256MB@667MHz
NAND Boot : FlashSize 256MB on CS0, BlkSize 128KB, PgSize 2048B
NAND vendor timing : 20da1095 Numonyx NAND02GW3B2D/ST NAND02GW3B SLC t1(33535238) t2(80000b78)
Secure boot : Enabled
Reading flash0.macadr to V:0x87917b80
Reading flash0.rawnvr to V:0x8709275c
booting ARM...
Reading flash0.ofefw0 to V:0x80000000 from offset 0 len 786432
Reading flash0.ofews to V:0x800c0000 from offset 0 len 32768
Reading flash0.ofews1 to V:0x800c8000 from offset 0 len 32768
booting ARM...ofefw@0x2fd00000
done
check service mode
Automatic startup canceled via Ctrl-C
CFE>
Code: Select all
CFE> help
Available commands:
info Show CFE configuration information
splashsd Load's and Display's yuv:422 Splash Screen image
splash Load's and Display's yuv:422 Splash Screen image
loop Loop a command
dir List the directory of a FAT file system
macprog Program MAC addresses.
macprog2 Program a specific MAC address.
envwrite Program a env.
macwrite Program a specific MAC address & model
bsound play the audio boot sound
bsplash Load's and Display's yuv:422 Splash Screen image
flashmarkbb Marks a specified block bad
flasherase Erases a flash partition
flasheeprom Update the EEPROM device on board
flash Update a flash memory device
memtest Test memory.
f Fill contents of memory.
e Modify contents of memory.
d Dump memory.
u Disassemble instructions.
reboot Invoke hardware reboot.
batch Load a batch file into memory and execute it
go Start a previously loaded program.
load Load an executable file into memory without executing it
save Save a region of memory to a remote file via TFTP
boot Load an executable file into memory and execute it
ping Ping a remote IP host.
ifconfig Configure the Ethernet interface
sleep Sleep for specified milliseconds.
show heap Display information about CFE's heap
show memory Display the system physical memory map.
show devices Display information about the installed devices.
unsetenv Delete an environment variable.
printenv Display the environment variables
setenv Set an environment variable.
help Obtain help for CFE commands
For more information about a command, enter 'help command-name'
*** command status = 0
Code: Select all
CFE> printenv
Variable Name Value
-------------------- --------------------------------------------------
BOOT_CONSOLE uart0
ETH0_HWADDR 00:23:99:XX:XX:XX
CFE_VERSION 2.1.8
CFE_BOARDNAME BCM97630 B0-SEC
CFE_MEMORYSIZE 128
BD_MODEL C5500-XAA
STARTUP bsplash;bsound;boot -elf -z flash0.kernel: 'root=/dev/romblock2 console=0,115200n8 BDVD_BOOT_AUTOSTART=y BAPP_OUT=/dev/console memcfg=384 ro'
*** command status = 0
Using "root" as username and "tkfkddlf" as password you get access to the console
Further information of how to dump flash contents can be read here, as the LG560/570 is based on the same processor.
http://bd560.000space.com/index.html
and the Samsung BD-P1620 has been hacked in the same way:
http://www.avforums.com/forums/blu-ray- ... p3600.html
Unfortunately LG has a different flash-Layout, so the firmwares are not interchangeable. So be careful what you do.
It would be nice, if someone who has a european version of this player could post the bootlogs, to see what is different.
So maybe I could manage to switch it to an european model...
Thanke
habee