Skip to content

Instantly share code, notes, and snippets.

@rndtrash
Created May 25, 2021 20:49
Show Gist options
  • Save rndtrash/663b4feef988a96a06058352b55b4fd7 to your computer and use it in GitHub Desktop.
Save rndtrash/663b4feef988a96a06058352b55b4fd7 to your computer and use it in GitHub Desktop.
NAND booting
Maker Id:0xEC,device id:0xD7.
Maker Id:0x0,device id:0x0.
The bad blocks table needs 559 bytes,1 pages to stored it.
--Latest bad block table stored in block:4150,with verstion:1.
The bad blocks of the nand flash has been fixed!......................
g_pTOC->hsStore.dwStartBlock=0x20
Eboot's vir block: 0x0,phy block:0x0
nk's vir block: 0x20,phy block:0x28
dm's vir block: 0x20,phy block:0x28
secur's vir block: 0x12,phy block:0x1A
logo's vir block: 0x17,phy block:0x1F
mini-gps code's vir block: 0x20,phy block:0x0
mini-gps data's vir block: 0x20,phy block:0x28
hibernate's start vir block: 0x20,phy block:0x28
hibernate's end vir block: 0x20,phy block:0x28
48FT avin pwr pin
NBOOT_C_ENTRY ResetMode = 0x0, 0x1!!!
Windows CE Atlas Bootloader Version 3.3 Built Aug 30 2012 14:59:39
Bootloader Image Size = 0x3F000, Crc = 0x1569296, PCB = 42FT, LCD = HLYQC_4.3_480x272
Normal Boot
Maker Id:0xEC,device id:0xD7.
Maker Id:0x0,device id:0x0.
--The Bad block info table has been initialized.
bad block No=0x4
bad block No=0x5
bad block No=0x6
bad block No=0x7
bad block No=0x10
bad block No=0x11
bad block No=0x14
bad block No=0x15
Image block starts at physical block 40(40) virtual block 32
EbootSdmlcSwitch: dwSdBaseaddress=0xA5100000, bToSDMLC=0x0
[S][216]: SD(Clk=50000000, Ratio=6), PWR_PRF_RATIO=0x6, PWR_CLK_SWITCH=0x65
CMD1 failed!
bus_power failed!
SDMMC_Init: Card initialization failed!
SDMLC: Init FAIL!
EbootSocSdmmcInit SD1 failed!
EBOOT Config TMC = 0x19840800
OEMPlatformInit: IMAGE_TYPE_RAMIMAGE|IMAGE_TYPE_BINFS
INFO: Loading image from Boot Media to RAM (address=0x93CE0000, sectors=0x165, launch address=0x93CE1000)...
GetMBRSectorNum: dwSector=0x1400.
IsValidMBR: MBR sector = 0x1400
GetPartitionTableIndex: dwPartType = 33 fActive = 1
OpenPartition: Partition Exists=0x1 for part 0x21.
BP_SetDataPointer at 0x0
ReadData: Start = 0x0, Length = 0x2CA000.
Log2Phys: Logical 0x1 -> Physical 0x1401
Using device name: 'WUKUNG_0'
-OEMPreDownload: BL_JUMP
::OEMLaunch, ImageStart:0x0, ImageLength:0x0, LaunchAddr:0x0
Eboot setup Kitl from media boot
bad block No=0x4
bad block No=0x5
bad block No=0x6
bad block No=0x7
bad block No=0x10
bad block No=0x11
bad block No=0x14
bad block No=0x15
INFO: using TOC[1] dwJumpAddress: 0x93CE1000
Jumping to image at virtual address 0x93CE1000h
::: Physical Launch Address: 0xC7CE1000h
Audio driver [0]: moDAC DevID 7, Jack sysintr=67
OALIntrInit
OALMSG+OALIntrStaticTranslate DONE
Touch Request sysIntr failed
OALInterruptInit Successfully
Windows CE Kernel for ARM (Thumb Enabled) Built on Nov 3 2010 at 07:30:04
Enter OEMInit
INFO:OALLogSetZones: dpCurSettings.ulZoneMask: 0xb
Titan L2 Cache Disabled
mode=0x0:dwPll1=0x208c14c,dwPll2=0x210c190,dwClkSwitch=0x65,dwRatio=0x12110
cpu-664M,dsp-332M,system-332M,io-166M,mem-200M
+OALTimerInit( 1, 166000, 20750 ), VariableTickCountEnable=0
KITL Enabled in OALSYSINFO
0000:0000:0000, WUKUNG_0
Unsupported KITL device
NKForceCleanBoot Called
VFPInit
OALBspDrawSplashScreen.....
HLYQC43_LCDParam
***+++ dwOscRatio=0x1e
BspTVPowerUp power down backlight and load image
SHARP_43 Init2 = 0x1
SHARP_43 Init = 0x1
ullSrcClk=24000000,ullPostClk=0!
dwHigh=24,dwLow=74!
-OALIoCtlPostInit
-OalRTCSocInit(RTCCLK = 16HZ)
-OalRTCSocInit(Count = 0x2116, 0x0)
OalRTCSaveDateSetting = 0x0
OalRTCSaveDateSetting = 0x0
OalRTCSaveDateSetting = 0x41d7397f
UTLDRV:PciDmaCtrl:PciCpyRegs=d039b000,ClockRegs=d037a000,RstRegs=d037d000!
+FMDSocInit+ CspRegMap
Maker Id:0xec,device id:0xd7.
Maker Id:0x0,device id:0x0.
The bad blocks table needs 559 bytes,1 pages to stored it.
--Latest bad block table stored in block:4150,with verstion:1.
dwBinfsEndBlk = 0x22
mem_list[MEM_INDEX_SMALL_BLK].blk_size=16
mem_list[MEM_INDEX_SHA_TAB].blk_size=256
mem_list[MEM_INDEX_DEL_TAB].blk_size=16
blk_scan_type::block 4 is a bad block!
blk_scan_type::block 5 is a bad block!
blk_scan_type::block 6 is a bad block!
blk_scan_type::block 7 is a bad block!
blk_scan_type::block 16 is a bad block!
blk_scan_type::block 17 is a bad block!
blk_scan_type::block 20 is a bad block!
blk_scan_type::block 21 is a bad block!
blk_scan_type::block 2565 is a bad block!
act block:269
act sector=1
complete action!
no action block found, create one
et block:551
new_block :551
si.log_block_num = 1, m_disk->et_block_num=2
et block:552
new_block :552
si.log_block_num = 0, m_disk->et_block_num=2
search uncreated et:0
search uncreated et:1
this is unk block:269
logical num = 4048
m_disk->physical_block_num=4152,m_disk->logical_block_num=4048
MBR pba=40
pri_block_num : 29
m_disk->fix_block_num : 98
m_disk->fbi.free_block_num : 4015
m_disk->sbi.shadow_block_num : 7
OALIoCtlGetHiveCleanFlag: Hive-registry flag 1, clean flag 0
OALIoCtlGetHiveCleanFlag: Hive-registry flag 2, clean flag 0
OALIoCtlGetHiveCleanFlag: Hive-registry flag 1, clean flag 0
+Bsp SerChkDbgPort: dwDbgComPortNum 1
Port(#0) IO Mode[Tx_Chan#=-1, Rx_Chan#=-1]
Serial: port(0) intr (21)
PWM driver init.
�cbstyle=42FT
Back Run Explorer = 0
GetTMC Enable = 0
GetGpsPort = 0
Get BT info= 0
Get GSM info= 0
InitTscAdc=0x1
UIM_Init
ImpSecureStoreGetSecureInfo: dwBlockNo=26
UIM LoadSecureInfo GetSecureInfo Size = 0x17c, Version = 0x10, ReadOnly = 0x0
Get_SMS1140=0x0
UIM ThreadProc run...
UIM INTRThreadProc SysIntr = 0x18
Get GSM info= 0
Get BT info= 0
Get_BT_Info = 0
RTN Drive Is Disable
Leaving DSP_Init succesfully pDspHead 0xd0ed4e00
Backlight driver init
SocBacklightSetDefaultLevel 5, 6
GetSettingFromRegistry Get backlight Registry Value , Error 0x2
RDS Drive Is Disable
DllEntry
EXA_Init
LoadInterface 3
LoadInterface 5
EXA_Init OK
ModacContext Construct done, modac act as 1
InitDMABuffers 0x1000
OALIoCtlHalRequestDmaBuf:g_dwSysDmaBufLen=f7000
OALIoCtlHalRequestDmaBuf:g_dwSysDmaBuf=8c009000
OALIoCtlHalRequestDmaBuf:g_bTotalBlkNum=3dc
MODAC output path is 1
HardwareContext WAV_ControllerInit = 1
WavI2sSocCtrlPowerOn, g_bslave = 1
ThreadTimeCountThreadTimeCountThreadTimeCountThreadTimeCountThreadTimeCountThreadTimeCount
HardwareContext Init JackEnable = 1, AudioIntr = 0x19 JackIntr = 0x1a
+OTG_Init: Enter function.
BspUsbOtgInit
[ERR][CSDSlot::HandleAddDevice][804]: DetectSDCard, err=0x0
CheckJackThread start...
HW_Init:VirBaseAddr:0xac00b000,PhyBaseAddr:0xc000b000,FirstQHAddr:0xac00b000,FirstTDAddr:0xac00b200,BaseTDBuffer:0xac00b400, TDBufferSize:0x11c00
BspUsbOtgSwitchToMinCurrent!!!
usbsochnp::reset core successfully
OTGHNP_Init::the current is B device
OTGHNP_Init::current is B valid
OTGHNP_Init:703::Usb Cable Insert Status = 0x0
HnpStateProc: State transition from 0x0 to 0x2.
the current client is Serial_Class
ERROR: OALIoCtlHalGetDeviceInfo: Device doesn't support IOCTL_HAL_GET_DEVICE_INFO::SPI_GETUUID
UfnPdd_Start: the current client is 1
---Ufnenter into WaitForPortStatusChange
Pdd_Start exit
BspUsbOtgSwitchToSuspend!!!
SerCreateRasEntry: WaitForAPIReady...
VBridge:: VB_INITIALIZED returns [0]
VMini:: VBridge is not initialized! Bail out..
TV CONFIG = 0
HLYQC43_LCDParam
TOUCHMain
ONCHIP Touch v_oalSysInfo = 0xd25d0820
ONCHIP_DdsiTouchPanelAttach Touch SysIntr = 0x1b, 0x1c, 1
ONCHIP_DdsiTouchPanelDisable
ONCHIP_DdsiTouchPanelEnable = 0x1.
Touch: do real power up
InitTscAdc=0x2
Maximum Allowed Error 7:
OalRTCSaveDateSetting = 0x4d1edf00
USB Wakeup Is Disable
OalRTCSaveDateSetting = 0x4d1edf00
Notification Error : Cannot execute \\.\Notifications\NamedEvents\DSTTimeChange
Hello! WUKUNG_HH ^_^
WinCE Started ....
MSIM: IM_ReadRegistry read KB 5
RegQueryValueEx for MC_AFixSR fail!
RegQueryValueEx for MC_AFixSRInterval fail
RegQueryValueEx for MC_AFixSRTimeout fail
RegQueryValueEx for MC_AFixSRTimeout fail
==============================There is no RegQueryValueEx for default system time setting!
load plugin failed
SetDateTime....
UIM StoreThreadProc run...
Enter StartGpsApi...
RegQueryValueEx OK ! 7COM7:Createfile succeeded...
Notification Error : Cannot execute \\.\Notifications\NamedEvents\DSTTimeChange
nInstantFixType is -1 !
Overlay_DLL.DLL InitOverlay
GetBinatoneEnable = 0x0
IOControl (CTRL = 0x1012184)
GetAvin = 0
UIM ClearInvalidWindow Num = 0x0
UIM NotifyRegisterProc hWnd = 0x70021500, message = 0xc000, type = 0x10f
UIM NotifyRegisterProc Insert
UIM EnableKey = 1
OS PWR m_Enable = 1
UIM EnableBattery = 1
LAUNCH Run....
VerifyDevice....
VerifyBklight....
IsUpdateUI!
IOControl (CTRL = 0x1012184)
Back Run Explorer = 0
IOControl (CTRL = 0x1012184)
logo sound = 0
PlaySound Start!
PlaySound \Windows\LogoSound.wav
Initial position not available
Leaving DSP_Open succesfully 0xd26567c0,OpenCount=1
DSP_IOCTRL:IOCTL_DSP_EXECUTE->bDspRun=0x1
IOControl (CTRL = 0x1012184)
Launch Get Internal TMC Serial = 0
BTHFUNIT: Handsfree unit service ver=27
IOControl (CTRL = 0x1010004)
MSIM: IM_ReadRegistry read KB 5
detail.dev.fAttached = 1
HIVEREG
detail.dev.fAttached = 1
ResidentFlash
detail.dev.fAttached = 1
DataFlash
IOControl (CTRL = 0x1010004)
Exception 'Undefined Instruction' (1): Thread-Id=072a0002(pth=913ebdc0), Proc-Id=07290002(pprc=90ca151c) 'MultiMedia.exe', VM-active=07290002(pprc=90ca151c) 'MultiMedia.exe'
PC=413a5170(common.dll+0x00075170) RA=413a54f8(common.dll+0x000754f8) SP=0017f020, BVA=00000000
IOControl (CTRL = 0x1010004)
IOControl (CTRL = 0x1010004)
Exception 'Data Abort' (4): Thread-Id=072a0002(pth=913ebdc0), Proc-Id=07290002(pprc=90ca151c) 'MultiMedia.exe', VM-active=07290002(pprc=90ca151c) 'MultiMedia.exe'
PC=4138d408(common.dll+0x0005d408) RA=4138d408(common.dll+0x0005d408) SP=0017ef68, BVA=d1680000
NAV CreateService hInstance = 0x90de8d48
NAV Create Service Program OK
NAV CreateService hInstance = 0x90de8d48
NAV CreateFile Faild
NAV JBSCreateWindow Faild
NAV JBSCreateWindow = 0x0
NAV ClearInvalidWindow Num = 0x0
NAV NotifyRegisterProc hWnd = 0x70022aa0, message = 0xd00, type = 0x145
NAV NotifyRegisterProc Insert
NAV JBSNotifyRegister
message = WM_CheckInputInfo wParam = 1
NAV JBSCreateWindow = 0x70023620
NAV ClearInvalidWindow Num = 0x0
NAV NotifyRegisterProc hWnd = 0x70022540, message = 0xd00, type = 0x45
NAV NotifyRegisterProc Insert
NAV JBSNotifyRegister
UIM ClearInvalidWindow Num = 0x0
UIM NotifyRegisterProc hWnd = 0x70023620, message = 0xc002, type = 0x34f
UIM NotifyRegisterProc Insert
UIM EnableKey = 1
OS PWR m_Enable = 1
UIM EnableBattery = 1
NAV WindowProc ClearInvalidWindow Num = 0x0
message = WM_CheckInputInfo wParam = 1
**** WAITING TO ENTER POWER STATE
**** LEAVING POWER STATE
Set Backlight Power state: 1
Touch: IOCTL_POWER_CAPABILITIES
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment