Jump to content

Recommended Posts

Posted

Good evening! :)

 

I've bought the R69 1GB TV-Box on eBay some days ago with the plan in mind to run Armbian there. Sadly the box even dont want to start the kernel, it's stuck in U-Boot Loader when a SD is inserted:

 

U-Boot SPL 2018.05-armbian (Jul 31 2018 - 05:08:39 +0200)
DRAM: 1024 MiB
Trying to boot from MMC1

And then nothing happens.

 

I've tried couple of images. Beelink Image with Mainline and legacy Kernel, RetroOrangePi Images and so on - for now I haven't found a working one.

 

In some other Thread someone mentioned that there are different versions of this device, and i found some Thread where someone also has trouble with the 2GB Version.

 

For the case there are helpful information, here is the android Boot-Log

 
Spoiler

[116]HELLO! BOOT0 is starting!
[119]boot0 commit : 8
[122]key press : [424]set pll start
[427]set pll end
[429]rtc[0] value = 0x00000000
[432]rtc[1] value = 0x00000000
[435]rtc[2] value = 0x00000000
[437]rtc[3] value = 0x00000000
[440]rtc[4] value = 0x00000000
[443]rtc[5] value = 0x00000000
[446]DRAM DRIVE INFO: V2.0
[449]the chip id is 0x00000081
[451]the chip id is 0x00000081
[454]the chip id is 0x00000081
[457]the chip id is 0x00000081
[460]the chip id is 0x00000081
[469]READ DQS LCDL = 001d1d1e
[472]DRAM Type = 3 (2:DDR2,3:DDR3,6:LPDDR2,7:LPDDR3)
[477]DRAM CLK = 672 MHz---DRAM zq value: 003b3bfb
[482]DRAM SIZE =1024 M
[488]dram size =1024
[490]rtc standby flag is 0x00000000, super standby flag is 0x00000000
[498]boot0:nand driver date:20170829
[501]NB0 : nand phy init ok
[504]block from 2 to 6
[705]Check is correct.
[707]Entry_name        = u-boot
[722]Entry_name        = parameter
[725]Entry_name        = soc-cfg
[728]Entry_name        = dtb
[732]Entry_name        = board-cfg
[735]Entry_name        = board-fex
[738]Entry_name        = cpus-code
[742]Entry_name        = scp
[748]Entry_name        = logo
[751]Ready to disable icache.
[753]Jump to secend Boot.


U-Boot 2014.07 (Jul 24 2018 - 15:09:49) Allwinner Technology

uboot commit : 8
secure enable bit: 0
normal mode
not found [ burn_secure_mode ] in sysconfig!!
i2c_init: by cpux
[I2C-DEBUG]:i2c_set_clock() 354
i2c_init ok
[0.780]pmbus:   ready
u0:3
axp: get node[pmu1_para] error
axp_probe error
[0.787]PMU: cpux 1008 Mhz, AXI=336 Mhz
PLL6=600 Mhz, AHB1=200 Mhz, APB1=100Mhz
key value = -1, fel_key = [2,7]
DRAM:  1 GiB
[0.799]fdt addr: 0x76cda9e8
[0.802]gd->fdt_size: 0x12a40
Relocation Offset is: 35dd3000
gic: normal mode
[box standby] read rtc = 0x0
[box standby] start_type = 1
[box_start_os] mag be start_type no use
workmode = 0,storage type = 0
[0.902]NAND: NAND_UbootInit
NAND_UbootInit start
NB1 : enter NAND_LogicInit
PL_PUL0_REG = 0x00000045, PL_CF0_REG = 0x77771777, PL_DAT_REG = 0x00000008
nand : get id number_ctl fail, 1
uboot: nand version: 3 6106 20180323 16801444
nand : get CapacityLevel fail, 7fe84d50
not burn nand partition table!
NB1 : nftl num: 1
 init nftl: 0
NB1 : NAND_LogicInit ok, result = 0x0
NAND_UbootInit end: 0x0
[2.990]sunxi flash init ok
used mbr [0], count = 14
[2.996]start
drv_disp_init
init_clocks: finish init_clocks.
unable to get ldo_count  from [regulator0]
unable to find regulator vcc33-hdmi from [pmu1_regu] or [pmu2_regu]
tv_init:
tv_probe:000
no report hpd work,you need support the switch class!
[3.138]screen 0 don't support TV!
tv_init:
fetch tv1 err.
drv_disp_init finish
hdmi hdcp not enable!
get format[404] for type[4]
get format[20b] for type[2]
hdmi hpd out, force open?
save_int_to_kernel disp.init_disp(0x20b0404) code:<no error>
get hdmi config from bootparam success.
hdmi config: format-0 bits-0 cs-0 eotf-0
size=0x384000, ram_size=0x40000000, FRAME_BUFFER_SIZE=0x1000000
[3.358]end
[recovery] no use
[3.361]try to burn key
no item name key_burned_flag in the map
sunxi storage read fail
sunxi secure storage has no flag
[3.372]usb burn from boot
delay time 0
[3.456]usb prepare ok
[4.259]overtime
[4.290]do_burn_from_boot usb : no usb exist
--------fastboot partitions--------
-total partitions:14-
-name-        -start-       -size-
bootloader  : 1000000       1000000
env         : 2000000       1000000
boot        : 3000000       2000000
system      : 5000000       60000000
verity_block: 65000000      1000000
misc        : 66000000      1000000
recovery    : 67000000      2000000
private     : 69000000      1000000
alog        : 6a000000      4000000
Reserve0    : 6e000000      1000000
Reserve1    : 6f000000      2000000
Reserve2    : 71000000      1000000
cache       : 72000000      30000000
UDISK       : a2000000      0
-----------------------------------
[4.364][mmc]: MMC Device 2 not found
base bootcmd=run setargs_nand boot_normal
bootcmd set setargs_nand
misc partition found
[4.377]to be run cmd=run setargs_nand boot_normal
read mac from efuse failed
no item name cma_list in the map
sunxi storage read fail
name in map mac
update mac = C4:2A:FE:49:37:83
no item name wifi_mac in the map
sunxi storage read fail
no item name bt_mac in the map
sunxi storage read fail
no item name specialstr in the map
sunxi storage read fail
no item name serialno in the map
sunxi storage read fail
check user data form private
[4.419]update dtb dram start
[4.423]update dtb dram  end
serial is: 34947839031350000078
sunxi_bmp_logo_display
reading advert.crc
** Unable to read file advert.crc **
sunxi bmp info error : unable to open logo file sunxi_flash
bmp_name=bootlogo.bmp
reading bootlogo.bmp
3686454 bytes read in 154 ms (22.8 MiB/s)
save_string_to_kernel disp.boot_fb0(7f000000,500,2d0,20,1400,0,0,500,2d0). ret-code:<no error>
[4.618]show bmp on ok
[4.620]inter uboot shell
Hit any key to stop autoboot:  0
[4.626]read partition: boot or recovery
[5.378]sunxi flash read :offset 3000000, 19440742 bytes OK
Kernel load addr 0x40008000 size 14844 KiB
Kernel command line: selinux=1 androidboot.selinux=permissive, use it to update bootargs
RAM disk load addr 0x42000000 size 3117 KiB
the chip id is 0x81
[5.408]ready to boot
[5.409]prepare for kernel
NAND_UbootExit
NB1 : NAND_LogicExit
[5.421]
Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.55 (linux@linux-PowerEdge-R730) (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05) ) #3 SMP PREEMPT Wed Dec 19 14:04:46 CST 2018
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: sun8iw7p1
[    0.000000] cma: Reserved 400 MiB at 0x4e800000
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 262144
[    0.000000] free_area_init_node: node 0, pgdat c0e79440, node_mem_map cdf30000
[    0.000000]   Normal zone: 1264 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 161792 pages, LIFO batch:31
[    0.000000]   HighMem zone: 100352 pages, LIFO batch:31
[    0.000000] Can not find sunxi_cpuscfg device tree
[    0.000000] PERCPU: Embedded 13 pages/cpu @cdec4000 s23360 r8192 d21696 u53248
[    0.000000] pcpu-alloc: s23360 r8192 d21696 u53248 alloc=13*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260880
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/block/system init=/init cma_list=200M@0,400M@0,80M@1,160M@1 initcall_debug=0 loglevel=8 partitions=bootloader@nanda:env@nandb:boot@nandc:system@nandd:verity_block@nande:misc@nandf:recovery@nandg:private@nandh:alog@nandi:Reserve0@nandj:Reserve1@nandk:Reserve2@nandl:cache@nandm:UDISK@nandn vmalloc=384M cma= mac_addr=C4:2A:FE:49:37:83 wifi_mac= bt_mac= specialstr= serialno= selinux=1 androidboot.selinux=permissive androidboot.serialno=34947839031350000078 boot_type=0 androidboot.hardware=sun8iw7p1 is_secure=0 chipid=81
[    0.000000] log_buf_len individual max cpu contribution: 4096 bytes
[    0.000000] log_buf_len total cpu_extra contributions: 12288 bytes
[    0.000000] log_buf_len min size: 16384 bytes
[    0.000000] log_buf_len: 32768 bytes
[    0.000000] early log buf free: 14260(87%)
[    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] Memory: 611168K/1048576K available (8192K kernel code, 534K rwdata, 2784K rodata, 1024K init, 415K bss, 27808K reserved, 409600K cma-reserved, 401408K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xe8000000 - 0xff800000   ( 376 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe7800000   ( 632 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0900000   (9184 kB)
[    0.000000]       .init : 0xc0d00000 - 0xc0e00000   (1024 kB)
[    0.000000]       .data : 0xc0e00000 - 0xc0e85b54   ( 535 kB)
[    0.000000]        .bss : 0xc0e87000 - 0xc0eeefc0   ( 416 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] clk cpuapb not found in of_sunxi_periph_clk_setup
[    0.000000] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
[    0.000000] Architected cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000021] Switching to timer-based delay loop, resolution 41ns
[    0.000464] Console: colour dummy device 80x30
[    0.000493] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000510] pid_max: default: 32768 minimum: 301
[    0.000864] Security Framework initialized
[    0.000877] SELinux:  Initializing.
[    0.001058] SELinux:  Starting in permissive mode
[    0.001210] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001224] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.002278] CPU: Testing write buffer coherency: ok
[    0.002337] ftrace: allocating 29942 entries in 88 pages
[    0.063960] CPU0: update cpu_capacity 1024
[    0.063981] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.064059] Setting up static identity map for 0x40100000 - 0x40100058
[    0.153991] CPU1: update cpu_capacity 1024
[    0.153998] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.183999] CPU2: update cpu_capacity 1024
[    0.184006] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.214052] CPU3: update cpu_capacity 1024
[    0.214059] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.214148] Brought up 4 CPUs
[    0.214183] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[    0.214192] CPU: All CPU(s) started in SVC mode.
[    0.215030] devtmpfs: initialized
[    0.245146] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.245740] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.245775] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.261522] atomic64_test: passed
[    0.261551] pinctrl core: initialized pinctrl subsystem
[    0.261743] [pm]state:3 valid
[    0.261753] [pm]state:2 valid
[    0.261761] sunxi pm init
[    0.262423] NET: Registered protocol family 16
[    0.264458] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.265457] dump_class_init,855, success
[    0.268344] sun8iw7p1-r-pinctrl r_pio: initialized sunXi PIO driver
[    0.270462] sun8iw7p1-pinctrl pio: initialized sunXi PIO driver
[    0.272559] sunxi hwspinlock vbase:0xf1c18000
[    0.292810] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.292831] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.377298] [ARISC] :sunxi-arisc driver v1.04
[    0.378773] [ARISC] :hwmsgbox initialize
[    0.378790] [ARISC] :message manager initialize start:f004b800, end:800
[    0.416124] [ARISC] :arisc version: [v0.3.27]
[    0.518044] [ARISC] :sunxi-arisc driver v1.04 startup succeeded
[    0.519009] SCSI subsystem initialized
[    0.519586] usbcore: registered new interface driver usbfs
[    0.519774] usbcore: registered new interface driver hub
[    0.519950] usbcore: registered new device driver usb
[    0.520547] media: Linux media interface: v0.10
[    0.520648] Linux video capture interface: v2.00
[    0.521305] Advanced Linux Sound Architecture Driver Initialized.
[    0.522403] Bluetooth: Core ver 2.21
[    0.522482] NET: Registered protocol family 31
[    0.522493] Bluetooth: HCI device and connection manager initialized
[    0.522513] Bluetooth: HCI socket layer initialized
[    0.522530] Bluetooth: L2CAP socket layer initialized
[    0.522587] Bluetooth: SCO socket layer initialized
[    0.524050] of_find_compatible_node allwinner,sunxi-ac200 fail
[    0.525010] clocksource: Switched to clocksource arch_sys_counter
[    0.583742] FS-Cache: Loaded
[    0.584186] CacheFiles: Loaded
[    0.604058] NET: Registered protocol family 2
[    0.605146] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.605246] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.605363] TCP: Hash tables configured (established 8192 bind 8192)
[    0.605448] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.605507] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.605953] NET: Registered protocol family 1
[    0.606523] RPC: Registered named UNIX socket transport module.
[    0.606536] RPC: Registered udp transport module.
[    0.606544] RPC: Registered tcp transport module.
[    0.606552] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.606836] sunxi budget cooling probe start !
[    0.606869] CPU freq cooling register Success
[    0.606891] CPU hotplug cooling register Success
[    0.607189] CPU budget cooling register Success
[    0.607690] Unpacking initramfs...
[    0.795609] Freeing initrd memory: 3120K (c2000000 - c230c000)
[    0.799315] audit: initializing netlink subsys (disabled)
[    0.799394] audit: type=2000 audit(0.760:1): initialized
[    0.801094] VFS: Disk quotas dquot_6.6.0
[    0.801215] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.803146] FS-Cache: Netfs 'cifs' registered for caching
[    0.803384] ntfs: driver 2.1.32 [Flags: R/W].
[    0.803594] fuse init (API version 7.23)
[    0.804725] SELinux:  Registering netfilter hooks
[    0.810060] bounce: pool size: 64 pages
[    0.810327] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.810348] io scheduler noop registered
[    0.810364] io scheduler deadline registered
[    0.810456] io scheduler cfq registered (default)
[    0.811813] failed to get standby led pin assign
[    0.811887] gpio_pin_1(362) gpio_is_valid
[    0.812200] gpio_pin_2(15) gpio_is_valid
[    0.812594] gpio name is PL10, ret = 0
[    0.812957] gpio name is PA15, ret = 0
[    0.813352] gpio_init finish with uesd
[    0.813754] [DISP]disp_module_init
[    0.814558] [DISP] init_disp:0x20b0404
[    0.814573] [DISP] boot_disp:0x0
[    0.815181] rotation_sw module is config as no used
[    0.815218] [DISP] disp_get_rotation_sw,line:130:
[    0.815227] disp 0 out of range? g_rot_sw=0
[    0.815235] [DISP] disp_init_connections,line:385:
[    0.815242] NULL pointer: 0, 0
[    0.815257] [DISP] disp_get_rotation_sw,line:130:
[    0.815264] disp 1 out of range? g_rot_sw=0
[    0.815272] [DISP] disp_init_connections,line:385:
[    0.815278] NULL pointer: 0, 0
[    0.815293] [DISP] fb_base:0x0
[    0.832158] [DISP]disp_module_init finish
[    0.833214] lock super standby defaultly!
[    0.833233] lookup_scene_lock_name: new scene lock super_standby
[    0.833242] scene_lock_init name=super_standby
[    0.833253] scene_lock: super_standby, type 5, count 1
[    0.833262] [exstandby]enter set_extended_standby_manager
[    0.833273] [exstandby]leave set_extended_standby_manager : id 0x8
[    0.833396] sunxi_bootup_extend_probe: bootup extend state 1
[    0.833405] bootup extend probe ok
[    0.841335] uart0: ttyS0 at MMIO 0x1c28000 (irq = 125, base_baud = 1500000) is a SUNXI
[    0.841374] sw_console_setup()1271 - console setup baud 115200 parity n bits 8, flow n
[    1.896345] console [ttyS0] enabled
[    1.901282] uart1: ttyS1 at MMIO 0x1c28400 (irq = 126, base_baud = 1500000) is a SUNXI
[    1.912003] misc dump reg init
[    1.926354] loop: module loaded
[    1.931030] zram: Added device: zram0
[    1.935903] sunxi-wlan wlan: wlan_busnum (1)
[    1.940649] sunxi-wlan wlan: wlan_usbnum (3)
[    1.945432] sunxi-wlan wlan: Missing wlan_power.
[    1.950558] sunxi-wlan wlan: wlan_power_name ((null))
[    1.956227] sunxi-wlan wlan: Missing wlan_io_regulator.
[    1.962029] sunxi-wlan wlan: io_regulator_name ((null))
[    1.967901] sunxi-wlan wlan: wlan_regon gpio=359  mul-sel=1  pull=-1  drv_level=-1  data=1
[    1.977134] sunxi-wlan wlan: wlan_en gpio=352  mul-sel=1  pull=-1  drv_level=-1  data=0
[    1.986078] sunxi-wlan wlan: wlan_hostwake gpio=11  mul-sel=6  pull=-1  drv_level=-1  data=0
[    1.995487] sunxi-wlan wlan: get gpio wlan_clk_gpio failed
[    2.001579] sunxi-wlan wlan: clk not config
[    2.006941] sunxi-bt bt: Missing bt_power.
[    2.011493] sunxi-bt bt: bt_power_name ((null))
[    2.016580] sunxi-bt bt: Missing bt_io_regulator.
[    2.021803] sunxi-bt bt: io_regulator_name ((null))
[    2.027273] sunxi-bt bt: bt_rst gpio=353  mul-sel=1  pull=-1  drv_level=-1  data=0
[    2.035980] sunxi-bt bt: block state already is 1
[    2.041333] Boot type 0
[    2.046934] tun: Universal TUN/TAP device driver, 1.6
[    2.052548] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    2.061587] PPP generic driver version 2.4.2
[    2.066865] PPP BSD Compression module registered
[    2.072096] PPP Deflate Compression module registered
[    2.077764] PPP MPPE Compression module registered
[    2.083092] NET: Registered protocol family 24
[    2.088081] PPTP driver version 0.8.5
[    2.092478] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.100070] get drv_vbus is fail, 84
[    2.104041] get ehci0-controller, regulator_io is no nocare
[    2.110387] [sunxi-ehci0]: probe, pdev->name: 1c1a000.ehci0-controller, sunxi_ehci: 0xc0ecb430, 0x:f1c1a000, irq_no:80
[    2.122355] sunxi-ehci 1c1a000.ehci0-controller: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.132454] sunxi-ehci 1c1a000.ehci0-controller: new USB bus registered, assigned bus number 1
[    2.142423] sunxi-ehci 1c1a000.ehci0-controller: irq 128, io mem 0xc0182f24
[    2.165044] sunxi-ehci 1c1a000.ehci0-controller: USB 0.0 started, EHCI 1.00
[    2.174317] hub 1-0:1.0: USB hub found
[    2.178555] hub 1-0:1.0: 1 port detected
[    2.183634] get drv_vbus is fail, 84
[    2.187637] get ehci1-controller, regulator_io is no nocare
[    2.193946] [sunxi-ehci1]: probe, pdev->name: 1c1b000.ehci1-controller, sunxi_ehci: 0xc0ecb5d4, 0x:f1c1b000, irq_no:82
[    2.205897] sunxi-ehci 1c1b000.ehci1-controller: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.215999] sunxi-ehci 1c1b000.ehci1-controller: new USB bus registered, assigned bus number 2
[    2.225844] sunxi-ehci 1c1b000.ehci1-controller: irq 130, io mem 0xc0182f24
[    2.245046] sunxi-ehci 1c1b000.ehci1-controller: USB 0.0 started, EHCI 1.00
[    2.254145] hub 2-0:1.0: USB hub found
[    2.258386] hub 2-0:1.0: 1 port detected
[    2.263442] get drv_vbus is fail, 84
[    2.267444] get ehci2-controller, regulator_io is no nocare
[    2.273746] [sunxi-ehci2]: probe, pdev->name: 1c1c000.ehci2-controller, sunxi_ehci: 0xc0ecb778, 0x:f1c1c000, irq_no:84
[    2.285852] sunxi-ehci 1c1c000.ehci2-controller: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.295961] sunxi-ehci 1c1c000.ehci2-controller: new USB bus registered, assigned bus number 3
[    2.306476] sunxi-ehci 1c1c000.ehci2-controller: irq 132, io mem 0xc0182f24
[    2.325044] sunxi-ehci 1c1c000.ehci2-controller: USB 0.0 started, EHCI 1.00
[    2.334121] hub 3-0:1.0: USB hub found
[    2.338357] hub 3-0:1.0: 1 port detected
[    2.343424] get drv_vbus is fail, 84
[    2.347426] get ehci3-controller, regulator_io is no nocare
[    2.353728] [sunxi-ehci3]: probe, pdev->name: 1c1d000.ehci3-controller, sunxi_ehci: 0xc0ecb91c, 0x:f1c1d000, irq_no:86
[    2.365815] sunxi-ehci 1c1d000.ehci3-controller: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.375924] sunxi-ehci 1c1d000.ehci3-controller: new USB bus registered, assigned bus number 4
[    2.385843] sunxi-ehci 1c1d000.ehci3-controller: irq 134, io mem 0xc0182f24
[    2.405043] sunxi-ehci 1c1d000.ehci3-controller: USB 0.0 started, EHCI 1.00
[    2.414144] hub 4-0:1.0: USB hub found
[    2.418375] hub 4-0:1.0: 1 port detected
[    2.423781] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.430981] get drv_vbus is fail, 84
[    2.434951] get ohci0-controller, regulator_io is no nocare
[    2.441432] ohci0-controller get usb clk_usbohci12m clk failed.
[    2.448045] ohci0-controller get usb clk_hoscx2 clk failed.
[    2.454237] ohci0-controller get usb clk_hosc failed.
[    2.460240] ohci0-controller get usb clk_losc clk failed.
[    2.466263] [sunxi-ohci0]: probe, pdev->name: 1c1a000.ohci0-controller, sunxi_ohci: 0xc0ecada0
[    2.475897] sunxi-ohci 1c1a000.ohci0-controller: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    2.485613] sunxi-ohci 1c1a000.ohci0-controller: new USB bus registered, assigned bus number 5
[    2.495265] sunxi-ohci 1c1a000.ohci0-controller: irq 129, io mem 0xcd8b9d40
[    2.560446] hub 5-0:1.0: USB hub found
[    2.564656] hub 5-0:1.0: 1 port detected
[    2.569703] get drv_vbus is fail, 84
[    2.573672] get ohci1-controller, regulator_io is no nocare
[    2.580007] ohci1-controller get usb clk_usbohci12m clk failed.
[    2.586605] ohci1-controller get usb clk_hoscx2 clk failed.
[    2.592795] ohci1-controller get usb clk_hosc failed.
[    2.598433] ohci1-controller get usb clk_losc clk failed.
[    2.604428] [sunxi-ohci1]: probe, pdev->name: 1c1b000.ohci1-controller, sunxi_ohci: 0xc0ecaf44
[    2.614049] sunxi-ohci 1c1b000.ohci1-controller: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    2.623764] sunxi-ohci 1c1b000.ohci1-controller: new USB bus registered, assigned bus number 6
[    2.633406] sunxi-ohci 1c1b000.ohci1-controller: irq 131, io mem 0xcd8b9d40
[    2.700362] hub 6-0:1.0: USB hub found
[    2.704576] hub 6-0:1.0: 1 port detected
[    2.709613] get drv_vbus is fail, 84
[    2.713583] get ohci2-controller, regulator_io is no nocare
[    2.719914] ohci2-controller get usb clk_usbohci12m clk failed.
[    2.726511] ohci2-controller get usb clk_hoscx2 clk failed.
[    2.732702] ohci2-controller get usb clk_hosc failed.
[    2.738338] ohci2-controller get usb clk_losc clk failed.
[    2.744332] [sunxi-ohci2]: probe, pdev->name: 1c1c000.ohci2-controller, sunxi_ohci: 0xc0ecb0e8
[    2.753962] sunxi-ohci 1c1c000.ohci2-controller: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    2.763677] sunxi-ohci 1c1c000.ohci2-controller: new USB bus registered, assigned bus number 7
[    2.773319] sunxi-ohci 1c1c000.ohci2-controller: irq 133, io mem 0xcd8b9d40
[    2.840359] hub 7-0:1.0: USB hub found
[    2.844565] hub 7-0:1.0: 1 port detected
[    2.849610] get drv_vbus is fail, 84
[    2.853579] get ohci3-controller, regulator_io is no nocare
[    2.859916] ohci3-controller get usb clk_usbohci12m clk failed.
[    2.866515] ohci3-controller get usb clk_hoscx2 clk failed.
[    2.872706] ohci3-controller get usb clk_hosc failed.
[    2.878342] ohci3-controller get usb clk_losc clk failed.
[    2.884337] [sunxi-ohci3]: probe, pdev->name: 1c1d000.ohci3-controller, sunxi_ohci: 0xc0ecb28c
[    2.893961] sunxi-ohci 1c1d000.ohci3-controller: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    2.903677] sunxi-ohci 1c1d000.ohci3-controller: new USB bus registered, assigned bus number 8
[    2.913316] sunxi-ohci 1c1d000.ohci3-controller: irq 135, io mem 0xcd8b9d40
[    2.980383] hub 8-0:1.0: USB hub found
[    2.984588] hub 8-0:1.0: 1 port detected
[    2.990316] usbcore: registered new interface driver uas
[    2.996632] usbcore: registered new interface driver usb-storage
[    3.003472] usbcore: registered new interface driver ums-alauda
[    3.010236] usbcore: registered new interface driver ums-cypress
[    3.017103] usbcore: registered new interface driver ums-datafab
[    3.023934] usbcore: registered new interface driver ums_eneub6250
[    3.030986] usbcore: registered new interface driver ums-freecom
[    3.037855] usbcore: registered new interface driver ums-isd200
[    3.044581] usbcore: registered new interface driver ums-jumpshot
[    3.051537] usbcore: registered new interface driver ums-karma
[    3.058206] usbcore: registered new interface driver ums-onetouch
[    3.065179] usbcore: registered new interface driver ums-realtek
[    3.072008] usbcore: registered new interface driver ums-sddr09
[    3.078772] usbcore: registered new interface driver ums-sddr55
[    3.085724] usbcore: registered new interface driver ums-usbat
[    3.092280] usb_serial_number:20080411
[    3.097513] mousedev: PS/2 mouse device common for all mice
[    3.104137] usbcore: registered new interface driver xpad
[    3.112453] sunxi-rtc rtc: rtc core: registered sunxi-rtc as rtc0
[    3.119422] sunxi-rtc rtc: RTC enabled
[    3.124036] i2c /dev entries driver
[    3.128225] IR NEC protocol handler initialized
[    3.133263] IR RC5(x/sz) protocol handler initialized
[    3.138900] sunxi cedar version 0.1
[    3.142994] VE: install start!!!
[    3.142994]
[    3.148318] cedar_ve: cedar-ve the get irq is 124
[    3.154165] VE: get debugfs_mpp_root is NULL, please check mpp
[    3.154165]
[    3.162311] VE: sunxi ve debug register driver failed!
[    3.162311]
[    3.170207] sunxi gpu cooling probe start !
[    3.174862] CPU gpu cooling register Success
[    3.180864] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    3.189974] device-mapper: uevent: version 1.0.3
[    3.195655] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel@redhat.com
[    3.205252] Bluetooth: HCI UART driver ver 2.3
[    3.210187] Bluetooth: HCI UART protocol H4 registered
[    3.215921] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    3.223075] sunxi_cpufreq_init: only one opp_table
[    3.229535] cpu cpu0: dev_pm_opp_get_max_volt_latency: Invalid regulator (-6)
[    3.269542] sunxi-mmc sdc0: SD/MMC/SDIO Host Controller Driver(v1.15 2017-9-30 11:30)
[    3.278334] sunxi-mmc sdc0: regulator prop vmmc,str vcc-card
[    3.284622] sunxi-mmc sdc0: regulator prop vqmmc,str vcc-pf
[    3.290843] sunxi-mmc sdc0: regulator prop vdmmc,str vcc-pf
[    3.297049] sunxi-mmc sdc0: Failed getting OCR mask: 0
[    3.303264] sunxi-mmc sdc0: set host busy
[    3.307746] sunxi-mmc sdc0: ***set host ocr***
[    3.312740] sunxi-mmc sdc0: Got CD GPIO
[    3.317453] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    3.345042] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    3.375060] sunxi-mmc sdc0: detmode:gpio polling
[    3.380209] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[    3.390968] sunxi-mmc sdc1: SD/MMC/SDIO Host Controller Driver(v1.15 2017-9-30 11:30)
[    3.400823] sunxi-mmc sdc1: Can't get vmmc regulator string
[    3.407033] sunxi-mmc sdc1: Can't get vqmmc regulator string
[    3.413317] sunxi-mmc sdc1: Can't get vdmmc regulator string
[    3.419617] sunxi-mmc sdc1: Failed getting OCR mask: 0
[    3.425808] sunxi-mmc sdc1: set host busy
[    3.430260] sunxi-mmc sdc1: ***set host ocr***
[    3.435621] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    3.465040] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    3.495049] sunxi-mmc sdc1: detmode:manually by software
[    3.501786] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !!
[    3.501839] hidraw: raw HID events driver (C) Jiri Kosina
[    3.502466] PT71600 Driver - version 2.0.0-Half-IMA!
[    3.502811] usbcore: registered new interface driver usbhid
[    3.502815] usbhid: USB HID core driver
[    3.503942] ashmem: initialized
[    3.505669] usbcore: registered new interface driver snd-usb-audio
[    3.506897] sun8iw7p1-pinctrl pio: expect_func as:daudio0, but muxsel(2) is func:pcm0
[    3.506915] sun8iw7p1-pinctrl pio: expect_func as:daudio0, but muxsel(2) is func:pcm0
[    3.506931] sun8iw7p1-pinctrl pio: expect_func as:daudio0, but muxsel(2) is func:pcm0
[    3.506946] sun8iw7p1-pinctrl pio: expect_func as:daudio0, but muxsel(2) is func:pcm0
[    3.508442] failed get gpio-spdif gpio from dts,spdif_gpio:-2
[    3.512049] sunxi-codec-machine soc@01c00000:sound@0: sun8iw7codec <-> 1c22c00.cpudai0-controller mapping ok
[    3.516909] sndhdmi soc@01c00000:sound@3: audiohdmi-dai <-> 1c22800.daudio mapping ok
[    3.520884] sndspdif soc@01c00000:sound@4: spdif-hifi <-> 1c21000.spdif-controller mapping ok
[    3.522437] u32 classifier
[    3.522440]     Actions configured
[    3.522457] Netfilter messages via NETLINK v0.30.
[    3.522547] nf_conntrack version 0.5.0 (15998 buckets, 63992 max)
[    3.629449] ctnetlink v0.93: registering with nfnetlink.
[    3.629794] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !!
[    3.629831] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    3.632340] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    3.634212] sunxi-mmc sdc1: smc 1 p1 err, cmd 8, RTO !!
[    3.635045] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !!
[    3.635877] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !!
[    3.636711] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !!
[    3.637544] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !!
[    3.638380] sunxi-mmc sdc1: smc 1 p1 err, cmd 55, RTO !!
[    3.639209] sunxi-mmc sdc1: smc 1 p1 err, cmd 55, RTO !!
[    3.640039] sunxi-mmc sdc1: smc 1 p1 err, cmd 55, RTO !!
[    3.640869] sunxi-mmc sdc1: smc 1 p1 err, cmd 55, RTO !!
[    3.640897] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    3.641779] sunxi-mmc sdc1: smc 1 p1 err, cmd 1, RTO !!
[    3.641808] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[    3.743107] xt_time: kernel timezone is -0000
[    3.748171] ipip: IPv4 over IPv4 tunneling driver
[    3.754268] gre: GRE over IPv4 demultiplexor driver
[    3.759733] ip_gre: GRE over IPv4 tunneling driver
[    3.767090] ip_tables: (C) 2000-2006 Netfilter Core Team
[    3.773326] arp_tables: (C) 2002 David S. Miller
[    3.778673] Initializing XFRM netlink socket
[    3.783850] NET: Registered protocol family 10
[    3.790924] mip6: Mobile IPv6
[    3.794265] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    3.800924] sit: IPv6 over IPv4 tunneling driver
[    3.807122] NET: Registered protocol family 17
[    3.812100] NET: Registered protocol family 15
[    3.817209] Bluetooth: RFCOMM TTY layer initialized
[    3.822637] Bluetooth: RFCOMM socket layer initialized
[    3.828392] Bluetooth: RFCOMM ver 1.11
[    3.832571] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    3.838496] Bluetooth: BNEP filters: protocol multicast
[    3.844305] Bluetooth: BNEP socket layer initialized
[    3.849838] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    3.856444] Bluetooth: HIDP socket layer initialized
[    3.865420] Registering SWP/SWPB emulation handler
[    3.872020] registered taskstats version 1
[    3.878095] Key type encrypted registered
[    3.883233] [DISP] boot_disp:0x0
[    3.886928] [HDMI WRN] file:drivers/video/fbdev/sunxi/disp2/hdmi/drv_hdmi.c,line:782:
[    3.895833] hdmi_clk_enable
[    3.900020] [HDMI] cec support = 0
[    3.935576] there is no tve dac(0) offset value.
[    3.940713] [DISP] boot_disp:0x0
[    3.944442] [DISP] disp_init_tv,line:670:
[    3.948730] screen 0 don't support TV!
[    4.535039] [DISP] disp_device_attached_and_enable,line:190:
[    4.541133] attached ok, mgr0<-->device0, type=4, mode=4
[    4.548543] [exstandby]leave extended_standby_enable_wakeup_src : event 0x800000
[    4.556792] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_map 0x8
[    4.565513] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_group 0x0
[    4.574753] input: soc@01c00000:gpio_keys as /devices/platform/soc/soc@01c00000:gpio_keys/input/input0
[    4.585813] sunxi-rtc rtc: setting system clock to 1970-01-01 00:00:10 UTC (10)
[    4.594969] cma_shrinker get the ion misc device
[    4.608101] ALSA device list:
[    4.611405]   #0: audiocodec
[    4.614597]   #1: sndhdmi
[    4.617532]   #2: sndspdif
[    4.622982] Freeing unused kernel memory: 1024K (c0d00000 - c0e00000)
[    4.622982] Freeing unused kernel memory: 1024K (c0d00000 - c[    4.622982] Freeing unused k[    4.655411] init: init first stage started!
[    4.667031] SELinux: 2048 avtab hash slots, 7160 rules.
[    4.679216] SELinux: 2048 avtab hash slots, 7160 rules.
[    4.685079] SELinux:  1 users, 2 roles, 686 types, 0 bools, 1 sens, 1024 cats
[    4.693032] SELinux:  63 classes, 7160 rules
[    4.700896] SELinux:  Completing initialization.
[    4.706088] SELinux:  Setting up existing superblocks.
[    4.764010] audit: type=1403 audit(10.660:2): policy loaded auid=4294967295 ses=4294967295
[    4.775391] init: (Initializing SELinux non-enforcing took 0.12s.)
[    4.788634] init: init second stage started!
[    4.804597] init: Running restorecon...
[    4.874923] init: waitpid failed: No child processes
[    4.882121] init: (Loading properties from /default.prop took 0.00s.)
[    4.893756] init: (Parsing /init.environ.rc took 0.00s.)
[    4.900995] init: (Parsing /init.usb.rc took 0.00s.)
[    4.907859] init: /init.sun8iw7p1.rc: 218: invalid keyword '2'
[    4.915822] init: (Parsing init.sun8iw7p1.usb.rc took 0.00s.)
[    4.922425] init: ignored duplicate definition of service 'preinstall'init: (Parsing init.common.rc took 0.01s.)
[    4.933839] init: (Parsing /init.sun8iw7p1.rc took 0.03s.)
[    4.941861] init: (Parsing /init.usb.configfs.rc took 0.00s.)
[    4.948494] init: (Parsing /init.zygote32.rc took 0.00s.)
[    4.954512] init: (Parsing /init.rc took 0.06s.)
[    4.960645] init: Starting service 'ueventd'...
[    4.967235] init: Waiting for /dev/.coldboot_done...
[    4.970766] ueventd: ueventd started!
 


And some photos of the Device:

 

IMG_0203.JPGIMG_0204.JPG                                                                                                                                                                                                                              

 

It looks kinda different like the other PCBs i found from the r69, also the Revision "R69-4x4Bit DDR3_V1.0_20181210" i havent seen before when i was searching about this Box

 

Has anyone suggestions what i can try to get there Armbian running? I already tried different dtb, builds, mainline and legacy kernel versions.

 

Thanks for reading! I hope someday Armbian will boot on this little guy! :)

 

 

Board: Not on the list
Posted

Thanks for moving the thread into the correct place!

 

Now i've tried a nightly image from Libreelec (https://test.libreelec.tv/LibreELEC-H3.arm-9.80-nightly-20190628-bb9c865-orangepi_pc.img.gz) with a recent mainline u-boot. now i get some more errors:

 

Spoiler


U-Boot SPL 2019.04 (Jun 28 2019 - 10:17:29 +0200)
DRAM: 1024 MiB
Failed to set core voltage! Can't set CPU frequency
Trying to boot from MMC1

U-Boot SPL 2019.04 (Jun 28 2019 - 10:17:29 +0200)
DRAM: 1024 MiB
Failed to set core voltage! Can't set CPU frequency
Trying to boot from MMC1


U-Boot 2019.04 (Jun 28 2019 - 10:17:29 +0200) Allwinner Technology, Build: jenki                                                                                                                                                                                                                                  ns-H3-17

CPU:   Allwinner H3 (SUN8I 1680)
Model: Xunlong Orange Pi PC
DRAM:  1 GiB
MMC:   mmc@1c0f000: 0
Loading Environment from FAT... *** Warning - bad CRC, using default environment

In:    serial@1c28000
Out:   serial@1c28000
Err:   serial@1c28000
Net:   phy interface0
eth0: ethernet@1c30000
starting USB...
No controllers found
Hit any key to stop autoboot:  0
=> MC:   mmc@1c0f000: 0
Unknown command 'MC:' - try 'help'
=>
Unknown command 'MC:' - try 'help'
=> Loading Environment from FAT... *** Warni0> MC:   mmc@1c0f000: >> Loading Env                                                                                                                                                                                                                                  ironment from FAT... *** Warni0> MC:   mmc@1c0f000: >> Loading Environment from                                                                                                                                                                                                                                   FAT... *** Warni0> MC:   mmc@1c0f000: >> Loading Environment from FAT... *** War                                                                                                                                                                                                                                  ni0> MC:   mmc@1c0f000: >> Loading Environment from FAT... *** Warni0> MC:   mmc                                                                                                                                                                                                                                  @1c0f000: >> Loading Environment from FAT... *** Warni0> MC:   mmc@1c0f000: >> L                                                                                                                                                                                                                                  oading Environment from FAT... *** Warni0> MC:   mmc@1c0f000: >> Loading Environ                                                                                                                                                                                                                                  ment from FAT... *** Warni0> MC:   mmc@1c0f000: >> Loading Environment from FAT.                                                                                                                                                                                                                                  .. *** Warni0> MC:   mmc@1c0f000: >> Loading Environment from FAT... *** Warni0>                                                                                                                                                                                                                                   MC:   mmc@1c0f000: >> Loading Environment from FAT... *** Warni0> MC:   mmc@1c0                                                                                                                                                                                                                                  f000: >> Loading Environment from FAT... *** Warni0> MC:   mmc@1c0f000: >> Loadi                                                                                                                                                                                                                                  ng Environment from FAT... *** Warni0> MC:   mmc@1c0f000: >> Loading Environment                                                                                                                                                                                                                                   from FAT... *** Warni0> MC:   mmc@1c0f000: >> Loading Environment from FAT... *                                                                                                                                                                                                                                  ** Warni0> MC:   mmc@1c0f000: >> Loading Environment from FAT... **@
U-Boot SPL 2019.04 (Jun 28 2019 - 10:17:29 +0200)
DRAM: 1024 MiB
Failed to set core voltage! Can't set CPU frequency
Trying to boot from MMC1

 

In this log you see when i plugged in and out the power cable. i'm bit confused about "Failed to set core voltage! Can't set CPU frequency" and when he was trying to start something but got stuck there.

 

Maybe this is  a useful information: In Android CPU-Z just shows me an Unknown SOC Type with a Clock Speed of 1GHz - I guess the H3 should be able to run at 1,3-1,5GHz.

 

 

EDIT: This BeelinkX2 image from libreelec https://test.libreelec.tv/LibreELEC-H3.arm-9.80-nightly-20190628-bb9c865-beelink_x2.img.gz just gives me the same:

 


U-Boot SPL 2019.04 (Jun 28 2019 - 10:15:24 +0200)
DRAM: 1024 MiB
Trying to boot from MMC1

Edit2: Just as note, I also trying different SD-Cards. A Sandisk Ultra 16GB and a Transcend Premium 16GB - Just the same with both cards.

 

Edit3: For case it's helpful, here are the Screenshots from CPU-Z:

Screenshot_20190630-073218.png

Screenshot_20190630-073224.png

Screenshot_20190630-073235.png

 

Edit4: Some links to the device:

https://www.cnx-software.com/2019/02/09/wechip-r69-cheap-allwinner-h3-tv-box/

https://www.ebay.de/itm/R69-Quad-Core-Android-7-1-Smart-TV-Box-4K-3D-WIFI-HDMI-H-265-Media-Streamer-DE/133075545075?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2057872.m2749.l2649

 

Posted

I tried to dump the /dev/block/nand devices, i just dumped that ones, that looked interesting to me. You can find them here for interest:

 

http://blx274.tk/r69/images.tgz

 

Content of this archive:

 

-rwxrwxrwx 1 marcus marcus 67108864 Jun 30 15:18 alog_nandi
-rwxrwxrwx 1 marcus marcus 16777216 Jun 30 15:16 bootloader_nanda
-rwxrwxrwx 1 marcus marcus 33554432 Jun 30 15:15 boot_nandc
-rwxrwxrwx 1 marcus marcus 16777216 Jun 30 15:16 env_nandb
-rwxrwxrwx 1 marcus marcus 16777216 Jun 30 15:17 misc_nandf
-rwxrwxrwx 1 marcus marcus 16777216 Jun 30 15:17 verity_block_nande

 

Posted

The "failed to set core voltage" error message should be harmless: I think either the device tree misses the proper reference to the CPU current regulator and/or u-boot is compiled without the support for it.

As a result, u-boot is not able to change the voltage to the CPU and thus change its frequency from the default setting.

This is common when you use an image which is compiled for a "close" device but not exactly the same.

 

Apart from the messy serial port output, the image for Orange Pi PC seems to be booting u-boot, but then it does not go further because of wrong commands in the initialization script (the "MC" errors), which is although strange because the environment is restored from default.

You may try to interrupt u-boot autoboot during countdown and use help and mmc commands to gather some info to understand if the sdcard is really the MMC0 device.

 

BTW, the booting issue is surely a device tree problem

 

Posted

Thanks for the reply! :)

 

I guess the damaged serial output is caused by my UART Adapter, which is an Arduino Uno with following circuits: c616b050-d64a-11e6-9b87-ae33f1c0c8f1.png

 

I've ordered a "real" UART Adapter to ensure there are no probles caused by that and make debugging easier :)

 

When the new Adapter is here i will try to interact with the uboot command line.

 

 

Quote

BTW, the booting issue is surely a device tree problem

 

I also thought that this could be the problem. For now I haven't found a suitable DTB File for this device. I tried to extract it from the dumped files, but I only got garbage. 

I used the file "boot_nandc" from my archive , which is the android kernel, with this tool: github.com/PabloCastellano/extract-dtb

 

Is there any other way to get the correct DTB file for this device? 

Posted

I'm not really sure you need the two resistors circuit to make the serial adapter work. I mean, if the Arduino Uno has a TTL (which I guess it is) serial, you should be able to connect Arduino TX to Box RX and Arduino RX to Box TX and Arduino GND to Box GND to get the things done.

 

A device tree for your device could be in the wild somewhere, your device does not sound new to me;

BTW you should first understand if the device tree is packaged with the kernel and the initramfs in an "Android boot image". file utility should be able to detect if the partition is an Android image.

If so, there are tools to extract the files from the archive.

 

The extract-dtb is useful when the device tree is attached at the tail of the kernel image, but nowadays shipping the dtb this way is seldom used.

Posted
26 minutes ago, jock said:

I'm not really sure you need the two resistors circuit to make the serial adapter work.

This is because Arduino TTL level is 5V, so it could damage a 3.3V input...

Posted
1 hour ago, martinayotte said:

This is because Arduino TTL level is 5V, so it could damage a 3.3V input...

 

Whoops, totally forgot about that... :rolleyes:

 

Posted

I will close this Topic, because the discussion is going on here 

 

Conclusion for this Topic:

 

Choosing a Sony SD-Card solved my problem. In the other topic discuission is going on why the device is picky with SD-Cards. Maybe the wrong DTB causes this behaviour.

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

Important Information

Terms of Use - Privacy Policy - Guidelines