Uboot made system inoperable


#1

Please tell me what I did wrong:

git clone --depth=1 https://github.com/khadas/u-boot
cd u-boot
make kvim_defconfig && make
#there is no kvim2_defconfig
cp build/u-boot.bin /sdcard

boot to vim2

fatload mmc 0 1080000 u-boot.bin
store rom_write 1080000 0 1000000
reset

and here we are - it’s not operable

GXM:BL1:dc8b51:76f1a5;FEAT:ADFC318C:0;POC:3;RCY:0;EMMC:0;READ:0;0.0;CHK:0;
TE: 128300

BL2 Built : 13:48:56, Sep 23 2016. 
gxl g7459bd4 - jianxin.pan@droid06

set vcck to 1120 mv
set vddee to 1000 mv
Board ID = 6
CPU clk: 1200MHz
DQS-corr enabled
DDR scramble enabled
DDR3 chl: Rank0+1 @ 768MHz - FAIL
DDR3 chl: Rank0 @ 768MHz - FAIL
DDR3 chl: Rank0 16bit @ 768MHz - FAIL
DDR init failed...
Reset...

How to fix it?


#2

erased and burned image with M register mode.


#3

You try to build u-boot for VIM2, right? You should choose configuration kvim2_defconfig.

And you should choose the right branch.

Branch khadas-vims-nougat is for Android.
Branch khadas-vim-v2015.01 is for Ubuntu.

Thanks.


#4

There’s no kvim2_defconfig in https://github.com/khadas/u-boot default tree


#5

The default branch is out of date, you should choose the following branches.

Branch khadas-vims-nougat is for Android.
Branch khadas-vim-v2015.01 is for Ubuntu.