[Arm-dev] How to make a Cubieboard2 image - Re: Release for CentOS userland 7(1611) on armhfp
Robert Moskowitz
rgm at htt-consult.com
Mon Dec 19 04:54:54 UTC 2016
Did not work. See below.
On 12/18/2016 09:17 PM, Mandar Joshi wrote:
>> So we need a Cubieboard2 image! It has been many a month since I played
>> with uboot. Can someone point me to how to convert the Cubieboard1 image to
>> a Cubieboard2?
>>
>> I will work for a while with the CubieTruck.
>>
> This might work. I don't have a Cubieboard 2, so you'll have to
> experiment a bit yourself.
>
> Get the U-boot for Cubieboard 2 (untested) from
> https://github.com/mndar/rbf/tree/master/files/cubieboard2
>
> Wrie it to your micro sd using
>
> dd if=u-boot-sunxi-with-spl.bin of=/dev/sdX bs=1024 seek=8 conv=fsync,notrunc
>
I found my notes from a year ago. I took the CubieTruck img and dd the
Cubieboard2 uboot with:
dd if=u-boot-sunxi-with-spl.bin of=/dev/sdb bs=1024 seek=8; sync
Since both are A20 boards and the Cubieboard is an A10 board.
And this worked back with 1511 CubieTruck image and the Cubiebaord2
uboot I had.
But this does not work with the uboot you supplied. I tried your dd
command and mine. What is:
conv=fsync, notrunc
?
Here is the screen output of the boot of the Cubieboard2 (btw, I have my
CubieTruck up and running).
Note that the CubieTruck uboot is:
U-Boot 2016.09.01 (Oct 26 2016 - 13:24:48 +0000) Allwinner Technology
And the one below is 2011.9?
HELLO! BOOT0 is starting!
boot0 version : 3.0.0
dram size =1024
sum=0x01be1e3a
src_sum=0x01be1e3a
Ready to disable icache.
Jump to secend Boot.
[ 0.134]
U-Boot 2011.09-rc1-00003-ge89ab14-dirty (Jan 03 2014 - 12:57:33)
Allwinner Technology
[ 0.143]version: 1.1.0
[ 0.146]pmbus: ready
[ 0.251]PMU: AXP209
[ 0.255]PMU: AXP20x found
[ 0.257]PMU: bat ratio = 100
[ 0.261]after set, dcdc2 =1400mv
[ 0.264]PMU: dcdc2 1400
[ 0.267]PMU: pll1 912 Mhz
boot_clock = 912
dcdc2_vol = 1400
[ 0.275]after set, dcdc2 =1400mv
dcdc3_vol = 1250
ldo2_vol = 3000
ldo3_vol = 2800
ldo4_vol = 2800
power_start = 0
storage_type = -1
usb_recovery = 1
find power_sply to end
fel key old mode
run key detect
no key found
no key input
dram_para_set start
dram_para_set end
[ 0.311]DRAM: 1 GiB
relocation Offset is: 35b23000
donn't initialize ther user_gpio (main_key:boot_init_gpio)
DRV_DISP_Init: opened
[ 0.525]boot_disp.output_type=4
[ 0.529]boot_disp.output_mode=4
[ 0.532]boot_disp.auto_hpd=1
workmode = 0
[ 1.836]NAND: NAND_UbootInit
NB1 : enter NAND_LogicInit
nand : get id_number_ctl from script, 3
not burn nand partition table!
NB1 : nand_info_init fail
[ 5.450]nand init fail
set to recovery
try sprite_led_gpio config
sprite_led_gpio start
sunxi sprite begin
screen_width = 800
screen_height = 480
bar x1: 200 y1: 200
bar x2: 600 y2: 280
read mbr failed
sprite update error: no data part found
read mbr failed
sprite update error: read image start error
sprite update error: current card sprite failed
now hold the machine
fail to find part named env
Using default environment
In: serial
Out: serial
Err: serial
--------fastboot partitions--------
mbr not exist
base bootcmd=run setargs_nand boot_normal
bootcmd set setargs_nand
key 0
recovery key high 6, low 4
cant find fstbt value
no misc partition is found
to be run cmd=run setargs_nand boot_normal
the part isn't exist
WORK_MODE_BOOT
WORK_MODE_BOOT
[ 5.544]Hit any key to stop autoboot: 0
cant find part named boot
sunxi_flash - sunxi_flash sub-system
Usage:
sunxi_flash read command parmeters :
parmeters 0 : addr to load(hex only)
parmeters 1 : the name of the part to be load
[parmeters 2] : the number of bytes to be load(hex only)
if [parmeters 2] not exist, the number of bytes to be load is the size
of the part indecated on partemeter 1
boota: bad boot image magic, maybe not a boot.img?
More information about the Arm-dev
mailing list