1、日志如下
U-Boot 2012.07 (Oct 15 2015 - 13:09:41) for YSE7420_AARCH64
CPU: Exynos7420 Rev1.3 [Samsung SOC on SMP Platform Base on ARM CortexA53]
ATLAS_PLL = 1200MHz APOLLO_PLL = 1200MHz MIF_PLL = 3104MHz
MFC_PLL = 468MHz CCI_PLL = 532MHz
BUS0_PLL = 1600MHz BUS1_PLL = 668MHz
YSE7420_BETA.0.1.1
Board: YSE7420_AARCH64
DRAM: 2.9 GiB
(ASV_TBL_BASE+0x00)[11:0] bigcpu_asv_group = 1638
(ASV_TBL_BASE+0x00)[15:12] bigcpu_ssa0 = 0
(ASV_TBL_BASE+0x00)[27:16] littlecpu_asv_group = 2184
(ASV_TBL_BASE+0x00)[31:28] littlecpu_ssa0 = 0
(ASV_TBL_BASE+0x04)[11:0] g3d_asv_group = 3003
(ASV_TBL_BASE+0x04)[15:12] g3d_ssa0 = 0
(ASV_TBL_BASE+0x04)[27:16] mif_asv_group = 2184
(ASV_TBL_BASE+0x04)[31:28] mif_ssa0 = 0
(ASV_TBL_BASE+0x08)[11:0] int_asv_group = 2184
(ASV_TBL_BASE+0x08)[15:12] int_ssa0 = 0
(ASV_TBL_BASE+0x08)[27:16] cam_disp_asv_group = 2184
(ASV_TBL_BASE+0x08)[31:28] cam_disp_ssa0 = 0
(ASV_TBL_BASE+0x0C)[3:0] dvfs_asv_table_version = 15
(ASV_TBL_BASE+0x0C)[4] asv_group_type = 0
(ASV_TBL_BASE+0x0C)[7:5] reserved01 = 0
(ASV_TBL_BASE+0x0C)[8] shift_type = 0
(ASV_TBL_BASE+0x0C)[9] ssa1_enable = 0
(ASV_TBL_BASE+0x0C)[10] ssa0_enable = 0
(ASV_TBL_BASE+0x0C)[15:11] reserved02 = 0
(ASV_TBL_BASE+0x0C)[16] asv_method = 1
(ASV_TBL_BASE+0x0C)[31:17] reserved03 = 0
(ASV_TBL_BASE+0x10)[3:0] main_asv_group = 0
(ASV_TBL_BASE+0x10)[7:4] main_asv_ssa = 0
(ASV_TBL_BASE+0x10)[11:8] bigcpu_ssa1 = 0
(ASV_TBL_BASE+0x10)[15:12] littlecpu_ssa1 = 0
(ASV_TBL_BASE+0x10)[19:16] g3d_ssa1 = 0
(ASV_TBL_BASE+0x10)[23:20] mif_ssa1 = 0
(ASV_TBL_BASE+0x10)[27:24] int_ssa1 = 0
(ASV_TBL_BASE+0x10)[31:28] cam_disp_ssa1 = 0
(ASV_TBL_BASE+0x14)[8:0] bigcpu_ssa_ema = 0
(ASV_TBL_BASE+0x14)[17:9] littlecpu_ssa_ema = 0
(ASV_TBL_BASE+0x14)[26:18] g3d_ssa_ema = 0
(ASV_TBL_BASE+0x14)[31:27] reserved04 = 0
TrustZone Enabled BSP
BL1 version:
### [DREX] disable Dynamic Self Refresh
### [DREX] disable Dynamic Power Down
Chip ID : 04772f32a888 / 0x00005e00
ID2 : N2ZZD
PMIC: S2MPS15(REV12)
RTC TIME: 2000-01-01 01:19:35(0x01)AM
MIF: 837mV ATLAS: 812mV INT: 725mV
G3D: 643mV APOLLO: 925mV DISP: 806mV
INT1: 0x4f
INT2: 0x11
INT3: 0x0
STATUS1: 0x1d
STATUS2: 0x0
PWRONSRC: 0x3
OFFSRC: 0x80
RTC_BUF: 0x7, WRSTBI: 0x44
LDO_DVS1: 0x8c, LDO_DVS2: 0x80
LDO_DVS3: 0x84, LDO_DVS4: 0x84
[TMU] 33, 33, 31, 32
Checking Boot Mode ... UFS
EL3 monitor information => Built : 07:10:44, Apr 7 2015
UFS: UPIU_QUERY_OPCODE_WRITE_DESC : len90
lun:0 Query Response : 0xfa
UPIU_ATTR_ID_BOOTLUNEN : 00000001
Boot LUN is #1, bBootLunID:1
SCSI CMD : 12 00 00 00 ff 00 00 00 01 00
SCSI Response(01) : Target Failure
SCSI Status(02) : CHECK CONDITION
SCSI CMD : 12 00 00 00 ff 00 00 00 01 00
SCSI Response(01) : Target Failure
SCSI Status(02) : CHECK CONDITION
SCSI CMD : 12 00 00 00 ff 00 00 00 01 00
SCSI Response(01) : Target Failure
SCSI Status(02) : CHECK CONDITION
SCSI CMD : 12 00 00 00 ff 00 00 00 01 00
SCSI Response(01) : Target Failure
SCSI Status(02) : CHECK CONDITION
SCSI CMD : 12 00 00 00 ff 00 00 00 01 00
SCSI Response(01) : Target Failure
SCSI Status(02) : CHECK CONDITION
UserLUN = 0
BootLUN = 1
Init SCSI
UPIU_QUERY_OPCODE_WRITE_DESC : len90
lun:0 Query Response : 0xfa
UPIU_ATTR_ID_BOOTLUNEN : 00000001
Boot LUN is #1, bBootLunID:1
scanning bus for devices...
Device 0: (0:0) Vendor: SAMSUNG Prod.: KLUBG4G1BD-B0B1 Rev: 0104
Type: Hard Disk
Capacity: 29819.9 MB = 29.1 GB (7633919 x 4096)
Device 1: (0:1) Vendor: SAMSUNG Prod.: KLUBG4G1BD-B0B1 Rev: 0104
Type: Hard Disk
Capacity: 3.9 MB = 0.0 GB (1023 x 4096)
Device 2: (0:2) Vendor: SAMSUNG Prod.: KLUBG4G1BD-B0B1 Rev: 0104
Type: Hard Disk
Capacity: 3.9 MB = 0.0 GB (1023 x 4096)
SCSI CMD : 12 00 00 00 ff 00 00 00 01 00
SCSI Response(01) : Target Failure
SCSI Status(02) : CHECK CONDITION
SCSI CMD : 12 00 00 00 ff 00 00 00 01 00
SCSI Response(01) : Target Failure
SCSI Status(02) : CHECK CONDITION
SCSI CMD : 12 00 00 00 ff 00 00 00 01 00
SCSI Response(01) : Target Failure
SCSI Status(02) : CHECK CONDITION
SCSI CMD : 12 00 00 00 ff 00 00 00 01 00
SCSI Response(01) : Target Failure
SCSI Status(02) : CHECK CONDITION
SCSI CMD : 12 00 00 00 ff 00 00 00 01 00
SCSI Response(01) : Target Failure
SCSI Status(02) : CHECK CONDITION
UserLUN = 0
BootLUN = 1
MMC: S5P_MSHC0: 0, S5P_MSHC2: 1
MMC Device 0: [ERROR] response timeout error : 00000104 cmd 1
Card did not respond to voltage select!
Writing to UFS(0)... done
In: serial
Out: serial
Err: serial
rst_stat : 0x10000
ldfw: booting device is UFS.
ldfw: read whole ldfw partition from the storage
reading partition ldfw ..device 0, Start 153600, Count 4096
SCSI read: device 0 block # 153600, count 4096 ... 4096 blocks read: OK
completed
ldfw: 0th ldfw's version 0x20150216 name : CryptoManagerV20
ldfw: 1th ldfw's version 0x20150204 name : fmp_fw
ldfw: init ldfw(s). whole ldfws size 0x101000
ldfw: try to init 2 ldfw(s). except 0 ldfw 2 ldfw(s) have been inited done.
ldfw: init done successfully.
reboot reason: 0xffe7ffcb - Power/Emergency Reset
Core stat at previous(IRAM)
Core4: Hotplug
Core5: Hotplug
Core6: Hotplug
Core7: Hotplug
Core0: Reserved
Core1: Hotplug
Core2: Hotplug
Core3: Hotplug
Core stat at previous(KERNEL)
Core0: Power/Emergency Reset: 0xefd7ffeb
Core1: Power/Emergency Reset: 0xf9fffbf7
Core2: Power/Emergency Reset: 0xffd7fff2
Core3: Power/Emergency Reset: 0xfbfffbfb
Core4: Power/Emergency Reset: 0xf7faebff
Core5: Power/Emergency Reset: 0xfffaf3ff
Core6: Power/Emergency Reset: 0xfffff7eb
Core7: Power/Emergency Reset: 0xffcf7fff
###Recovery Mode###
###Recovery from SDcard.
Net: No ethernet found.
main_loop Enter
run_cmd:movi read scsi bootlogo 0 e0000000
reading partition bootlogo ..device 0, Start 157696, Count 20480
SCSI read: device 0 block # 157696, count 20480 ... 20480 blocks read: OK
completed
Enter check_boot_mode
[BootMode]Power key is pressed,reg=00000023
Hit any key to stop autoboot: 0
Writing GPT:
SCSI read: device 0 block # 48, count 48 ... 48 blocks read: OK
This disk max block size = 61071256
success!
[Fusing Image from SD Card.]
[Partition table on ]
ptn 0 name='fwbl1' start=0x0 len=N/A (use hard-coded info. (cmd: movi))
ptn 1 name='bl2' start=N/A len=N/A (use hard-coded info. (cmd: movi))
ptn 2 name='bootloader' start=N/A len=N/A (use hard-coded info. (cmd: movi))
ptn 3 name='el3_mon' start=N/A len=N/A (use hard-coded info. (cmd: movi))
ptn 4 name='tzsw' start=N/A len=N/A (use hard-coded info. (cmd: movi))
ptn 5 name='environment' start=N/A len=N/A (use hard-coded info. (cmd: movi))
ptn 6 name='partition_table' start=0x6000 len=0x6000(~24KB)
ptn 7 name='fat' start=0x47BEB000 len=0x8000(~32KB)
ptn 8 name='system' start=0x6400000 len=0x32000000(~819200KB)
ptn 9 name='userdata' start=0x71200000 len=0xD69EB000(~28682156KB)
ptn 10 name='cache' start=0x38400000 len=0x32000000(~819200KB)
ptn 11 name='modem' start=0x6A400000 len=0x6400000(~102400KB)
ptn 12 name='efs' start=0x70800000 len=0xA00000(~10240KB)
ptn 13 name='kernel' start=0x200000 len=0x1400000(~20480KB)
ptn 14 name='ramdisk' start=0x1600000 len=0x1A00000(~26624KB)
ptn 15 name='recovery' start=0x3000000 len=0x1A00000(~26624KB)
ptn 16 name='dtb' start=0x4A00000 len=0x100000(~1024KB)
ptn 17 name='ldfw' start=0x4B00000 len=0x200000(~2048KB)
ptn 18 name='bootlogo' start=0x4D00000 len=0xA00000(~10240KB)
ptn 19 name='font' start=0x5700000 len=0x100000(~1024KB)
ptn 20 name='engmode' start=0x5800000 len=0x200000(~2048KB)
Partition: partition_table, File: /sdfuse/partition_table
reading /sdfuse/partition_table
673 (0x000002a1) bytes read
flashing 'partition_table'
writing partition partition_table ..device 0, Start 48, Count 2
SCSI write: device 0 block # 48, count 2 ... 2 blocks write: OK
completed
Writing to UFS(0)... done
Writing GPT:
SCSI read: device 0 block # 48, count 48 ... 48 blocks read: OK
This disk max block size = 61071256
success!
[Partition table on ]
ptn 0 name='fwbl1' start=0x0 len=N/A (use hard-coded info. (cmd: movi))
ptn 1 name='bl2' start=N/A len=N/A (use hard-coded info. (cmd: movi))
ptn 2 name='bootloader' start=N/A len=N/A (use hard-coded info. (cmd: movi))
ptn 3 name='el3_mon' start=N/A len=N/A (use hard-coded info. (cmd: movi))
ptn 4 name='tzsw' start=N/A len=N/A (use hard-coded info. (cmd: movi))
ptn 5 name='environment' start=N/A len=N/A (use hard-coded info. (cmd: movi))
ptn 6 name='partition_table' start=0x6000 len=0x6000(~24KB)
ptn 7 name='fat' start=0x47BEB000 len=0x8000(~32KB)
ptn 8 name='system' start=0x6400000 len=0x32000000(~819200KB)
ptn 9 name='userdata' start=0x71200000 len=0xD69EB000(~28682156KB)
ptn 10 name='cache' start=0x38400000 len=0x32000000(~819200KB)
ptn 11 name='modem' start=0x6A400000 len=0x6400000(~102400KB)
ptn 12 name='efs' start=0x70800000 len=0xA00000(~10240KB)
ptn 13 name='kernel' start=0x200000 len=0x1400000(~20480KB)
ptn 14 name='ramdisk' start=0x1600000 len=0x1A00000(~26624KB)
ptn 15 name='recovery' start=0x3000000 len=0x1A00000(~26624KB)
ptn 16 name='dtb' start=0x4A00000 len=0x100000(~1024KB)
ptn 17 name='ldfw' start=0x4B00000 len=0x200000(~2048KB)
ptn 18 name='bootlogo' start=0x4D00000 len=0xA00000(~10240KB)
ptn 19 name='font' start=0x5700000 len=0x100000(~1024KB)
ptn 20 name='engmode' start=0x5800000 len=0x200000(~2048KB)
partition 'partition_table' flashed
Partition: fwbl1, File: /sdfuse/fwbl1
reading /sdfuse/fwbl1
8192 (0x00002000) bytes read
flashing 'fwbl1'
writing partition fwbl1 ..device 1, Start 0, Count 16
SCSI write: device 1 block # 0, count 16 ... 16 blocks write: OK
completed
partition 'fwbl1' flashed
Partition: bl2, File: /sdfuse/bl2
reading /sdfuse/bl2
49152 (0x0000c000) bytes read
flashing 'bl2'
writing partition bl2 ..device 1, Start 400, Count 96
SCSI write: device 1 block # 400, count 96 ... 96 blocks write: OK
completed
partition 'bl2' flashed
Partition: bootloader, File: /sdfuse/bootloader
reading /sdfuse/bootloader
540672 (0x00084000) bytes read
flashing 'bootloader'
writing partition bootloader ..device 1, Start 496, Count 1056
SCSI write: device 1 block # 496, count 1056 ... 1056 blocks write: OK
completed
partition 'bootloader' flashed
Partition: el3_mon, File: /sdfuse/el3_mon
reading /sdfuse/el3_mon
196608 (0x00030000) bytes read
flashing 'el3_mon'
writing partition el3_mon ..device 1, Start 16, Count 384
SCSI write: device 1 block # 16, count 384 ... 384 blocks write: OK
completed
partition 'el3_mon' flashed
Partition: tzsw, File: /sdfuse/tzsw
reading /sdfuse/tzsw
379955 (0x0005cc33) bytes read
flashing 'tzsw'
writing partition tzsw ..device 1, Start 1552, Count 1024
SCSI write: device 1 block # 1552, count 1024 ... 1024 blocks write: OK
completed
partition 'tzsw' flashed
Partition: environment, File: /sdfuse/environment
reading /sdfuse/environment
Failed to read /sdfuse/environment
Partition: fat, File: /sdfuse/fat
reading /sdfuse/fat
Failed to read /sdfuse/fat
Partition: system, File: /sdfuse/system
reading /sdfuse/system
541260512 (0x2042fae0) bytes read
flashing 'system'
Compressed ext4 image
scsi erase 0 32000 190000
SCSI erase (unmap): device 0 block # 204800, count 1638400 ... 1638400 blocks erased: OK
SCSI write: device 0 block # 204800, count 8 ... 8 blocks write: OK
SCSI write: device 0 block # 204808, count 8 ... 8 blocks write: OK
SCSI write: device 0 block # 204816, count 440 ... 440 blocks write: OK
SCSI write: device 0 block # 205256, count 16 ... 16 blocks write: OK
......
SCSI write: device 0 block # 1843112, count 72 ... 72 blocks write: OK
SCSI write: device 0 block # 1843184, count 8 ... 8 blocks write: OK
partition 'system' flashed
Partition: userdata, File: /sdfuse/userdata
reading /sdfuse/userdata
Failed to read /sdfuse/userdata
Partition: cache, File: /sdfuse/cache
reading /sdfuse/cache
Failed to read /sdfuse/cache
Partition: modem, File: /sdfuse/modem
reading /sdfuse/modem
Failed to read /sdfuse/modem
Partition: efs, File: /sdfuse/efs
reading /sdfuse/efs
Failed to read /sdfuse/efs
Partition: kernel, File: /sdfuse/kernel
reading /sdfuse/kernel
13528760 (0x00ce6eb8) bytes read
flashing 'kernel'
writing partition kernel ..device 0, Start 4096, Count 26424
SCSI write: device 0 block # 4096, count 26424 ... 26424 blocks write: OK
completed
partition 'kernel' flashed
Partition: ramdisk, File: /sdfuse/ramdisk
reading /sdfuse/ramdisk
1048286 (0x000ffede) bytes read
flashing 'ramdisk'
Writing to UFS(0)... done
writing partition ramdisk ..device 0, Start 45056, Count 2048
SCSI write: device 0 block # 45056, count 2048 ... 2048 blocks write: OK
completed
partition 'ramdisk' flashed
Partition: recovery, File: /sdfuse/recovery
reading /sdfuse/recovery
Failed to read /sdfuse/recovery
Partition: dtb, File: /sdfuse/dtb
reading /sdfuse/dtb
129359 (0x0001f94f) bytes read
flashing 'dtb'
writing partition dtb ..device 0, Start 151552, Count 253
SCSI write: device 0 block # 151552, count 253 ... 253 blocks write: OK
completed
partition 'dtb' flashed
Partition: ldfw, File: /sdfuse/ldfw
reading /sdfuse/ldfw
1052672 (0x00101000) bytes read
flashing 'ldfw'
writing partition ldfw ..device 0, Start 153600, Count 2056
SCSI write: device 0 block # 153600, count 2056 ... 2056 blocks write: OK
completed
partition 'ldfw' flashed
Partition: bootlogo, File: /sdfuse/bootlogo
reading /sdfuse/bootlogo
1600854 (0x00186d56) bytes read
flashing 'bootlogo'
writing partition bootlogo ..device 0, Start 157696, Count 3127
SCSI write: device 0 block # 157696, count 3127 ... 3127 blocks write: OK
completed
partition 'bootlogo' flashed
Partition: font, File: /sdfuse/font
reading /sdfuse/font
Failed to read /sdfuse/font
Partition: engmode, File: /sdfuse/engmode
reading /sdfuse/engmode
Failed to read /sdfuse/engmode
All partition flashed
2、解析
日志 | 文件 | 函数 | 序号 |
| Board.c (arch\arm\lib) | board_init_f | 1 |
| Board.c (arch\arm\lib) | init_sequence | 1-1 |
U-Boot 2012.07 (Oct 15 2015 - 13:09:41) for YSE7420_AARCH64 | Board.c (arch\arm\lib) | display_banner | 1-1-1 |
CPU: Exynos7420 Rev1.3 [Samsung SOC on SMP Platform Base on ARM CortexA53] ATLAS_PLL = 1200MHz APOLLO_PLL = 1200MHz MIF_PLL = 3104MHz MFC_PLL = 468MHz CCI_PLL = 532MHz BUS0_PLL = 1600MHz BUS1_PLL = 668MHz | Cpu_info.c (arch\arm\cpu\armv7\s5p-common) | print_cpuinfo | 1-1-2 |
YSE7420_BETA.0.1.1
Board: YSE7420_AARCH64 | Yse7420.c (board\yicsystem\yse7420) | checkboard | 1-1-3 |
DRAM: 2.9 GiB | Board.c (arch\arm\lib) | display_dram_config | 1-2 |
| Yse7420.c (board\yicsystem\yse7420) | board_init | 2 |
| Yse7420.c (board\yicsystem\yse7420) | set_asv_pmic | 2-1 |
| Pmic.c (board\yicsystem\yse7420) | Get_ASV_Group |
|
| Asv-exynos7420_cal.c (board\yicsystem\yse7420) | cal_init |
|
(ASV_TBL_BASE+0x00)[11:0] bigcpu_asv_group = 1638 (ASV_TBL_BASE+0x00)[15:12] bigcpu_ssa0 = 0 (ASV_TBL_BASE+0x00)[27:16] littlecpu_asv_group = 2184 (ASV_TBL_BASE+0x00)[31:28] littlecpu_ssa0 = 0 (ASV_TBL_BASE+0x04)[11:0] g3d_asv_group = 3003 (ASV_TBL_BASE+0x04)[15:12] g3d_ssa0 = 0 (ASV_TBL_BASE+0x04)[27:16] mif_asv_group = 2184 (ASV_TBL_BASE+0x04)[31:28] mif_ssa0 = 0 (ASV_TBL_BASE+0x08)[11:0] int_asv_group = 2184 (ASV_TBL_BASE+0x08)[15:12] int_ssa0 = 0 (ASV_TBL_BASE+0x08)[27:16] cam_disp_asv_group = 2184 (ASV_TBL_BASE+0x08)[31:28] cam_disp_ssa0 = 0 (ASV_TBL_BASE+0x0C)[3:0] dvfs_asv_table_version = 15 (ASV_TBL_BASE+0x0C)[4] asv_group_type = 0 (ASV_TBL_BASE+0x0C)[7:5] reserved01 = 0 (ASV_TBL_BASE+0x0C)[8] shift_type = 0 (ASV_TBL_BASE+0x0C)[9] ssa1_enable = 0 (ASV_TBL_BASE+0x0C)[10] ssa0_enable = 0 (ASV_TBL_BASE+0x0C)[15:11] reserved02 = 0 (ASV_TBL_BASE+0x0C)[16] asv_method = 1 (ASV_TBL_BASE+0x0C)[31:17] reserved03 = 0 (ASV_TBL_BASE+0x10)[3:0] main_asv_group = 0 (ASV_TBL_BASE+0x10)[7:4] main_asv_ssa = 0 (ASV_TBL_BASE+0x10)[11:8] bigcpu_ssa1 = 0 (ASV_TBL_BASE+0x10)[15:12] littlecpu_ssa1 = 0 (ASV_TBL_BASE+0x10)[19:16] g3d_ssa1 = 0 (ASV_TBL_BASE+0x10)[23:20] mif_ssa1 = 0 (ASV_TBL_BASE+0x10)[27:24] int_ssa1 = 0 (ASV_TBL_BASE+0x10)[31:28] cam_disp_ssa1 = 0 (ASV_TBL_BASE+0x14)[8:0] bigcpu_ssa_ema = 0 (ASV_TBL_BASE+0x14)[17:9] littlecpu_ssa_ema = 0 (ASV_TBL_BASE+0x14)[26:18] g3d_ssa_ema = 0 (ASV_TBL_BASE+0x14)[31:27] reserved04 = 0 | Asv-exynos7420_cal.c (board\yicsystem\yse7420) | cal_print_asv_info |
|
TrustZone Enabled BSP BL1 version: ### [DREX] disable Dynamic Self Refresh ### [DREX] disable Dynamic Power Down | Yse7420.c (board\yicsystem\yse7420) | display_bl1_version |
|
Chip ID : 04772f32a888 / 0x00005e00 ID2 : N2ZZD | display_chip_id | 2-2 | |
PMIC: S2MPS15(REV12) RTC TIME: 2000-01-01 01:19:35(0x01)AM MIF: 837mV ATLAS: 812mV INT: 725mV G3D: 643mV APOLLO: 925mV DISP: 806mV INT1: 0x4f INT2: 0x11 INT3: 0x0 STATUS1: 0x1d STATUS2: 0x0 PWRONSRC: 0x3 OFFSRC: 0x80 RTC_BUF: 0x7, WRSTBI: 0x44 LDO_DVS1: 0x8c, LDO_DVS2: 0x80 LDO_DVS3: 0x84, LDO_DVS4: 0x84 | Espresso7420.c (board\samsung\espresso7420) | display_pmic_info | 2-3 |
[TMU] 33, 33, 31, 32 | Yse7420.c (board\yicsystem\yse7420) | display_tmu_info | 2-4 |
|
|
|
|
| Board.c (arch\arm\lib) | 3 | |
| Yse7420.c (board\yicsystem\yse7420) | board_init | 3-1 |
Checking Boot Mode ... UFS | Yse7420.c (board\yicsystem\yse7420) | display_boot_device_info | 3-1-1 |
EL3 monitor information => Built : 07:10:44, Apr 7 2015 | Yse7420.c (board\yicsystem\yse7420) | print_el3_monitor_version | 3-1-2 |
UFS:
|
|
| 3 |
| Scsi_ufs.c (drivers\block) | ufs_init | 3-2 |
| Scsi_ufs.c (drivers\block) | ufs_identify_bootlun | 3-2-1 |
| Scsi_ufs.c (drivers\block) | ufs_req_config | 3-2-1-1 |
UPIU_QUERY_OPCODE_WRITE_DESC : len90 lun:0 Query Response : 0xfa | Scsi_ufs.c (drivers\block) | ufs_send_upiu | 3-2-1-1-1 |
UPIU_ATTR_ID_BOOTLUNEN : 00000001 | Scsi_ufs.c (drivers\block) | ufs_send_upiu | 3-2-1-1-1 |
Boot LUN is #1, bBootLunID:1 |
|
| 3-2-1 |
| Scsi_ufs.c (drivers\block) | scsi_scan | 3-2-2 |
| Scsi_ufs.c (drivers\block) | scsi_exec | 3-2-2-1 |
SCSI CMD : 12 00 00 00 ff 00 00 00 01 00 SCSI Response(01) : Target Failure SCSI Status(02) : CHECK CONDITION 循环5次 | Scsi_ufs.c (drivers\block) | ufs_parse_respnse | 3-2-2-1-1 |
UserLUN = 0 BootLUN = 1 |
|
| 3-2-2 |
|
|
|
|
| Main.c (common) | run_command("scsi init ",0); | 3-3 |
Init SCSI | Cmd_scsi.c (common) | do_scsi |
|
| Scsi_ufs.c (drivers\block) | ufs_init | 3-2 |
| Scsi_ufs.c (drivers\block) | ufs_identify_bootlun | 3-2-1 |
| Scsi_ufs.c (drivers\block) | ufs_req_config | 3-2-1-1 |
UPIU_QUERY_OPCODE_WRITE_DESC : len90 lun:0 Query Response : 0xfa | Scsi_ufs.c (drivers\block) | ufs_send_upiu | 3-2-1-1-1 |
UPIU_ATTR_ID_BOOTLUNEN : 00000001 | Scsi_ufs.c (drivers\block) | ufs_send_upiu | 3-2-1-1-1 |
Boot LUN is #1, bBootLunID:1 |
|
| 3-2-1 |
scanning bus for devices... Device 0: (0:0) Vendor: SAMSUNG Prod.: KLUBG4G1BD-B0B1 Rev: 0104 Type: Hard Disk Capacity: 29819.9 MB = 29.1 GB (7633919 x 4096) Device 1: (0:1) Vendor: SAMSUNG Prod.: KLUBG4G1BD-B0B1 Rev: 0104 Type: Hard Disk Capacity: 3.9 MB = 0.0 GB (1023 x 4096) Device 2: (0:2) Vendor: SAMSUNG Prod.: KLUBG4G1BD-B0B1 Rev: 0104 Type: Hard Disk Capacity: 3.9 MB = 0.0 GB (1023 x 4096) | Scsi_ufs.c (drivers\block) | scsi_scan | 3-2-2 |
| Scsi_ufs.c (drivers\block) | scsi_exec | 3-2-2-1 |
SCSI CMD : 12 00 00 00 ff 00 00 00 01 00 SCSI Response(01) : Target Failure SCSI Status(02) : CHECK CONDITION 循环5次 | Scsi_ufs.c (drivers\block) | ufs_parse_respnse | 3-2-2-1-1 |
UserLUN = 0 BootLUN = 1 |
|
| 3-2-2 |
MMC: |
|
| 3 |
| Mmc.c (drivers\mmc) | mmc_initialize | 3-4 |
S5P_MSHC0: 0, S5P_MSHC2: 1 | Mmc.c (drivers\mmc) | print_mmc_devices | 3-4-1 |
MMC Device 0: |
|
| 3-4 |
|
| mmc_init | 3-4-2 |
|
| mmc_send_if_cond | 3-4-2-1 |
|
| mmc_send_cmd | 3-4-2-1-1 |
|
| mmc->send_cmd | 3-4-2-1-1-1 |
|
| mmc->send_cmd = s5p_mshc_send_command; | 3-4-2-1-1-1 |
[ERROR] response timeout error : 00000104 cmd 1 | S5p_mshc.c (drivers\mmc) | s5p_mshc_send_command |
|
Card did not respond to voltage select |
|
| 3-4-2 |
| Cmd_mmc_fdisk.c (common) 17463 2015/9/14 | set_boot_env | 3-5 |
Writing to UFS(0)... done | Env_mmc.c (common) 5098 2015/9/14 | saveenv | 3-5-1 |
|
|
|
|
|
|
|
|
|
|
|
|
rst_stat : 0x10000 | Yse7420.c (board\yicsystem\yse7420) | board_late_init | 3-6 |
|
| init_ldfws | 3-6-1 |
ldfw: booting device is UFS. ldfw: read whole ldfw partition from the storage | Yse7420.c (board\yicsystem\yse7420) | load_ldfw_parition | 3-6-1-1 |
reading partition ldfw ..device 0, Start 163600, Count 4096 SCSI read: device 0 block # 153600, count 4096 ... 4096 blocks read: OK completed | Cmd_movi.c (common) | do_movi | 3-6-1-1-1 |
ldfw: 0th ldfw's version 0x20150216 name : CryptoManagerV20 ldfw: 1th ldfw's version 0x20150204 name : fmp_fw ldfw: init ldfw(s). whole ldfws size 0x101000 ldfw: try to init 2 ldfw(s). except 0 ldfw 2 ldfw(s) have been inited done. | Ldfw.c (board\yicsystem\yse7420) | init_ldfws | 3-6-1 |
ldfw: init done successfully. |
|
| 3-6 |
reboot reason: 0xffe7ffcb - Power/Emergency Reset |
| dfd_display_reboot_reason | 3-6-2 |
Core stat at previous(IRAM) Core4: Hotplug Core5: Hotplug Core6: Hotplug Core7: Hotplug Core0: Reserved Core1: Hotplug Core2: Hotplug Core3: Hotplug Core stat at previous(KERNEL) Core0: Power/Emergency Reset: 0xefd7ffeb Core1: Power/Emergency Reset: 0xf9fffbf7 Core2: Power/Emergency Reset: 0xffd7fff2 Core3: Power/Emergency Reset: 0xfbfffbfb Core4: Power/Emergency Reset: 0xf7faebff Core6: Power/Emergency Reset: 0xfffaf3ff Core6: Power/Emergency Reset: 0xfffff7eb Core7: Power/Emergency Reset: 0xffcf7fff | Dfd.c (board\yicsystem\yse7420) | dfd_display_core_stat | 3-6-3 |
###Recovery Mode### | Yse7420.c (board\yicsystem\yse7420) | board_late_init | 3-6 |
###Recovery from SDcard. | Yse7420.c (board\yicsystem\yse7420) | configure_auto_boot | 3-6-4 |
|
|
|
|
Net: |
|
| 3 |
No ethernet found. | Eth.c (net) | eth_initialize | 3-7 |
|
|
|
|
main_loop Enter | Main.c (common) | main_loop | 3-8 |
run_cmd:movi read scsi bootlogo 0 e0000000 | Decon_core.c (drivers\video\exynos) | drv_video_init | 3-8-1 |
|
| Lcd_read_logo | 3-8-1-1 |
| Main.c (common) | run_command | 3-8-1-1-1 |
reading partition bootlogo ..device 0, Start 157696, Count 20480 SCSI read: device 0 block # 157696, count 20480 ... 20480 blocks read: OK completed | Cmd_movi.c (common) | do_movi | 3-8-1-1-1-1 |
|
|
|
|
Enter check_boot_mode [BootMode]Power key is pressed,reg=00000023 | Bootmode.c (drivers\video\exynos) | check_boot_mode | 3-8-1-2 |
Hit any key to stop autoboot: 0 | Main.c (common) | abortboot | 3-8-2 |
|
|
|
|
重要:run_command执行了如下两条命令,这两条命令分别调用了do_gpt与do_sdfuse函数。 文件:Yse7420_aarch64.h (include\configs) #define CONFIG_BOOTCOMMAND2_UFS \ "gpt write scsi 0;" \ "sdfuse flashwhole;" | Cmd_nvedit.c (common) | s = getenv ("bootcmd"); | |
| Main.c (common) | run_command | 3-8-4 |
Writing GPT: SCSI read: device 0 block # 48, count 48 ... 48 blocks read: OK This disk max block size = 61071256 success! | Cmd_gpt.c (common) | do_gpt |
|
[Fusing Image from SD Card.] [Partition table on ] ptn 0 name='fwbl1' start=0x0 len=N/A (use hard-coded info. (cmd: movi)) ptn 1 name='bl2' start=N/A len=N/A (use hard-coded info. (cmd: movi)) ptn 2 name='bootloader' start=N/A len=N/A (use hard-coded info. (cmd: movi)) ptn 3 name='el3_mon' start=N/A len=N/A (use hard-coded info. (cmd: movi)) ptn 4 name='tzsw' start=N/A len=N/A (use hard-coded info. (cmd: movi)) ptn 5 name='environment' start=N/A len=N/A (use hard-coded info. (cmd: movi)) ptn 6 name='partition_table' start=0x6000 len=0x6000(~24KB) ptn 7 name='fat' start=0x47BEB000 len=0x8000(~32KB) ptn 8 name='system' start=0x6400000 len=0x32000000(~819200KB) ptn 9 name='userdata' start=0x71200000 len=0xD69EB000(~28682156KB) ptn 10 name='cache' start=0x38400000 len=0x32000000(~819200KB) ptn 11 name='modem' start=0x6A400000 len=0x6400000(~102400KB) ptn 12 name='efs' start=0x70800000 len=0xA00000(~10240KB) ptn 13 name='kernel' start=0x200000 len=0x1400000(~20480KB) ptn 14 name='ramdisk' start=0x1600000 len=0x1A00000(~26624KB) ptn 15 name='recovery' start=0x3000000 len=0x1A00000(~26624KB) ptn 16 name='dtb' start=0x4A00000 len=0x100000(~1024KB) ptn 17 name='ldfw' start=0x4B00000 len=0x200000(~2048KB) ptn 18 name='bootlogo' start=0x4D00000 len=0xA00000(~10240KB) ptn 19 name='font' start=0x5700000 len=0x100000(~1024KB) ptn 20 name='engmode' start=0x5800000 len=0x200000(~2048KB) Partition: partition_table, File: /sdfuse/partition_table reading /sdfuse/partition_table 673 (0x000002a1) bytes read flashing 'partition_table' writing partition partition_table ..device 0, Start 48, Count 2 SCSI write: device 0 block # 48, count 2 ... 2 blocks write: OK completed | Cmd_fastboot.c (common) | do_sdfuse |
|
|
|
|
|