02-04-2016, 08:22 AM
(This post was last modified: 02-04-2016, 08:23 AM by Hahaburger.)
(02-03-2016, 03:34 PM)taros Wrote: I tried out the fresh boot.img (sha256sum: c0cf4c0b137e1366ab1621ece7fdc82a41259bc7d13c37917483705ed3802874) and it hangs quite early (Cannot find kernel):Weird, I almost changed nothing on that image. I've just added one kernel parameter and some sepolicies.
Actually, here is all the information from the console:
Code:Connected.
HELLO! BOOT0 is starting!
boot0 commit : 2fe7b0a9fb512fae2996ec1a2ba89d535e1f3c4d
boot0 version : 4.0.0
set pll start
set pll end
rtc[0] value = 0x00000000
rtc[1] value = 0x00000000
rtc[2] value = 0x00000000
rtc[3] value = 0x00000000
rtc[4] value = 0x00000000
rtc[5] value = 0x00000000
DRAM driver version: V1.1
rsb_send_initseq: rsb clk 400Khz -> 3Mhz
PMU: AXP81X
ddr voltage = 1500 mv
DRAM Type = 3 (2:DDR2,3:DDR3,6:LPDDR2,7:LPDDR3)
DRAM clk = 672 MHz
DRAM zq value: 003b3bbb
DRAM single rank full DQ OK
DRAM size = 1024 MB
DRAM init ok
dram size =1024
card boot number = 0, boot0 copy = 0
card no is 0
sdcard 0 line count 4
[mmc]: mmc driver ver 2015-05-08 20:06
[mmc]: sdc0 spd mode error, 2
[mmc]: Wrong media type 0x00000000
[mmc]: ***Try SD card 0***
[mmc]: HSSDR52/SDR25 4 bit
[mmc]: 50000000 Hz
[mmc]: 15423 MB
[mmc]: ***SD/MMC 0 init OK!!!***
sdcard 0 init ok
The size of uboot is 000fc000.
sum=15bc131f
src_sum=15bc131f
Succeed in loading uboot from sdmmc flash.
boot0: start load other image
boot0: Loading BL3-1
Loading file 0 at address 0x40000000,size 0x0000b400 success
boot0: Loading scp
Loading file 2 at address 0x00040000,size 0x00019c00 success
set arisc reset to de-assert state
Ready to disable icache.
J9=� Configuring SPC Controller
NOTICE: BL3-1: v1.0(debug):2fe7b0a
NOTICE: BL3-1: Built : 10:15:37, Jan 12 2016
NOTICE: BL3-1 commit: 2fe7b0a9fb512fae2996ec1a2ba89d535e1f3c4d
INFO: BL3-1: Initializing runtime services
INFO: BL3-1: Preparing for EL3 exit to normal world
INFO: BL3-1: Next image address = 0x4a000000
INFO: BL3-1: Next image spsr = 0x1d3
U-Boot 2014.07 (Jan 12 2016 - 10:15:41) Allwinner Technology
uboot commit : 2fe7b0a9fb512fae2996ec1a2ba89d535e1f3c4d
rsb: secure monitor exist
[ 0.377]pmbus: ready
[ 0.380][ARISC] :arisc initialize
[ 0.710][ARISC] :arisc_dvfs_cfg_vf_table: support only one vf_table
[SCP] :sunxi-arisc driver begin startup 2
[SCP] :arisc_para size:1a8
[SCP] :arisc version: [v0.1.76]
[SCP] :sunxi-arisc driver v1.10 is starting
[ 0.838][ARISC] :sunxi-arisc driver startup succeeded
[ 0.871]PMU: AXP81X
[ 0.873]PMU: read AXP81X 84H=0xf2
[ 0.877]PMU: write AXP81X 84H=0xf6
[ 0.880]PMU: AXP81X found
bat_vol=321, ratio=100
[ 0.887]PMU: dcdc2 1100
[ 0.890]PMU: cpux 1008 Mhz,AXI=336 Mhz
PLL6=600 Mhz,AHB1=200 Mhz, APB1=100Mhz AHB2=300Mhz MBus=400Mhz
device_type = 3253, onoff=1
dcdc1_vol = 3300, onoff=1
dcdc2_vol = 1100, onoff=1
dcdc6_vol = 1100, onoff=1
aldo1_vol = 2800, onoff=0
aldo2_vol = 1800, onoff=1
aldo3_vol = 3000, onoff=1
dldo1_vol = 3300, onoff=0
dldo2_vol = 3300, onoff=0
dldo3_vol = 2800, onoff=0
dldo4_vol = 3300, onoff=1
eldo1_vol = 1800, onoff=1
eldo2_vol = 1800, onoff=0
eldo3_vol = 1800, onoff=0
fldo1_vol = 1200, onoff=0
fldo2_vol = 1100, onoff=1
gpio0_vol = 3100, onoff=0
vbus not exist
no battery, limit to dc
run key detect
key pressed value=0x1
key pressed value=0x1
fel key not configed
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x2
key pressed value=0x1
key pressed value=0x1
key pressed value=0x2
key pressed value=0x1
key pressed value=0x2
key pressed value=0x2
key pressed value=0x1
key pressed value=0x2
key pressed value=0x2
key pressed value=0x2
key pressed value=0x2
key pressed value=0x2
key pressed value=0x2
key pressed value=0x2
key pressed value=0x2
key pressed value=0x2
key pressed value=0x2
key pressed value=0x2
key pressed value=0x2
key pressed value=0x2
key pressed value=0x2
key pressed value=0x2
key pressed value=0x2
key pressed value=0x2
key pressed value=0x2
key pressed value=0x2
key pressed value=0x2
key pressed value=0x2
key pressed value=0x2
key pressed value=0x2
key pressed value=0x2
key pressed value=0x2
key pressed value=0x2
key pressed value=0x2
key pressed value=0x2
key pressed value=0x2
key pressed value=0x2
key pressed value=0x2
key pressed value=0x2
key pressed value=0x2
key pressed value=0x2
key pressed value=0x2
key pressed value=0x2
key pressed value=0x2
key pressed value=0x2
key pressed value=0x2
key pressed value=0x2
key pressed value=0x2
key pressed value=0x2
key pressed value=0x2
key pressed value=0x2
key pressed value=0x1
key pressed value=0x2
key pressed value=0x2
key pressed value=0x1
key pressed value=0x2
key pressed value=0x2
key pressed value=0x1
key pressed value=0x2
key pressed value=0x2
key pressed value=0x1
key pressed value=0x2
key pressed value=0x2
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x2
key pressed value=0x1
key pressed value=0x1
key pressed value=0x2
key pressed value=0x1
key pressed value=0x1
key pressed value=0x2
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
key pressed value=0x1
time out
key not pressed anymore
no uart input
DRAM: 1008 MiB
fdt addr: 0x76eb70e0
Relocation Offset is: 35f09000
In: serial
Out: serial
Err: serial
gic: sec monitor mode
[ 12.573]start
drv_disp_init
init_clocks: finish init_clocks.
enable power vcc-hdmi-33, ret=0
drv_disp_init finish
boot_disp.output_disp=0
boot_disp.output_type=3
boot_disp.output_type=10
fetch script data boot_disp.auto_hpd fail
disp0 device type(4) enable
attched ok, mgr0<-->device1, type=4, mode=10
[ 12.945]end
workmode = 0,storage type = 1
[ 12.949]MMC: 0
[mmc]: mmc driver ver 2015-07-29 14:10:00
SUNXI SD/MMC: 0
[mmc]: start mmc_calibrate_delay_unit, don't access device...
[mmc]: delay chain cal done, sample: 200(ps)
[mmc]: media type 0x0
[mmc]: Wrong media type 0x0
[mmc]: ************Try SD card 0************
[mmc]: host caps: 0x27
[mmc]: MID 1b PSN 008541f6
[mmc]: PNM 00000 -- 0x30-30-30-30-30
[mmc]: PRV 1.0
[mmc]: MDT m-12 y-2011
[mmc]: speed mode : HSSDR52/SDR25
[mmc]: clock : 50000000 Hz
[mmc]: bus_width : 4 bit
[mmc]: user capacity : 15423 MB
[mmc]: ************SD/MMC 0 init OK!!!************
[mmc]: erase_grp_size : 0x1WrBlk*0x200=0x200 Byte
[mmc]: secure_feature : 0x0
[mmc]: secure_removal_type : 0x0
[ 13.162]sunxi flash init ok
--------fastboot partitions--------
-total partitions:11-
-name- -start- -size-
bootloader : 1000000 2000000
env : 3000000 1000000
boot : 4000000 1000000
system : 5000000 60000000
misc : 65000000 1000000
recovery : 66000000 2000000
cache : 68000000 30000000
metadata : 98000000 1000000
private : 99000000 1000000
alog : 9a000000 5000000
UDISK : 9f000000 0
-----------------------------------
base bootcmd=run setargs_nand boot_normal
bootcmd set setargs_mmc
key 1
recovery key high 12, low 10
fastboot key high 6, low 4
misc partition found
to be run cmd=run setargs_mmc boot_normal
update dtb dram start
update dtb dram end
** Unrecognized filesystem type **
load file(sn.txt) error
serial is: 241051900808142809cb
no battery exist
sunxi_bmp_logo_display
reading bootlogo.bmp
681774 bytes read in 36 ms (18.1 MiB/s)
bmp file buffer: 0x41000000, bmp_info.buffer: 47400000
fetch script data boot_disp.output_full fail
screen_id =0, screen_width =1920, screen_height =1080
frame buffer address 47400036
[ 13.771]inter uboot shell
Hit any key to stop autoboot: 0
read partition: boot or recovery
[ 14.605]sunxi flash read :offset 4000000, 16918757 bytes OK
Kernel load addr 0x41080000 size 10881 KiB
Kernel command line: androidboot.selinux=permissive
RAM disk load addr 0x42000000 size 4617 KiB
[ 14.956]ready to boot
prepare for kernel
[mmc]: MMC Device 2 not found
[mmc]: mmc 2 not find, so not exit
Starting kernel ...
INFO: BL3-1: Next image address = 0x41080000
INFO: BL3-1: Next image spsr = 0x3c5
I also checked your sha256sum which is the same on my PC so download is OK.
I've prepared new boot image and changed kernel parameter:
https://drive.google.com/file/d/0B5NrIPX...sp=sharing