Jump to content

help with Cubieboard2 uboot upgrade


franki

Recommended Posts

Hi

 

I have problem with Cubieboard2 powering off during Legacy Armbian_5.14_Cubieboard2_Debian_jessie_3.4.112 boot.

It had been explained a little bit here:

http://forum.armbian.com/index.php/topic/1178-cubieboard-1-legacy-boot-failure/

 

So maybe I need uBoot upgrade.

 

I had written SD card with command:

dd if=Armbian_5.14_Cubieboard2_Debian_jessie_3.4.112.raw of=/dev/sdd bs=1M 

and upgraded uboot from here:

http://phelum.net/temp/CB2/u-boot-sunxi-with-spl.bin

with command:

dd if=u-boot-sunxi-with-spl.bin of=/dev/sdd bs=1k seek=8

full boot output here:

U-Boot SPL 2016.05-12902-g0e6e34a-dirty (Jun 19 2016 - 21:55:16)
DRAM: 1024 MiB
CPU: 912000000Hz, AXI/AHB/APB: 3/2/2
Trying to boot from MMC1


U-Boot 2016.05-12902-g0e6e34a-dirty (Jun 19 2016 - 21:55:16 +1000) Allwinner Technology

CPU:   Allwinner A20 (SUN7I)
Model: Cubietech Cubieboard2
I2C:   ready
DRAM:  1 GiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
SCSI:  SATA link 0 timeout.
AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part ccc apst 
Net:   No ethernet found.
starting USB...
USB0:   USB EHCI 1.00
USB1:   USB EHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
scanning bus 1 for devices... 1 USB Device(s) found
Hit any key to stop autoboot:  0 
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
2447 bytes read in 181 ms (12.7 KiB/s)
## Executing script at 43100000
0 bytes read in 131 ms (0 Bytes/s)
** File not found /boot/.next **
** Unrecognized filesystem type **
** File not found .next **
46308 bytes read in 344 ms (130.9 KiB/s)
3644163 bytes read in 383 ms (9.1 MiB/s)
5606240 bytes read in 546 ms (9.8 MiB/s)
Kernel image @ 0x48000000 [ 0x000000 - 0x558b60 ]
## Loading init Ramdisk from Legacy Image at 42000000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    3644099 Bytes = 3.5 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...

<6>Booting Linux on physical CPU 0
<6>Initializing cgroup subsys cpuset
<6>Initializing cgroup subsys cpu
<5>Linux version 3.4.112-sun7i (root@pluton) (gcc version 5.3.1 20160413 (Ubuntu/Linaro 5.3.1-14ubuntu2) ) #7 SMP PREEMPT Tue Jun 21 15:43:57 CEST 2016
CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7), cr=10c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: sun7i
<6>Memory Reserved:
<6>     SYS  : 0x43000000 - 0x4300ffff  (  64 kB)
<6>     LCD  : 0x44000000 - 0x44ffffff  (  16 MB)
Memory policy: ECC disabled, Data cache writealloc
<6>sunxi: Allwinner A20 (AW1651/sun7i) detected.
<7>On node 0 totalpages: 262144
<7>free_area_init_node: node 0, pgdat c0a89440, node_mem_map d0000000
<7>  DMA zone: 512 pages used for memmap
<7>  DMA zone: 0 pages reserved
<7>  DMA zone: 65024 pages, LIFO batch:15
<7>  Normal zone: 1008 pages used for memmap
<7>  Normal zone: 128016 pages, LIFO batch:31
<7>  HighMem zone: 528 pages used for memmap
<7>  HighMem zone: 67056 pages, LIFO batch:15
<6>PERCPU: Embedded 8 pages/cpu @d0808000 s8256 r8192 d16320 u32768
<7>pcpu-alloc: s8256 r8192 d16320 u32768 alloc=8*4096<c>
<7>pcpu-alloc: <c>[0] <c>0 <c>[0] <c>1 <c>
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260096
<5>Kernel command line: console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p1 rootwait rootfstype=ext4 cgroup_enable=memory swapaccount=1 sunxi_ve_mem_reserve=0 sunxi7
<6>PID hash table entries: 4096 (order: 2, 16384 bytes)
<6>Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
<6>Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
<6>allocated 2097152 bytes of page_cgroup
<6>please try 'cgroup_disable=memory' option if you don't want memory cgroups
<6>Memory: 1024MB = 1024MB total
<5>Memory: 1004732k/1004732k available, 43844k reserved, 270336K highmem
<5>Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
    lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .text : 0xc0008000 - 0xc09dfe98   (10080 kB)
      .init : 0xc09e0000 - 0xc0a18040   ( 225 kB)
      .data : 0xc0a1a000 - 0xc0a91d68   ( 480 kB)
       .bss : 0xc0a91d8c - 0xc0c66f78   (1877 kB)
<6>SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
<6>Preemptible hierarchical RCU implementation.
<6>     RCU dyntick-idle grace-period acceleration is enabled.
<6>     Additional per-CPU info printed with stalls.
<6>NR_IRQS:192
<6>Architected local timer running at 24.00MHz.
<6>sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
<2>start_kernel(): bug: interrupts were enabled early
<6>Console: colour dummy device 80x30
<6>console [tty1] enabled
<6>Calibrating delay loop... <c>1816.98 BogoMIPS (lpj=9084928)
<6>pid_max: default: 32768 minimum: 301
<6>Mount-cache hash table entries: 512
<6>Initializing cgroup subsys cpuacct
<6>Initializing cgroup subsys memory
<6>Initializing cgroup subsys devices
<6>Initializing cgroup subsys freezer
<6>Initializing cgroup subsys blkio
<6>Initializing cgroup subsys perf_event
<6>CPU: Testing write buffer coherency: ok
<6>CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
<6>hw perfevents: enabled with ARMv7 Cortex-A7 PMU driver, 5 counters available
<6>Setting up static identity map for 0x40724a18 - 0x40724a70
CPU1: Booted secondary processor
<6>CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
<6>Brought up 2 CPUs
<6>SMP: Total of 2 processors activated (3640.52 BogoMIPS).
<6>devtmpfs: initialized
<6>dummy: 
<6>NET: Registered protocol family 16
<6>DMA: preallocated 256 KiB pool for atomic coherent allocations
<6>hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
<6>hw-breakpoint: maximum watchpoint size is 8 bytes.
<6>[ccu-inf] aw clock manager init
<6>[ccu-inf] aw_ccu_init
<6>[ccu-inf] script config pll3 to 297MHz
<6>[ccu-inf] script config pll4 to 300MHz
<6>[ccu-inf] script config pll6 to 600MHz
<6>[ccu-inf] script config pll7 to 297MHz
<6>[ccu-inf] script config pll8 to 336MHz
<6>Init eGon pin module V2.0
<6>bio: create slab <bio-0> at 0
<6>sunxi_gpio driver init ver 1.3
<6>gpiochip_add: registered GPIOs 1 to 2 on device: A1X_GPIO
<5>SCSI subsystem initialized
<7>libata version 3.00 loaded.
<6>usbcore: registered new interface driver usbfs
<6>usbcore: registered new interface driver hub
<6>usbcore: registered new device driver usb
<6>Linux media interface: v0.10
<6>Linux video capture interface: v2.00
<6>Advanced Linux Sound Architecture Driver Version 1.0.25.
<6>Switching to clocksource arch_sys_counter
<5>FS-Cache: Loaded
<6>CacheFiles: Loaded
<6>cfg80211: Calling CRDA to update world regulatory domain
[usb_manager]: CONFIG_USB_SW_SUNXI_USB0_OTG
[sw_hcd0]: usb host driver initialize........
[sw_hcd0]: open_usb_clock
[sw_hcd0]: host_init_state = 1
[sw_hcd0]: platform is usb host
[sw_hcd0]: sw_hcd_host0: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx (X), HB-ISO Tx (X), SoftConn)
[sw_hcd0]: sw_hcd_init_controller: sw_hcd_host0: USB Host mode controller at f1c13000 using PIO, IRQ 70
<6>sw_hcd_host0 sw_hcd_host0: sw_hcd host driver
<6>sw_hcd_host0 sw_hcd_host0: new USB bus registered, assigned bus number 1
<6>hub 1-0:1.0: USB hub found
<6>hub 1-0:1.0: 1 port detected
wrn: hcd is not enable, need not start hcd
[sw_hcd0]: sw_usb_host0_disable start
-------sw_hcd0_soft_disconnect---------
is_on = 0, hcd0_set_vbus_cnt = 0
[sw_hcd_host0]: Set USB Power Off
wrn: hcd is not enable, need not stop hcd
[sw_hcd0]: close_usb_clock
[sw_hcd0]: sw_usb_host0_disable end
[sw_udc]: udc_init: version 20080411
<6>NET: Registered protocol family 2
<6>IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
<6>TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
<6>TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
<6>TCP: Hash tables configured (established 131072 bind 65536)
<6>TCP: reno registered
<6>UDP hash table entries: 512 (order: 2, 16384 bytes)
<6>UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
<6>NET: Registered protocol family 1
<6>RPC: Registered named UNIX socket transport module.
<6>RPC: Registered udp transport module.
<6>RPC: Registered tcp transport module.
<6>RPC: Registered tcp NFSv4.1 backchannel transport module.
<6>Trying to unpack rootfs image as initramfs...
<6>Freeing initrd memory: 3556K
<6>audit: initializing netlink socket (disabled)
<5>type=2000 audit(0.860:1): initialized
highmem bounce pool size: 64 pages
<5>VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
<6>squashfs: version 4.0 (2009/01/31) Phillip Lougher
<5>NFS: Registering the id_resolver key type
<6>NTFS driver 2.1.30 [Flags: R/W].
<6>fuse init (API version 7.18)
<6>JFS: nTxBlock = 7877, nTxLock = 63018
<6>SGI XFS with ACLs, security attributes, large block/inode numbers, no debug enabled
<6>Btrfs loaded
<6>msgmni has been set to 1441
<6>alg: No test for stdrng (krng)
<6>Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
<6>io scheduler noop registered
<6>io scheduler deadline registered
<6>io scheduler cfq registered (default)
<6>sunxi disp driver loaded (/dev/disp api 1.0)
<6>Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
<6>[uart]: used uart info.: 0x01
<6>[uart]: serial probe 0 irq 33 mapbase 0x01c28000
<6>sunxi-uart.0: ttyS0 at MMIO 0x1c28000 (irq = 33) is a U6_16550A
[    0.000000] Booting Linux on physical CPU 0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.4.112-sun7i (root@pluton) (gcc version 5.3.1 20160413 (Ubuntu/Linaro 5.3.1-14ubuntu2) ) #7 SMP PREEMPT Tue Jun 21 15:43:57 CEST 2016
[    0.000000] Memory Reserved:
[    0.000000]  SYS  : 0x43000000 - 0x4300ffff  (  64 kB)
[    0.000000]  LCD  : 0x44000000 - 0x44ffffff  (  16 MB)
[    0.000000] sunxi: Allwinner A20 (AW1651/sun7i) detected.
[    0.000000] PERCPU: Embedded 8 pages/cpu @d0808000 s8256 r8192 d16320 u32768
[    0.000000] Kernel command line: console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p1 rootwait rootfstype=ext4 cgroup_enable=memory swapaccount=1 sunxi_ve_mem_res7
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] allocated 2097152 bytes of page_cgroup
[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[    0.000000] Memory: 1024MB = 1024MB total
[    0.000000] Memory: 1004732k/1004732k available, 43844k reserved, 270336K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc09dfe98   (10080 kB)
[    0.000000]       .init : 0xc09e0000 - 0xc0a18040   ( 225 kB)
[    0.000000]       .data : 0xc0a1a000 - 0xc0a91d68   ( 480 kB)
[    0.000000]        .bss : 0xc0a91d8c - 0xc0c66f78   (1877 kB)
[    0.000000] SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  RCU dyntick-idle grace-period acceleration is enabled.
[    0.000000]  Additional per-CPU info printed with stalls.
[    0.000000] NR_IRQS:192
[    0.000000] Architected local timer running at 24.00MHz.
[    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[    0.000000] start_kernel(): bug: interrupts were enabled early
[    0.000000] Console: colour dummy device 80x30
[    0.000000] console [tty1] enabled
[    0.013674] Calibrating delay loop... 1816.98 BogoMIPS (lpj=9084928)
[    0.076012] pid_max: default: 32768 minimum: 301
[    0.079677] Mount-cache hash table entries: 512
[    0.083883] Initializing cgroup subsys cpuacct
[    0.087221] Initializing cgroup subsys memory
[    0.090653] Initializing cgroup subsys devices
[    0.094101] Initializing cgroup subsys freezer
[    0.097337] Initializing cgroup subsys blkio
[    0.101020] Initializing cgroup subsys perf_event
[    0.104612] CPU: Testing write buffer coherency: ok
[    0.109822] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.116943] hw perfevents: enabled with ARMv7 Cortex-A7 PMU driver, 5 counters available
[    0.122499] Setting up static identity map for 0x40724a18 - 0x40724a70
[    0.297418] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.299424] Brought up 2 CPUs
[    0.304763] SMP: Total of 2 processors activated (3640.52 BogoMIPS).
[    0.307997] devtmpfs: initialized
[    0.314071] dummy: 
[    0.317779] NET: Registered protocol family 16
[    0.324233] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.332185] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.337018] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.340183] [ccu-inf] aw clock manager init
[    0.342464] [ccu-inf] aw_ccu_init
[    0.346438] [ccu-inf] script config pll3 to 297MHz
[    0.350199] [ccu-inf] script config pll4 to 300MHz
[    0.353956] [ccu-inf] script config pll6 to 600MHz
[    0.357728] [ccu-inf] script config pll7 to 297MHz
[    0.361485] [ccu-inf] script config pll8 to 336MHz
[    0.364258] Init eGon pin module V2.0
[    0.373854] bio: create slab <bio-0> at 0
[    0.377450] sunxi_gpio driver init ver 1.3
[    0.383113] gpiochip_add: registered GPIOs 1 to 2 on device: A1X_GPIO
[    0.386284] SCSI subsystem initialized
[    0.393854] usbcore: registered new interface driver usbfs
[    0.398198] usbcore: registered new interface driver hub
[    0.402376] usbcore: registered new device driver usb
[    0.405530] Linux media interface: v0.10
[    0.409173] Linux video capture interface: v2.00
[    0.414776] Advanced Linux Sound Architecture Driver Version 1.0.25.
[    0.420364] Switching to clocksource arch_sys_counter
[    0.422482] FS-Cache: Loaded
[    0.424765] CacheFiles: Loaded
[    0.435780] cfg80211: Calling CRDA to update world regulatory domain
[    0.496991] sw_hcd_host0 sw_hcd_host0: sw_hcd host driver
[    0.503711] sw_hcd_host0 sw_hcd_host0: new USB bus registered, assigned bus number 1
[    0.507162] hub 1-0:1.0: USB hub found
[    0.510073] hub 1-0:1.0: 1 port detected
[    0.544252] NET: Registered protocol family 2
[    0.560816] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.567761] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.575278] TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
[    0.582052] TCP: Hash tables configured (established 131072 bind 65536)
[    0.584270] TCP: reno registered
[    0.589156] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.594503] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.598126] NET: Registered protocol family 1
[    0.603392] RPC: Registered named UNIX socket transport module.
[    0.607119] RPC: Registered udp transport module.
[    0.610787] RPC: Registered tcp transport module.
[    0.616198] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.620785] Trying to unpack rootfs image as initramfs...
[    0.867611] Freeing initrd memory: 3556K
[    0.873256] audit: initializing netlink socket (disabled)
[    0.877074] type=2000 audit(0.860:1): initialized
[    0.893375] VFS: Disk quotas dquot_6.5.2
[    0.906151] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.911685] NFS: Registering the id_resolver key type
[    0.916280] NTFS driver 2.1.30 [Flags: R/W].
[    0.919581] fuse init (API version 7.18)
[    0.924268] JFS: nTxBlock = 7877, nTxLock = 63018
[    0.942390] SGI XFS with ACLs, security attributes, large block/inode numbers, no debug enabled
[    0.946695] Btrfs loaded
[    0.949536] msgmni has been set to 1441
[    0.957079] alg: No test for stdrng (krng)
[    0.963771] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.966718] io scheduler noop registered
[    0.969953] io scheduler deadline registered
[    0.973652] io scheduler cfq registered (default)
[    0.978527] sunxi disp driver loaded (/dev/disp api 1.0)
[    0.984076] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.988753] [uart]: used uart info.: 0x01
[    0.993466] [uart]: serial probe 0 irq 33 mapbase 0x01c28000
[    1.019772] sunxi-uart.0: ttyS0 at MMIO 0x1c28000 (irq = 33) is a U6_16550A
<6>console [ttyS0] enabled
[    1.686564] console [ttyS0] enabled
<7>G2D: drv_g2d_init
<6>G2D: Module initialized.major:250
[    1.696076] G2D: Module initialized.major:250
<6>brd: module loaded
[    1.709624] brd: module loaded
<6>loop: module loaded
[    1.718622] loop: module loaded
[NAND] nand driver version: 0x2 0x9 
<4>Dev Sunxi softw311 nand magic does not match for MBR 1: ��������
[    1.787878] Dev Sunxi softw311 nand magic does not match for MBR 1: ��������
<4>Dev Sunxi softw311 nand magic does not match for MBR 2: ��������
[    1.800992] Dev Sunxi softw311 nand magic does not match for MBR 2: ��������
<4>Dev Sunxi softw311 nand magic does not match for MBR 3: ��������
[    1.814055] Dev Sunxi softw311 nand magic does not match for MBR 3: ��������
<4>Dev Sunxi softw311 nand magic does not match for MBR 4: ��������
[    1.827114] Dev Sunxi softw311 nand magic does not match for MBR 4: ��������
<4>Dev Sunxi softw311 nand header bad for all MBR copies, MBR corrupted or not present.
[    1.841906] Dev Sunxi softw311 nand header bad for all MBR copies, MBR corrupted or not present.
<4>Dev Sunxi softw411 nand magic does not match for MBR 1: ��������
[    1.856718] Dev Sunxi softw411 nand magic does not match for MBR 1: ��������
<4>Dev Sunxi softw411 nand magic does not match for MBR 2: ��������
[    1.871782] Dev Sunxi softw411 nand magic does not match for MBR 2: ��������
<4>Dev Sunxi softw411 nand magic does not match for MBR 3: ��������
[    1.886837] Dev Sunxi softw411 nand magic does not match for MBR 3: ��������
<4>Dev Sunxi softw411 nand magic does not match for MBR 4: ��������
[    1.901868] Dev Sunxi softw411 nand magic does not match for MBR 4: ��������
<4>Dev Sunxi softw411 nand header bad for all MBR copies, MBR corrupted or not present.
[    1.916665] Dev Sunxi softw411 nand header bad for all MBR copies, MBR corrupted or not present.
<6> nand: unknown partition table
[    1.928515]  nand: unknown partition table
[NAND]nand driver, ok.
pwm-sunxi: pwm0 configured - period: 20, duty_percent: 50, duty: 10
<6>sw_ahci sw_ahci.0: controller can't do PMP, turning off CAP_PMP
[    1.947672] sw_ahci sw_ahci.0: controller can't do PMP, turning off CAP_PMP
<6>ahci: SSS flag set, parallel bus scan disabled
[    1.959151] ahci: SSS flag set, parallel bus scan disabled
<6>sw_ahci sw_ahci.0: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode
[    1.972065] sw_ahci sw_ahci.0: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode
<6>sw_ahci sw_ahci.0: flags: ncq sntf stag pm led clo only pio slum part ccc 
[    1.987414] sw_ahci sw_ahci.0: flags: ncq sntf stag pm led clo only pio slum part ccc 
<6>scsi0 : sw_ahci_platform
[    1.998736] scsi0 : sw_ahci_platform
<6>ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] port 0x100 irq 88
[    2.009577] ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] port 0x100 irq 88
<3>[spi-err] Get spi devices number failed
[    2.021590] [spi-err] Get spi devices number failed
<3>[spi-err] register spi devices board info failed 
[    2.031200] [spi-err] register spi devices board info failed 
<4>spi: cannot find any using configuration for                     all 4 spi controllers, return directly!
[    2.046419] spi: cannot find any using configuration for                     all 4 spi controllers, return directly!
<6>bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[    2.063055] bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
<6>Fixed MDIO Bus: probed
[    2.074970] Fixed MDIO Bus: probed
<6>sunxi_emac Using mii phy on PortA
[    2.081706] sunxi_emac Using mii phy on PortA
<6>sunxi_emac Using MAC from SID: 02:03:08:82:e6:1c[    2.100892] sunxi_emac Using MAC from SID: 02:03:08:82:e6:1c<4>emac_init fetch emac using configuration failed

[    2.112877] emac_init fetch emac using configuration failed
<6>gmac driver is disabled
[    2.121124] gmac driver is disabled
<6>PPP generic driver version 2.4.2
[    2.127840] PPP generic driver version 2.4.2
<6>PPP BSD Compression module registered
[    2.136047] PPP BSD Compression module registered
<6>PPP Deflate Compression module registered
[    2.144786] PPP Deflate Compression module registered
<6>PPP MPPE Compression module registered
[    2.156979] PPP MPPE Compression module registered
<6>NET: Registered protocol family 24
[    2.165228] NET: Registered protocol family 24
<6>ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.175801] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
<6>ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.187575] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[sw-ehci1]: open clock
[sw-ehci1]: Set USB Power ON
<6>sw-ehci sw-ehci.1: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.225340] sw-ehci sw-ehci.1: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
<6>sw-ehci sw-ehci.1: new USB bus registered, assigned bus number 2
[    2.239103] sw-ehci sw-ehci.1: new USB bus registered, assigned bus number 2
<6>sw-ehci sw-ehci.1: irq 71, io mem 0x01c14000
[    2.250589] sw-ehci sw-ehci.1: irq 71, io mem 0x01c14000
<6>sw-ehci sw-ehci.1: USB 2.0 started, EHCI 1.00
[    2.274802] sw-ehci sw-ehci.1: USB 2.0 started, EHCI 1.00
<6>hub 2-0:1.0: USB hub found
[    2.283605] hub 2-0:1.0: USB hub found
<6>hub 2-0:1.0: 1 port detected
[    2.290254] hub 2-0:1.0: 1 port detected
[sw-ohci1]: open clock
<6>sw-ohci sw-ohci.1: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    2.323005] sw-ohci sw-ohci.1: SW USB2.0 'Open' Host Controller (OHCI) Driver
<6>sw-ohci sw-ohci.1: new USB bus registered, assigned bus number 3
[    2.336396] sw-ohci sw-ohci.1: new USB bus registered, assigned bus number 3
<6>sw-ohci sw-ohci.1: irq 96, io mem 0x01c14400
[    2.347763] sw-ohci sw-ohci.1: irq 96, io mem 0x01c14400
<6>hub 3-0:1.0: USB hub found
[    2.417769] hub 3-0:1.0: USB hub found
<6>hub 3-0:1.0: 1 port detected
[    2.424453] hub 3-0:1.0: 1 port detected
[sw-ehci2]: open clock
[sw-ehci2]: Set USB Power ON
<6>sw-ehci sw-ehci.2: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.460128] sw-ehci sw-ehci.2: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
<6>sw-ehci sw-ehci.2: new USB bus registered, assigned bus number 4
[    2.473845] sw-ehci sw-ehci.2: new USB bus registered, assigned bus number 4
<6>sw-ehci sw-ehci.2: irq 72, io mem 0x01c1c000
[    2.485313] sw-ehci sw-ehci.2: irq 72, io mem 0x01c1c000
<6>sw-ehci sw-ehci.2: USB 2.0 started, EHCI 1.00
[    2.514804] sw-ehci sw-ehci.2: USB 2.0 started, EHCI 1.00
<6>hub 4-0:1.0: USB hub found
[    2.523610] hub 4-0:1.0: USB hub found
<6>hub 4-0:1.0: 1 port detected
[    2.530254] hub 4-0:1.0: 1 port detected
[sw-ohci2]: open clock
<6>sw-ohci sw-ohci.2: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    2.562998] sw-ohci sw-ohci.2: SW USB2.0 'Open' Host Controller (OHCI) Driver
<6>sw-ohci sw-ohci.2: new USB bus registered, assigned bus number 5
[    2.576382] sw-ohci sw-ohci.2: new USB bus registered, assigned bus number 5
<6>sw-ohci sw-ohci.2: irq 97, io mem 0x01c1c400
[    2.587756] sw-ohci sw-ohci.2: irq 97, io mem 0x01c1c400
<6>hub 5-0:1.0: USB hub found
[    2.657808] hub 5-0:1.0: USB hub found
<6>hub 5-0:1.0: 1 port detected
[    2.664479] hub 5-0:1.0: 1 port detected
<6>Initializing USB Mass Storage driver...
[    2.672651] Initializing USB Mass Storage driver...
<6>usbcore: registered new interface driver usb-storage
[    2.682677] usbcore: registered new interface driver usb-storage
<6>USB Mass Storage support registered.
[    2.692276] USB Mass Storage support registered.
<6>usbcore: registered new interface driver ums-alauda
[    2.701830] usbcore: registered new interface driver ums-alauda
<6>usbcore: registered new interface driver ums-cypress
[    2.712787] usbcore: registered new interface driver ums-cypress
<6>usbcore: registered new interface driver ums-datafab
<6>ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    2<.723815] usbcore: registered new interface driver ums-datafab
6[    2.728951] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
>ata1.00: ATA-8: INTEL SSDSA2CT040G3, 4PC10362, max UDMA/133
[ <   2.746670] ata1.00: ATA-8: INTEL SSDSA2CT040G3, 4PC10362, max UDMA/133
6>ata1.00: 78165360 sectors, multi 1: LBA48 NCQ (depth 31/32)
[    2<.758832] ata1.00: 78165360 sectors, multi 1: LBA48 NCQ (depth 31/32)
6>ata1.00: configured for UDMA/133
[    2.7<68653] ata1.00: configured for UDMA/133
5>scsi 0:0:0:0: Direct-Access     ATA      INTEL SSDSA2CT04 4PC1 PQ: 0 ANSI: 5
[    2.779<945] scsi 0:0:0:0: Direct-Access     ATA      INTEL SSDSA2CT04 4PC1 PQ: 0 ANSI: 5
5>sd 0:0:0:0: [sda] 78165360 512-byte logical blocks: (40.0 GB/37.2 GiB)
[    2.794<541] sd 0:0:0:0: [sda] 78165360 512-byte logical blocks: (40.0 GB/37.2 GiB)
5>sd 0:0:0:0: [sda] Write Protect is off
[ <   2.805842] sd 0:0:0:0: [sda] Write Protect is off
7>sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
<5>sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
<6>usbcore: registered new interface driver ums_eneub6250
[ <   2.822801] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
6>us[    2.827935] usbcore: registered new interface driver ums_eneub6250
bcore: registered new interface driver ums-freecom
[ <   2.848087] usbcore: registered new interface driver ums-freecom
6>usbcore: registered new interface driver ums-isd200
[ <   2.858948] usbcore: registered new interface driver ums-isd200
6>usbcore: registered new interface driver ums-jumpshot
[ <   2.869895] usbcore: registered new interface driver ums-jumpshot
6>usbcore: registered new interface driver ums-karma
[ <   2.880756] usbcore: registered new interface driver ums-karma
6>usbcore: registered new interface driver ums-onetouch
[ <   2.891616] usbcore: registered new interface driver ums-onetouch
6>usbcore: registered new interface driver ums-realtek
[ <   2.902650] usbcore: registered new interface driver ums-realtek
6>usbcore: registered new interface driver ums-sddr09
[ <   2.913519] usbcore: registered new interface driver ums-sddr09
6>usbcore: registered new interface driver ums-sddr55
[ <   2.924294] usbcore: registered new interface driver ums-sddr55
6>usbcore: registered new interface driver ums-usbat
[   < 2.934981] usbcore: registered new interface driver ums-usbat
6>mousedev: PS/2 mouse device common for all mice
[  =  2.945322] mousedev: PS/2 mouse device common for all mice
==========================hv_keypad_init=====================
========HV Inital ===================
<6> sda:
[    2.960746<]  sda:
5>sd 0:0:0:0: [sda] Attached SCSI disk
[    2.966254] sd 0:0:0:0: [sda] Attached SCSI disk
<3>tkey_fetch_sysconfig_para: tkey_unused.
[    2.974831] tkey_fetch_sysconfig_para: tkey_unused.
hv_keypad_init: after fetch_sysconfig_para:  normal_i2c: 0x0. normal_i2c[1]: 0x0
<3>sunxi-rtc sunxi-rtc: Error: Set LOSC to external failed.
[    2.992746] sunxi-rtc sunxi-rtc: Error: Set LOSC to external failed.
<3>sunxi-rtc sunxi-rtc: Warning: RTC time will be wrong!
[    3.004182] sunxi-rtc sunxi-rtc: Warning: RTC time will be wrong!
<6>sunxi-rtc sunxi-rtc: rtc core: registered rtc as rtc0
[    3.015692] sunxi-rtc sunxi-rtc: rtc core: registered rtc as rtc0
<6>i2c /dev entries driver
[    3.024363] i2c /dev entries driver
config i2c gpio with gpio_config api
<6>axp_mfd 0-0034: AXP (CHIP ID: 0x41) detected
[    3.037104] axp_mfd 0-0034: AXP (CHIP ID: 0x41) detected
<6>axp_mfd 0-0034: AXP internal temperature monitoring enabled
[    3.048259] axp_mfd 0-0034: AXP internal temperature monitoring enabled
<4>i2c i2c-0: Invalid probe address 0x00
[    3.059646] i2c i2c-0: Invalid probe address 0x00
<6>I2C: i2c-0: AW16XX I2C adapter
[    3.067450] I2C: i2c-0: AW16XX I2C adapter
[cedar dev]: not installed! ve_mem_reserve=0
[tt]----- avs_dev driver load... ----
[tt]-----      register iomem      ----
[tt]--- avs_dev driver load ok!! -----
[ace_drv] start!!!
[ace_drv] init end!!!
[pa_drv] start!!!
[pa_drv] init end!!!
<6>axp20_ldo1: 1300 mV
[    3.096838] axp20_ldo1: 1300 mV
<6>axp20_ldo2: 1800 <--> 3300 mV at 3000 mV
[    3.105311] axp20_ldo2: 1800 <--> 3300 mV at 3000 mV

Then Cubieboard2 just goes dead, 

 

I would also be happy with Vanilla image (which works), had it had NAND support.

Is this the matter of compiling new kernel with nand support ?

 

Best Regards

Marek

Link to comment
Share on other sites

Armbian & Khadas are rewarding contributors

Hi

 

I have checked two images:

http://mirror.igorpecovnik.com/test/U-boot-2016.01-Armbian_5.17_Cubieboard2_Debian_jessie_3.4.112.7z

http://mirror.igorpecovnik.com/test/U-boot-2015.10-Armbian_5.17_Cubieboard2_Debian_jessie_3.4.112.7z

 

Boot is OK and the installation process, but there is problem with nand-sata-install.

(boot from NAND, root on SATA)

I have created /dev/sda1 and performed installation, all went well, but it doesn't boot without SD card.

 

Here is console output from first image

<4>Dev Sunxi softw311 nand magic does not match for MBR 1: softw411
<4>Dev Sunxi softw311 nand magic does not match for MBR 2: ��������
<4>Dev Sunxi softw311 nand magic does not match for MBR 3: ��������
<4>Dev Sunxi softw311 nand magic does not match for MBR 4: ��������
<4>Dev Sunxi softw311 nand header bad for all MBR copies, MBR corrupted or not present.
<4>Dev Sunxi softw411 nand: part 1, start 65536, size 65536
<4>Dev Sunxi softw411 nand: part 2, start 131072, size 7651328
<6> nand: nand1 nand2
<4>Dev Sunxi softw311 nand magic does not match for MBR 1: softw411
<4>Dev Sunxi softw311 nand magic does not match for MBR 2: ��������
<4>Dev Sunxi softw311 nand magic does not match for MBR 3: ��������
<4>Dev Sunxi softw311 nand magic does not match for MBR 4: ��������
<4>Dev Sunxi softw311 nand header bad for all MBR copies, MBR corrupted or not present.
<4>Dev Sunxi softw411 nand: part 1, start 65536, size 65536
<4>Dev Sunxi softw411 nand: part 2, start 131072, size 7651328
<6> nand: nand1 nand2
         �┌��─��─��─�─��─��─��─��─��─��─��─��─��─NAND boot / SATA root install��─��─��─��─��─��─��─��─�─��─��─��─�─��─��─��─��┠          
         ��│                                                          ��│           
         ��All done. Power off and remove SD to boot from NAND        ��│           
         ��│                                                          ��│           
         ��├��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─�─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─�� 
         ��│             <Power off>       <  Exit   >                ��│           
         ��└��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─�─��─��─��─�─��─��─��─�─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��   
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
<30>systemd-shutdown[1]: Sending SIGTERM to remaining processes...                                                                                                     
<46>systemd-journald[175]: Received SIGTERM from PID 1 (systemd-shutdow).
<30>systemd-shutdown[1]: Sending SIGKILL to remaining processes...
<30>systemd-shutdown[1]: Unmounting file systems.
<30>systemd-shutdown[1]: Unmounting /sys/kernel/config.
<30>systemd-shutdown[1]: Unmounting /sys/fs/fuse/connections.
<30>systemd-shutdown[1]: Unmounting /sys/kernel/debug.
<30>systemd-shutdown[1]: Unmounting /dev/mqueue.
<6>EXT4-fs (mmcblk0p1): re-mounted. Opts: (null)
<6>EXT4-fs (mmcblk0p1): re-mounted. Opts: (null)
<6>EXT4-fs (mmcblk0p1): re-mounted. Opts: (null)
<30>systemd-shutdown[1]: All filesystems unmounted.
<30>systemd-shutdown[1]: Deactivating swaps.
<30>systemd-shutdown[1]: All swaps deactivated.
<30>systemd-shutdown[1]: Detaching loop devices.
<30>systemd-shutdown[1]: All loop devices detached.
<30>systemd-shutdown[1]: Detaching DM devices.
<30>systemd-shutdown[1]: All DM devices detached.
<30>systemd-shutdown[1]: Powering off.
<5>sd 0:0:0:0: [sda] Synchronizing SCSI cache
<5>sd 0:0:0:0: [sda] Stopping disk
<6>[sw-ohci2]: shutdown start
[sw-ohci2]: close clock
<6>[sw-ohci2]: shutdown end
<6>[sw-ehci2]: shutdown start
[sw-ehci2]: Set USB Power OFF
[sw-ehci2]: close clock
<6>[sw-ehci2]: shutdown end
<6>[sw-ohci1]: shutdown start
[sw-ohci1]: close clock
<6>[sw-ohci1]: shutdown end
<6>[sw-ehci1]: shutdown start
[sw-ehci1]: Set USB Power OFF
[sw-ehci1]: close clock
<6>[sw-ehci1]: shutdown end
wrn: hcd is disable, need not shutdown
[NAND]shutdown
nand try to shutdown 0 time
Nand flash shutdown ok!
<0>Power down.
[ 1262.984858] Power down.
<6>[hotplug]: cpu(0) try to kill cpu(1)
<3>[hotplug]: try to kill cpu:1 failed!
[axp] send power-off command!
<4>[sched_delayed] sched: RT throttling activated
�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.131]

U-Boot 2011.09-rc1-00003-ge89ab14-dirty (Jan 03 2014 - 12:57:33) Allwinner Technology 

[      0.140]version: 1.1.0
[      0.144]pmbus:   ready
[      0.248]PMU: AXP209
[      0.251]PMU: AXP20x found
[      0.254]PMU: bat ratio = 100
[      0.257]after set, dcdc2 =1400mv
[      0.261]PMU: dcdc2 1400
[      0.263]PMU: pll1 912 Mhz
boot_clock = 912
dcdc2_vol = 1400
[      0.271]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.307]DRAM:  1 GiB
relocation Offset is: 35b23000
donn't initialize ther user_gpio (main_key:boot_init_gpio)
DRV_DISP_Init: opened
[      0.521]boot_disp.output_type=4
[      0.525]boot_disp.output_mode=4
[      0.528]boot_disp.auto_hpd=1
workmode = 0
[      1.832]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.367]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.461]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?
sunxi#

and here output from second image

Armbian for Cubieboard 2 install script, http://www.armbian.com | Author: Igor 
 ��─��─��─��─��─��─��─��─��─��─��─��─�─��─��─��─�─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─�─��─��─��─�─��─��─��─�─��─��─��─��─��─��─��─��─��─��─��─�     
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
         ��┌��─��─�─��─��─��─��─��─��─��─��─��─��─NAND boot / SATA root install��─��─��─�─��─��─��─�─��─��─��─��─��─��─��─��─��┠          
         ��│                                                          ��│           
         �│All done. Power off and remove SD to boot from NAND       ��│           
         ��│                                                          ��│           
         ��├��─��─��─��─��─��─��─�─��─��─��─�─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─�─��─��─��─�─��─��─��─��─��─��─��─��─��─��─��─��─��    
         ��│             <Power off>       <  Exit   >                ��│           
         ��└��─��─��─��─��─��─�─��─��─��─�─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─��─�─��─��─��─�─��─��─��─�─��─��─��─��─��─��─��─��─��─��─��─��─��─��     
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
<30>systemd-shutdown[1]: Sending SIGTERM to remaining processes...                                                                                                     
<46>systemd-journald[176]: Received SIGTERM from PID 1 (systemd-shutdow).
<30>systemd-shutdown[1]: Sending SIGKILL to remaining processes...
<30>systemd-shutdown[1]: Unmounting file systems.
<30>systemd-shutdown[1]: Unmounting /sys/fs/fuse/connections.
<30>systemd-shutdown[1]: Unmounting /sys/kernel/config.
<30>systemd-shutdown[1]: Unmounting /sys/kernel/debug.
<30>systemd-shutdown[1]: Unmounting /dev/mqueue.
<6>EXT4-fs (mmcblk0p1): re-mounted. Opts: (null)
<6>EXT4-fs (mmcblk0p1): re-mounted. Opts: (null)
<6>EXT4-fs (mmcblk0p1): re-mounted. Opts: (null)
<30>systemd-shutdown[1]: All filesystems unmounted.
<30>systemd-shutdown[1]: Deactivating swaps.
<30>systemd-shutdown[1]: All swaps deactivated.
<30>systemd-shutdown[1]: Detaching loop devices.
<30>systemd-shutdown[1]: All loop devices detached.
<30>systemd-shutdown[1]: Detaching DM devices.
<30>systemd-shutdown[1]: All DM devices detached.
<30>systemd-shutdown[1]: Powering off.
<5>sd 0:0:0:0: [sda] Synchronizing SCSI cache
<5>sd 0:0:0:0: [sda] Stopping disk
<6>[sw-ohci2]: shutdown start
[sw-ohci2]: close clock
<6>[sw-ohci2]: shutdown end
<6>[sw-ehci2]: shutdown start
[sw-ehci2]: Set USB Power OFF
[sw-ehci2]: close clock
<6>[sw-ehci2]: shutdown end
<6>[sw-ohci1]: shutdown start
[sw-ohci1]: close clock
<6>[sw-ohci1]: shutdown end
<6>[sw-ehci1]: shutdown start
[sw-ehci1]: Set USB Power OFF
[sw-ehci1]: close clock
<6>[sw-ehci1]: shutdown end
wrn: hcd is disable, need not shutdown
[NAND]shutdown
nand try to shutdown 0 time
Nand flash shutdown ok!
<0>Power down.
[ 1297.823885] Power down.
<6>[hotplug]: cpu(0) try to kill cpu(1)
<3>[hotplug]: try to kill cpu:1 failed!
[axp] send power-off command!
�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.131]

U-Boot 2011.09-rc1-00003-ge89ab14-dirty (Jan 03 2014 - 12:57:33) Allwinner Technology 

[      0.140]version: 1.1.0
[      0.143]pmbus:   ready
[      0.248]PMU: AXP209
[      0.251]PMU: AXP20x found
[      0.254]PMU: bat ratio = 100
[      0.257]after set, dcdc2 =1400mv
[      0.261]PMU: dcdc2 1400
[      0.263]PMU: pll1 912 Mhz
boot_clock = 912
dcdc2_vol = 1400
[      0.271]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.307]DRAM:  1 GiB
relocation Offset is: 35b23000
donn't initialize ther user_gpio (main_key:boot_init_gpio)
DRV_DISP_Init: opened
[      0.521]boot_disp.output_type=4
[      0.525]boot_disp.output_mode=4
[      0.528]boot_disp.auto_hpd=1
workmode = 0
[      1.832]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.364]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.458]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?
sunxi#

Any suggestion what might went wrong?

 

Best Regards

Marek

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines