Jump to content

ARMBIAN for Amlogic S905 and S905X (ver 5.44 =<)


balbes150

Recommended Posts

22 minutes ago, balbes150 said:

What dtb is used when starting from SD card ?

 

I didn't modify anything. It's running fine from the SD card and I expected everything to be copied on the eMMC and to work in the same way from here.  The tv box installed with gxl_p212_2g.dtb. Should I somehow reinstall it on the eMMC?

 

Thanks!

Link to comment
Share on other sites

49 minutes ago, pisach said:

I didn't modify anything. It's running fine from the SD card and I expected everything to be copied on the eMMC and to work in the same way from here.  The tv box installed with gxl_p212_2g.dtb. Should I somehow reinstall it on the eMMC?

 

Show system startup log from external media

Link to comment
Share on other sites

On 5/30/2018 at 9:29 AM, balbes150 said:

Show system startup log from external media

 

Spoiler

 


root@amlogic:~# reboot
[58149.573980@0] reboot: Restarting system(systemd-shutdow)
bl31 reboot reason: 0xd
bl31 reboot reason: 0x1
system cmd  1.
GXL:BL1:9ac50e:bb16dc;FEAT:ADFC318C:0;POC:3;RCY:0;EMMC:0;READ:0;0.0;CHK:0;
TE: 105985

BL2 Built : 11:04:41, Jan 26 2018.
gxl g034b32c - xingyu.chen@droid12-sz

set vcck to 1120 mv
set vddee to 1070 mv
Board ID = 2
CPU clk: 1200MHz
DQS-corr enabled
DDR scramble enabled
DDR3 chl: Rank0 16bit @ 792MHz

bist_test rank: 0 1f 00 3f 3a 1a 5b 23 00 47 3f 1c 62 35 35 35 34 34 34 33 33 33 33 33 33 601
Rank0: 2048MB(auto)-2T-11
AddrBus test pass!
-s
Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size: 0x00004000
New fip structure!
Load bl30 from eMMC, src: 0x00010200, des: 0x01100000, size: 0x0000d600
Load bl31 from eMMC, src: 0x00020200, des: 0x05100000, size: 0x0002c600
Load bl33 from eMMC, src: 0x00050200, des: 0x01000000, size: 0x00065e00
NOTICE:  BL3-1: v1.0(release):35dd647
NOTICE:  BL3-1: Built : 15:20:30, Feb  7 2018
[BL31]: GXL CPU setup!
NOTICE:  BL31: BL33 decompress pass
mpu_config_enable:ok
[Image: gxl_v1.1.3243-377db0f 2017-09-07 11:28:58 qiufang.dai@droid07]
OPS=0xa4
6 2b b9 5f 9b 22 35 59 c8 9e e9 69 [0.383751 Inits done]
secure task start!
high task start!
low task start!
ERROR:   Error initializing runtime service opteed_fast


U-Boot 2015.01-gd4767ac-dirty (Mar 02 2018 - 09:52:42)

DRAM:  2 GiB
Relocation Offset is: 76eb3000
register usb cfg[0][1] = 0000000077f5aa08
[CANVAS]canvas init
boot_device_flag : 1
Nand PHY Ver:1.01.001.0006 (c) 2013 Amlogic Inc.
init bus_cycle=6, bus_timing=7, system=5.0ns
reset failed
get_chip_type and ret:fffffffe
get_chip_type and ret:fffffffe
chip detect failed and ret:fffffffe
nandphy_init failed and ret=0xfffffff1
MMC:   aml_priv->desc_buf = 0x0000000073eb36b0
aml_priv->desc_buf = 0x0000000073eb59d0
SDIO Port B: 0, SDIO Port C: 1
emmc/sd response timeout, cmd8, status=0x1ff2800
emmc/sd response timeout, cmd55, status=0x1ff2800
init_part() 293: PART_TYPE_AML
[mmc_init] mmc init success
dtb magic 5f4c4d41
      Amlogic multi-dtb tool
      Multi dtb detected
      Multi dtb tool version: v2 .
      Support 2 dtbs.
        aml_dt soc: gxl platform: p281 variant: 2g
        dtb 0 soc: gxl   plat: p281   vari: 1g
        dtb 1 soc: gxl   plat: p281   vari: 2g
      Find match dtb: 1
start dts,buffer=0000000073eb8200,dt_addr=0000000073ec3200
      Amlogic multi-dtb tool
      Multi dtb detected
      Multi dtb tool version: v2 .
      Support 2 dtbs.
        aml_dt soc: gxl platform: p281 variant: 2g
        dtb 0 soc: gxl   plat: p281   vari: 1g
        dtb 1 soc: gxl   plat: p281   vari: 2g
      Find match dtb: 1
parts: 10
00:      logo   0000000002000000 1
01:  recovery   0000000002000000 1
02:       rsv   0000000000800000 1
03:       tee   0000000000800000 1
04:     crypt   0000000002000000 1
05:      misc   0000000002000000 1
06:      boot   0000000002000000 1
07:    system   0000000080000000 1
08:     cache   0000000020000000 2
09:      data   ffffffffffffffff 4
init_part() 293: PART_TYPE_AML
eMMC/TSD partition table have been checked OK!
check pattern success
mmc env offset: 0x27400000
In:    serial
Out:   serial
Err:   serial
reboot_mode=normal
[store]To run cmd[emmc dtb_read 0x1000000 0x40000]
_verify_dtb_checksum()-917: calc bfc59c13, store bfc59c13
_verify_dtb_checksum()-917: calc bfc59c13, store bfc59c13
dtb_read()-1039: total valid 2
dtb_read()-1106: do nothing
      Amlogic multi-dtb tool
      Multi dtb detected
      Multi dtb tool version: v2 .
      Support 2 dtbs.
        aml_dt soc: gxl platform: p281 variant: 2g
        dtb 0 soc: gxl   plat: p281   vari: 1g
        dtb 1 soc: gxl   plat: p281   vari: 2g
      Find match dtb: 1
vpu: clk_level in dts: 7
vpu: set clk: 666667000Hz, readback: 666660000Hz(0x300)
vpu: vpu_clk_gate_init_off
vpp: vpp_init
hpd_state=0
cvbs performance type = 6, table = 0
Net:   dwmac.c9410000amlkey_init() enter!
[EFUSE_MSG]keynum is 4
[BL31]: tee size: 0

Start read misc partition datas!
info->attemp_times = 0
info->active_slot = 0
info->slot_info[0].bootable = 1
info->slot_info[0].online = 1
info->slot_info[1].bootable = 0
info->slot_info[1].online = 0
info->attemp_times = 0
attemp_times = 0
active slot = 0
wipe_data=successful
wipe_cache=successful
upgrade_step=0
[OSD]load fb addr from dts
[OSD]fb_addr for logo: 0x7f851000
[OSD]load fb addr from dts
[OSD]fb_addr for logo: 0x7f851000
[CANVAS]addr=0x7f851000 width=3840, height=2160
amlkey_init() enter!
amlkey_init() 71: already init!
[EFUSE_MSG]keynum is 4
[BL31]: tee size: 0
[KM]Error:f[key_manage_query_size]L507:key[usid] not programed yet
[KM]Error:f[key_manage_query_size]L507:key[mac] not programed yet
[KM]Error:f[key_manage_query_size]L507:key[deviceid] not programed yet
gpio: pin GPIOAO_2 (gpio 102) value is 1
saradc - saradc sub-system

Usage:
saradc saradc open <channel>    - open a SARADC channel
saradc close    - close the SARADC
saradc getval   - get the value in current channel
saradc test     - test the SARADC by channel-7
saradc get_in_range <min> <max> - return 0 if current value in the range of current channel

Hit Enter or space or Ctrl+C key to stop autoboot -- :  0
(Re)start USB...
USB0:   USB3.0 XHCI init start
Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
** Bad device usb 0 **
** Bad device usb 1 **
** Bad device usb 2 **
** Bad device usb 3 **
card in
init_part() 278: PART_TYPE_DOS
[mmc_init] mmc init success
Device: SDIO Port B
Manufacturer ID: 74
OEM: 4a60
Name: USDU1
Tran Speed: 50000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 7.3 GiB
mmc clock: 40000000
Bus Width: 4-bit
reading s905_autoscript
1745 bytes read in 4 ms (425.8 KiB/s)
## Executing script at 01020000
reading zImage
17663600 bytes read in 966 ms (17.4 MiB/s)
reading uInitrd
4450610 bytes read in 248 ms (17.1 MiB/s)
reading uEnv.ini
179 bytes read in 4 ms (43 KiB/s)
reading dtb.img
40695 bytes read in 7 ms (5.5 MiB/s)
[rsvmem] get fdtaddr NULL!
rsvmem - reserve memory

Usage:
rsvmem check                   - check reserved memory
rsvmem dump                    - dump reserved memory

rsvmem check failed
## Loading init Ramdisk from Legacy Image at 13000000 ...
   Image Name:   uInitrd
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
   Data Size:    4450546 Bytes = 4.2 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
load dtb from 0x1000000 ......
      Amlogic multi-dtb tool
      Single dtb detected
## Flattened Device Tree blob at 01000000
   Booting using the fdt blob at 0x1000000
   Loading Ramdisk to 73a62000, end 73ea08f2 ... OK
   Loading Device Tree to 000000001fff3000, end 000000001ffffef6 ... OK
fdt_instaboot: no instaboot image

Starting kernel ...

uboot time: 4425441 us
domain-0 init dvfs: 4
[    0.000000@0] Initializing cgroup subsys cpuset
[    0.000000@0] Initializing cgroup subsys cpu
[    0.000000@0] Initializing cgroup subsys cpuacct
[    0.000000@0] Linux version 3.14.29-amlogics905x-gf29b82a-dirty (root@user-VirtualBox) (gcc version 6.4.1 20171012 (Linaro GCC 6.4-2017.11) ) #133 SMP PREEMPT Wed May 16 16:56:54 MSK 2018
[    0.000000@0] CPU: AArch64 Processor [410fd034] revision 4
[    0.000000@0] no prop version_code
[    0.000000@0] fdt Reserved memory table:
[    0.000000@0]            linux,meson-fb: 0x000000007d100000 - 0x000000007f100000  (32 MiB)
[    0.000000@0]                  linux,di: 0x000000007b300000 - 0x000000007d100000  (30 MiB)
[    0.000000@0] DI: DI reserved memory: created CMA memory pool at 0x000000007b300000, size 30 MiB
[    0.000000@0]             linux,ion-dev: 0x0000000078300000 - 0x000000007b300000  (48 MiB)
[    0.000000@0]           linux,vdin1_cma: 0x0000000077000000 - 0x0000000078000000  (16 MiB)
[    0.000000@0] cma: Reserved 16 MiB at 77000000, total cma pages:4096
[    0.000000@0]               linux,ppmgr: 0x0000000078300000 - 0x0000000078300000  (0 MiB)
[    0.000000@0]        linux,codec_mm_cma: 0x0000000067800000 - 0x0000000073800000  (192 MiB)
[    0.000000@0] cma: Reserved 192 MiB at 67800000, total cma pages:53248
[    0.000000@0]              linux,picdec: 0x0000000078300000 - 0x0000000078300000  (0 MiB)
[    0.000000@0] Reserved memory: incorrect alignment of CMA region
[    0.000000@0]   linux,codec_mm_reserved: 0x0000000063700000 - 0x0000000067800000  (65 MiB)
[    0.000000@0] fdt Reserved memory total:  387 MiB
[    0.000000@0] cma: Reserved 8 MiB at 76800000, total cma pages:55296
[    0.000000@0] psci: probing function IDs from device-tree
[    0.000000@0] PERCPU: Embedded 13 pages/cpu @ffffffc07829b000 s20608 r8192 d24448 u53248
[    0.000000@0] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 499976
[    0.000000@0] Kernel command line: root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyS0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 mac=${mac}
[    0.000000@0] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000@0] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.000000@0] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000@0] Memory: 1599440K/2043904K available (10994K kernel code, 981K rwdata, 4028K rodata, 1236K init, 4557K bss, 444464K reserved)
[    0.000000@0] Virtual kernel memory layout:
[    0.000000@0]     vmalloc : 0xffffff8000000000 - 0xffffff8040000000   (  1024 MB)
[    0.000000@0]     vmemmap : 0xffffff8040010000 - 0xffffff8042b0d800   (    42 MB)
[    0.000000@0]     modules : 0xffffffbffc000000 - 0xffffffc000000000   (    64 MB)
[    0.000000@0]     memory  : 0xffffffc000000000 - 0xffffffc07d100000   (  2001 MB)
[    0.000000@0]       .init : 0xffffffc001f2d000 - 0xffffffc002062080   (  1237 kB)
[    0.000000@0]       .text : 0xffffffc001080000 - 0xffffffc001f2caf4   ( 15027 kB)
[    0.000000@0]       .data : 0xffffffc002063000 - 0xffffffc002158670   (   982 kB)
[    0.000000@0] PM: Registered nosave memory: [mem 0x01080000-0x01f2bfff]
[    0.000000@0] SLUB: HWalign=64, Order=0-1, MinObjects=0, CPUs=4, Nodes=1
[    0.000000@0] arch_multi_cluster:0
[    0.000000@0] Preemptible hierarchical RCU implementation.
[    0.000000@0]        RCU debugfs-based tracing is enabled.
[    0.000000@0]        RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000@0] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000@0] NR_IRQS:64 nr_irqs:64 0
[    0.000000@0] Architected cp15 timer(s) running at 24.00MHz (phys).
[    0.000004@0] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 2863311519744ns
[    0.000031@0] meson_bc_timer: mclk->mux_reg =ffffff800000c990,mclk->reg =ffffff800000e994
[    0.000362@0] Console: colour dummy device 80x25
[    0.000920@0] console [tty0] enabled
[    0.004224@0] allocated 8388608 bytes of page_cgroup
[    0.004238@0] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[    0.004266@0] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.004291@0] pid_max: default: 32768 minimum: 301
[    0.004451@0] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.004469@0] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.009819@0] Initializing cgroup subsys memory
[    0.009916@0] Initializing cgroup subsys devices
[    0.009931@0] Initializing cgroup subsys freezer
[    0.009944@0] Initializing cgroup subsys blkio
[    0.009956@0] Initializing cgroup subsys perf_event
[    0.010018@0] ftrace: allocating 36702 entries in 144 pages
[    0.048639@0] /cpus/cpu@0: Missing clock-frequency property
[    0.048672@0] /cpus/cpu@1: Missing clock-frequency property
[    0.048687@0] /cpus/cpu@2: Missing clock-frequency property
[    0.048702@0] /cpus/cpu@3: Missing clock-frequency property
[    0.048717@0] hw perfevents: enabled with arm/armv8-pmuv3 PMU driver, 7 counters available
[    0.088295@0] Meson chip version = RevD (21:D - A4:0)
[    0.108369@1] CPU1: Booted secondary processor
[    0.128362@2] CPU2: Booted secondary processor
[    0.148370@3] CPU3: Booted secondary processor
[    0.148442@0] Brought up 4 CPUs
[    0.148485@0] SMP: Total of 4 processors activated.
[    0.149021@0] devtmpfs: initialized
[    0.154772@0] sched: registering cpufreq notifiers for scale-invariant loads
[    0.154863@0] instabooting: 0
[    0.165002@0] cma: cma_init_reserved_areas, use_cma_first:1
[    0.165127@0] xor: measuring software checksum speed
[    0.258241@0]    8regs     :  2292.000 MB/sec
[    0.358245@0]    8regs_prefetch:  2041.200 MB/sec
[    0.458274@0]    32regs    :  2811.200 MB/sec
[    0.558302@0]    32regs_prefetch:  2370.800 MB/sec
[    0.558313@0] xor: using function: 32regs (2811.200 MB/sec)
[    0.558332@0] pinctrl core: initialized pinctrl subsystem
[    0.558965@0] regulator-dummy: no parameters
[    0.559738@0] NET: Registered protocol family 16
[    0.561605@0] cpuidle: using governor menu
[    0.561846@0] aml_vdac_init: module init
[    0.562007@0] register canvas platform driver
[    0.562085@0] register rdma platform driver
[    0.562898@0] vdso: 2 pages (1 code, 1 data) at base ffffffc00206c000
[    0.562951@0] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.563342@0] DMA: preallocated 256 KiB pool for atomic allocations
[    0.565009@0] software IO TLB [mem 0x61400000-0x61800000] (4MB) mapped at [ffffffc061400000-ffffffc0617fffff]
[    0.565028@0] Serial: AMBA PL011 UART driver
[    0.565628@0] aml_i2c version: 20140813
[    0.565865@0] i2c-core: driver [pmu4] using legacy resume method
[    0.565946@0] codec_mm:codec_mm_module_init
[    0.566170@0] aml_watch_point_probe, in
[    0.566541@0] gxbb_mpll_clk: register mpll_clk_out0 success done
[    0.566563@0] gxbb_mpll_clk: register mpll_clk_out1 success done
[    0.566578@0] gxbb_mpll_clk: register mpll_clk_out2 success done
[    0.566788@0] clk_sys: register PLL sys_pll success done
[    0.566809@0] gxl_clk: [ xtal        ] ->clockrate: 24000000Hz
[    0.566821@0] gxl_clk: [ 32Khz       ] ->clockrate: 32000Hz
[    0.566832@0] gxl_clk: [ clk81       ] ->clockrate: 166666666Hz
[    0.566843@0] gxl_clk: [ fixed_pll   ] ->clockrate: 2000000000Hz
[    0.566855@0] gxl_clk: [ fclk_div2   ] ->clockrate: 1000000000Hz
[    0.566867@0] gxl_clk: [ fclk_div3   ] ->clockrate: 666666666Hz
[    0.566878@0] gxl_clk: [ fclk_div4   ] ->clockrate: 500000000Hz
[    0.566889@0] gxl_clk: [ fclk_div5   ] ->clockrate: 400000000Hz
[    0.566901@0] gxl_clk: [ fclk_div7   ] ->clockrate: 285714285Hz
[    0.566938@0] gxl_clk: clock initialization complete
[    0.567131@0] clkmsr: Gxl msr_clk_reg0=ffffff800005c75c,msr_clk_reg2=ffffff800005e764
[    0.569772@0] aml_iomap: amlogic iomap probe done
[    0.570313@0] pinmux-gxl c1109880.pinmux: Init pinux probe!
[    0.571528@0] pinmux-gxl c1109880.pinmux: Probed amlogic pinctrl driver
[    0.572004@0] genirq: Setting trigger mode 8 for irq 241 failed (gic_set_type+0x0/0xb8)
[    0.572038@0] genirq: Setting trigger mode 8 for irq 242 failed (gic_set_type+0x0/0xb8)
[    0.572230@0] genirq: Setting trigger mode 8 for irq 241 failed (gic_set_type+0x0/0xb8)
[    0.572256@0] genirq: Setting trigger mode 8 for irq 242 failed (gic_set_type+0x0/0xb8)
[    0.574554@0] dvfs [scpi_dvfs_get_opps] - buf.opp[0].freq_hz = 100000000
[    0.574569@0] dvfs [scpi_dvfs_get_opps] - buf.opp[1].freq_hz = 250000000
[    0.574581@0] dvfs [scpi_dvfs_get_opps] - buf.opp[2].freq_hz = 500000000
[    0.574594@0] dvfs [scpi_dvfs_get_opps] - buf.opp[3].freq_hz = 667000000
[    0.574606@0] dvfs [scpi_dvfs_get_opps] - buf.opp[4].freq_hz = 1000000000
[    0.574618@0] dvfs [scpi_dvfs_get_opps] - buf.opp[5].freq_hz = 1200000000
[    0.574630@0] dvfs [scpi_dvfs_get_opps] - new count 6, max_freq 1200000000
[    0.576781@0] codec_mm has 2 memory regions
[    0.576836@0] codec_mm codec_mm.18: assigned reserved memory node linux,codec_mm_cma ok
[    0.576858@0] codec_mm codec_mm.18: assigned reserved memory node linux,codec_mm_reserved ok
[    0.576979@0] codec_mm has 2 memory regions
[    0.577000@0] codec_mm codec_mm.18: assigned reserved memory node linux,codec_mm_cma ok
[    0.577021@0] codec_mm codec_mm.18: assigned reserved memory node linux,codec_mm_reserved ok
[    0.579235@0] vpu: driver version: v03
[    0.579281@0] vpu: load vpu_clk: 666667000Hz(7)
[    0.579378@0] vpu: vpu_probe OK
[    0.580957@0] tv_vout: tvout_probe
[    0.580980@0] tv_vout: chrdev devno 266338304 for disp
[    0.580992@0] vout_notify: vout_register_server
[    0.581002@0] tv_vout: register tv module server ok
[    0.581301@0] tv_vout: create cdev tv
[    0.581320@0] tv_vout: tvout_probe OK
[    0.581938@0] canvas_probe reg=00000000c8838000,size=400
[    0.581974@0] canvas maped reg_base =ffffff800007e000
[    0.585936@0] rdma_probe
[    0.865773@0] bio: create slab <bio-0> at 0
[    1.029124@0] raid6: int64x1    490 MB/s
[    1.199141@0] raid6: int64x2    717 MB/s
[    1.369192@0] raid6: int64x4   1038 MB/s
[    1.539289@0] raid6: int64x8   1198 MB/s
[    1.709359@0] raid6: neonx1     768 MB/s
[    1.879405@0] raid6: neonx2    1242 MB/s
[    2.049457@0] raid6: neonx4    1598 MB/s
[    2.219507@0] raid6: neonx8    1692 MB/s
[    2.219517@0] raid6: using algorithm neonx8 (1692 MB/s)
[    2.219529@0] raid6: using intx1 recovery algorithm
[    2.220395@0] SCSI subsystem initialized
[    2.220972@0] usbcore: registered new interface driver usbfs
[    2.221081@0] usbcore: registered new interface driver hub
[    2.221205@0] usbcore: registered new device driver usb
[    2.222173@0] i2c-gpio i2c_gpio.38: using pins 172 (SDA) and 173 (SCL)
[    2.222328@0] media: Linux media interface: v0.10
[    2.222420@0] Linux video capture interface: v2.00
[    2.222685@0] pps_core: LinuxPPS API ver. 1 registered
[    2.222699@0] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    2.222776@0] PTP clock support registered
[    2.223367@0] hdmitx: system: amhdmitx_init
[    2.223382@0] hdmitx: system: Ver: 2014May6
[    2.223573@0] hdmitx: system: amhdmitx_probe
[    2.223952@0] hdmitx: system: not find match init-data
[    2.223971@0] hdmitx hpd irq = 89
[    2.224588@0] hdmitx20: Mapped PHY: 0xc0800000
[    2.224611@0] hdmitx20: Mapped PHY: 0xc1104400
[    2.224638@0] hdmitx20: Mapped PHY: 0xc8100000
[    2.224649@0] hdmitx20: Mapped PHY: 0xc8834000
[    2.224661@0] hdmitx20: Mapped PHY: 0xc883a000
[    2.224671@0] hdmitx20: Mapped PHY: 0xc883c000
[    2.224686@0] hdmitx20: Mapped PHY: 0xd0100000
[    2.224697@0] hdmitx20: Mapped PHY: 0xda83a000
[    2.224961@0] avmute set to 1
[    2.225449@0] vout_serve: no matched vout_init mode
[    2.225558@0] vinfo: error: invalid vinfo. current vmode is not supported
[    2.225755@0] vout_serve: create_vout_fops OK
[    2.225767@0] vout_serve: create vout attribute OK
[    2.225777@0] vout_serve: meson_vout_probe OK
[    2.225982@0] logo: logo_init
[    2.226342@0] Advanced Linux Sound Architecture Driver Initialized.
[    2.228069@0] Switched to clocksource arch_sys_counter
[    2.244116@0] FS-Cache: Loaded
[    2.244482@0] CacheFiles: Loaded
[    2.255806@0] NET: Registered protocol family 2
[    2.256306@0] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    2.256437@0] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[    2.256693@0] TCP: Hash tables configured (established 16384 bind 16384)
[    2.256798@0] TCP: reno registered
[    2.256815@0] UDP hash table entries: 1024 (order: 3, 32768 bytes)
[    2.256867@0] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
[    2.257103@0] NET: Registered protocol family 1
[    2.257410@0] RPC: Registered named UNIX socket transport module.
[    2.257426@0] RPC: Registered udp transport module.
[    2.257437@0] RPC: Registered tcp transport module.
[    2.257446@0] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.257668@0] aml_wifi wifi.33: [wifi_dev_probe] no power_on_pin2
[    2.257684@0] aml_wifi wifi.33: [wifi_dev_probe] set pwm as 32k output
[    2.257744@0] aml_wifi wifi.33: [wifi_dev_probe] dhd_static_buf setup
[    2.257824@0] Wifi: bcmdhd_init_wlan_mem: bcmdhd_init_wlan_mem: WIFI MEM Allocated
[    2.257841@0] aml_wifi wifi.33: [wifi_dev_probe] interrupt_pin=241
[    2.257856@0] aml_wifi wifi.33: [wifi_dev_probe] irq_num=100, irq_trigger_type=1
[    2.257871@0] aml_wifi wifi.33: [wifi_dev_probe] power_on_pin=240
[    2.257884@0] aml_wifi wifi.33: [wifi_dev_probe] clock_32k_pin=0
[    2.258403@0] aml_wifi wifi.33: [wifi_setup_dt] wifi_setup_dt
[    2.258456@0] aml_wifi wifi.33: [wifi_setup_dt] interrupt_pin(241)
[    2.258478@0] aml_wifi wifi.33: [wifi_setup_dt] power_on_pin(240)
[    2.258805@0] Unpacking initramfs...
[    2.440102@2] Freeing initrd memory: 4344K (ffffffc073a62000 - ffffffc073ea0000)
[    2.442811@0] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    2.442949@0] audit: initializing netlink subsys (disabled)
[    2.443007@0] audit: type=2000 audit(2.420:1): initialized
[    2.443948@0] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    2.451107@0] VFS: Disk quotas dquot_6.5.2
[    2.451358@0] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    2.453332@0] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.454673@0] NFS: Registering the id_resolver key type
[    2.454729@0] Key type id_resolver registered
[    2.454740@0] Key type id_legacy registered
[    2.454757@0] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    2.455296@0] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    2.455753@0] ROMFS MTD (C) 2007 Red Hat, Inc.
[    2.456123@0] fuse init (API version 7.22)
[    2.456781@0] msgmni has been set to 3564
[    2.458156@0] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    2.458270@0] io scheduler noop registered (default)
[    2.458284@0] io scheduler deadline registered
[    2.458319@0] io scheduler cfq registered
[    2.530886@0] meson-rng c8834000.rng: hwrng registered
[    2.531231@0] [drm] Initialized drm 1.1.0 20060810
[    2.531298@0] mali-utgard d00c0000.mali: max pp is 3
[    2.531312@0] mali-utgard d00c0000.mali: set min pp to default 1
[    2.531325@0] mali-utgard d00c0000.mali: min pp is 1
[    2.531338@0] mali-utgard d00c0000.mali: set min clk default to 0
[    2.531350@0] mali-utgard d00c0000.mali: min clk  is 0
[    2.531380@0] mali-utgard d00c0000.mali: hiu io source  0xffffff80001de000
[    2.531400@0] mali-utgard d00c0000.mali: hiu io source  0xffffff80001fe000
[    2.531415@0] mali-utgard d00c0000.mali: num of pp used most of time 3
[    2.531428@0] mali-utgard d00c0000.mali: clock dvfs table size is 7
[    2.531442@0] mali-utgard d00c0000.mali: max clk set 5
[    2.531453@0] mali-utgard d00c0000.mali: max clk  is 5
[    2.531465@0] mali-utgard d00c0000.mali: turbo clk set to 6
[    2.531477@0] mali-utgard d00c0000.mali: turbo clk  is 6
[    2.531489@0] mali-utgard d00c0000.mali: default clk  is 3
[    2.531575@0] mali-utgard d00c0000.mali: ====================0====================
[    2.531575@0] clk_freq= 125000000, clk_parent=fclk_div4, voltage=1150, keep_count=5, threshod=<30 250>, clk_sample=125
[    2.531609@0] mali-utgard d00c0000.mali: ====================1====================
[    2.531609@0] clk_freq= 285000000, clk_parent=fclk_div7, voltage=1150, keep_count=5, threshod=<100 250>, clk_sample=285
[    2.531641@0] mali-utgard d00c0000.mali: ====================2====================
[    2.531641@0] clk_freq= 400000000, clk_parent=fclk_div5, voltage=1150, keep_count=3, threshod=<168 250>, clk_sample=400
[    2.531673@0] mali-utgard d00c0000.mali: ====================3====================
[    2.531673@0] clk_freq= 500000000, clk_parent=fclk_div4, voltage=1150, keep_count=2, threshod=<190 250>, clk_sample=500
[    2.531705@0] mali-utgard d00c0000.mali: ====================4====================
[    2.531705@0] clk_freq= 666000000, clk_parent=fclk_div3, voltage=1150, keep_count=1, threshod=<177 250>, clk_sample=666
[    2.531737@0] mali-utgard d00c0000.mali: ====================5====================
[    2.531737@0] clk_freq= 744000000, clk_parent=  gp0_pll, voltage=1150, keep_count=1, threshod=<213 255>, clk_sample=744
[    2.531769@0] mali-utgard d00c0000.mali: ====================6====================
[    2.531769@0] clk_freq= 744000000, clk_parent=  gp0_pll, voltage=1150, keep_count=1, threshod=<213 255>, clk_sample=744
[    2.533913@2] gpu cooling register okay with err=0
[    2.534068@2] gpu core cooling register okay with err=0

 

 

 

I hope this will be enough.

 

Thanks!

Edited by Tido
@pisach, please use SPOILER
Link to comment
Share on other sites

53 minutes ago, balbes150 said:

You have the S905W (p281) model and the dtb file from p212 will not work correctly.

 

dtb 1 soc: gxl plat: p281 vari: 2g

Find match dtb: 1

 

But I don't have p281 in the img file at all? I found in one how-to for X96 mini that I have to use p212 and it works fine from the SD card. From where to take the correct dtb file?

 

Thanks 

Link to comment
Share on other sites

5 hours ago, balbes150 said:

You have the S905W (p281) 

 

I found this in http://freaktab.com

 

Quote

p212:

Amlogic S905X CPU

2GB DDR3

HDMI out x 1

TF Card x 1

Ethernet with internal phy x 1

SDIO WiFi/BT (RTL8189ETV) x 1

SPDIF x 1

USB hub x 2

EMMC x 1

 

 

but my WiFi/BT is ssv6051 not RTL8189ETV

 

Is there some place where all these dtb files/profiles are explained?

 

Thanks!

Link to comment
Share on other sites

On 5/30/2018 at 3:50 PM, balbes150 said:

You have the S905W (p281) model and the dtb file from p212 will not work correctly.

 

 

OK, I downloaded gxl_p281_2g.dtb from here https://github.com/AlexELEC/S905-trees/blob/master/S905W/gxl_p281_2g.dtb

 

I used install.sh again:

 

root@amlogic:~# ./install.sh
Start copy system for DATA partition.
Formatting DATA partition...
umount: /dev/data: not mounted
/dev/data contains a ext4 file system
        last mounted on /data on Thu Jan  1 00:00:10 2015
Suggestion: Use Linux kernel >= 3.18 for improved stability of the metadata and journal checksum features.
e2fsck 1.43.4 (31-Jan-2017)
/dev/data: clean, 11/767040 files, 74788/3066368 blocks
done.
Copying ROOTFS.
Copy BIN
Copy BOOT
tar: boot/dtb/gxl_p281_2g.dtb: time stamp 2018-05-30 23:44:48 is 38944.312353311 s in the future
tar: boot/dtb.img: time stamp 2018-05-30 23:44:48 is 38941.938608371 s in the future
Create DEV
Copy ETC
Copy HOME
Copy LIB
Create MEDIA
Create MNT
Copy OPT
Create PROC
Copy ROOT
Create RUN
Copy SBIN
Copy SELINUX
Copy SRV
Create SYS
Create TMP
Copy USR
Copy VAR
tar: var/log/daemon.log: file changed as we read it
Copy fstab
*******************************************
Done copy ROOTFS
*******************************************
Writing new kernel image...
65536+0 records in
65536+0 records out
33554432 bytes (34 MB, 32 MiB) copied, 0.77237 s, 43.4 MB/s
writing boot image config in bootimg.cfg
extracting kernel in zImage
extracting ramdisk in initrd.img
reading kernel from /boot/zImage
Writing Boot Image /dev/boot
reading ramdisk from /boot/initrd.img-3.14.29
Writing Boot Image /dev/boot
done.
Writing new dtb ...
done.
Write env bootargs
*******************************************
Complete copy OS to eMMC parted DATA
*******************************************

Now it looks as the script has finished successfully,  but the it fails to boot again:

Spoiler

 


U-Boot 2015.01-gd4767ac-dirty (Mar 02 2018 - 09:52:42)

DRAM:  2 GiB
Relocation Offset is: 76eb3000
register usb cfg[0][1] = 0000000077f5aa08
[CANVAS]canvas init
boot_device_flag : 1
Nand PHY Ver:1.01.001.0006 (c) 2013 Amlogic Inc.
init bus_cycle=6, bus_timing=7, system=5.0ns
reset failed
get_chip_type and ret:fffffffe
get_chip_type and ret:fffffffe
chip detect failed and ret:fffffffe
nandphy_init failed and ret=0xfffffff1
MMC:   aml_priv->desc_buf = 0x0000000073eb36b0
aml_priv->desc_buf = 0x0000000073eb59d0
SDIO Port B: 0, SDIO Port C: 1
emmc/sd response timeout, cmd8, status=0x1ff2800
emmc/sd response timeout, cmd55, status=0x1ff2800
init_part() 293: PART_TYPE_AML
[mmc_init] mmc init success
dtb magic edfe0dd0
      Amlogic multi-dtb tool
      Single dtb detected
start dts,buffer=0000000073eb8200,dt_addr=0000000073eb8200
      Amlogic multi-dtb tool
      Single dtb detected
parts: 11
00:      logo   0000000002000000 1
01:  recovery   0000000002000000 1
02:       rsv   0000000000800000 1
03:       tee   0000000000800000 1
04:     crypt   0000000002000000 1
05:      misc   0000000002000000 1
06: instaboot   0000000020000000 1
07:      boot   0000000002000000 1
08:    system   0000000040000000 1
09:     cache   0000000020000000 2
10:      data   ffffffffffffffff 4
_cmp_iptbl()-599: partition count is not same 14:13
mmc_device_init()-1115: update rsv with dtb!
init_part() 293: PART_TYPE_AML
eMMC/TSD partition table have been checked OK!
check pattern success
mmc env offset: 0x27400000
In:    serial
Out:   serial
Err:   serial
reboot_mode=cold_boot
[store]To run cmd[emmc dtb_read 0x1000000 0x40000]
_verify_dtb_checksum()-917: calc 1f77881e, store 1f77881e
_verify_dtb_checksum()-917: calc 1f77881e, store 1f77881e
dtb_read()-1039: total valid 2
dtb_read()-1106: do nothing
      Amlogic multi-dtb tool
      Single dtb detected
vpu: clk_level in dts: 7
vpu: set clk: 666667000Hz, readback: 666660000Hz(0x300)
vpu: vpu_clk_gate_init_off
vpp: vpp_init
hpd_state=0
cvbs performance type = 6, table = 0
Net:   dwmac.c9410000amlkey_init() enter!
[EFUSE_MSG]keynum is 4
[BL31]: tee size: 0

Start read misc partition datas!
info->attemp_times = 0
info->active_slot = 0
info->slot_info[0].bootable = 1
info->slot_info[0].online = 1
info->slot_info[1].bootable = 0
info->slot_info[1].online = 0
info->attemp_times = 0
attemp_times = 0
active slot = 0
wipe_data=successful
wipe_cache=successful
upgrade_step=0
[OSD]load fb addr from dts
[OSD]failed to get fb addr for logo
[OSD]use default fb_addr parameters
[OSD]fb_addr for logo: 0x3d800000
[OSD]load fb addr from dts
[OSD]failed to get fb addr for logo
[OSD]use default fb_addr parameters
[OSD]fb_addr for logo: 0x3d800000
[CANVAS]addr=0x3d800000 width=3840, height=2160
amlkey_init() enter!
amlkey_init() 71: already init!
[EFUSE_MSG]keynum is 4
[BL31]: tee size: 0
[KM]Error:f[key_manage_query_size]L507:key[usid] not programed yet
[KM]Error:f[key_manage_query_size]L507:key[mac] not programed yet
[KM]Error:f[key_manage_query_size]L507:key[deviceid] not programed yet
gpio: pin GPIOAO_2 (gpio 102) value is 1
saradc - saradc sub-system

Usage:
saradc saradc open <channel>    - open a SARADC channel
saradc close    - close the SARADC
saradc getval   - get the value in current channel
saradc test     - test the SARADC by channel-7
saradc get_in_range <min> <max> - return 0 if current value in the range of current channel

InUsbBurn
noSof
Hit Enter or space or Ctrl+C key to stop autoboot -- :  0
(Re)start USB...
USB0:   USB3.0 XHCI init start
Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
** Bad device usb 0 **
** Bad device usb 1 **
** Bad device usb 2 **
** Bad device usb 3 **
card out
emmc/sd response timeout, cmd8, status=0x1ff2800
emmc/sd response timeout, cmd55, status=0x1ff2800
emmc/sd response timeout, cmd1, status=0x1ff2800
Err imgread(L252):Fmt unsupported!genFmt 0x0 != 0x3
InUsbBurn
noSof
emmc/sd response timeout, cmd8, status=0x1ff2800
emmc/sd response timeout, cmd55, status=0x1ff2800
emmc/sd response timeout, cmd1, status=0x1ff2800
[MSG]mmcinfo failed!
emmc/sd response timeout, cmd8, status=0x1ff2800
emmc/sd response timeout, cmd55, status=0x1ff2800
emmc/sd response timeout, cmd1, status=0x1ff2800
(Re)start USB...
USB0:   USB3.0 XHCI init start
Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
** Bad device usb 0 **
** Bad device usb 0 **
ee_gate_off ...
## Booting Android Image at 0x01080000 ...
reloc_addr =73f383d0
copy done
Kernel command line: buildvariant=userdebug
load dtb from 0x1000000 ......
      Amlogic multi-dtb tool
      Single dtb detected
   Uncompressing Kernel Image ... OK
   kernel loaded at 0x01080000, end = 0x021dd470
   Loading Ramdisk to 73974000, end 73ea0252 ... OK
   Loading Device Tree to 000000001fff3000, end 000000001ffff418 ... OK
signature:
fdt_instaboot: no instaboot image

Starting kernel ...

uboot time: 5951997 us
domain-0 init dvfs: 4

 

If looks different if it's run for second time:

*******************************************
Done copy ROOTFS
*******************************************
Writing new kernel image...
65536+0 records in
65536+0 records out
33554432 bytes (34 MB, 32 MiB) copied, 0.777269 s, 43.2 MB/s
/dev/boot: no Android Magic Value
/dev/boot: not a valid Android Boot Image.

/dev/boot: no Android Magic Value
/dev/boot: not a valid Android Boot Image.

/dev/boot: no Android Magic Value
/dev/boot: not a valid Android Boot Image.

/dev/boot: no Android Magic Value
/dev/boot: not a valid Android Boot Image.

done.
Writing new dtb ...
done.
Write env bootargs
*******************************************
Complete copy OS to eMMC parted DATA
*******************************************
root@amlogic:~#

 

Thanks!

Edited by Tido
@pisach, please use SPOILER
Link to comment
Share on other sites

I have downloaded: Armbian_5.41.1_S9xxx_Ubuntu_xenial_3.14.29_icewm_20180406.img.xz   it comes without KODI ?

I thought all of your images come with KODI.

 

Do I need to install a  .deb?

Link to comment
Share on other sites

15 minutes ago, Tido said:

I have downloaded: Armbian_5.41.1_S9xxx_Ubuntu_xenial_3.14.29_icewm_20180406.img.xz   it comes without KODI ?

I thought all of your images come with KODI.

 

Do I need to install a  .deb?

If you want KODi you can just install it from the repo.

Link to comment
Share on other sites

New on this forum and looking if somebody can help me :)

Target: Install some kind of linux system on my
K1 plus TV Box
SoC – Amlogic S905 Quad core 64-bit  Cortex A53 Up to 2.0GHz
GPU – Penta-core Mali-450 Up to 750MHZ, OpenGL ES 1.1/2.0 and Open VG 1.1 support
OS – Android 5.1.1
Memory – 1GB DDR3
Storage –  Nand Flash 8GB
Connectivity – Fast Ethernet, 2.4Ghz 802.11 b/g/n/ Wi-Fi, optional Bluetooth 4.0

 

Till now I followed instructions from first page of this tread, but didn't succeed.
I burned card first with linux "Disk image writer" then with "Rufus 3.0p"
I try'd with more images and have same story
Armbian_5.44_S9xxx_Debian_stretch_4.16.1_icewm_20180515.img
Armbian_5.44_S9xxx_Ubuntu_bionic_4.16.1_server_20180523.img
Armbian_5.44_S9xxx_Ubuntu_xenial_4.16.1_mate_20180515.img

I found the way to start process but process stops with message

E: failed to mount /udisk (No such file or directory)
Secure check failed.
Installation aborted
OTA failed! Please power off the device to keep it in this state and file bug report

Recovery is listening adb sideloaded....
Waiting adb sideloaded command...
E:Cannot load volume /misc!

After this fail I try'd to burn card with 
Amlogic SD card maker but when trying to make, got error message
"LC(1005)aml_sdc_burn. UBOOT, and BOOTLOADER.partition all not in pkg"
Don't understand this message.
Can anybody show me the way to go.

Link to comment
Share on other sites

@balbes150, Hi !

 

I have problems with nand-installing latest builds on my tv-box.

I was trying to nand-install 2 builds (Armbian_5.44_S9xxx_Ubuntu_bionic_4.16.1_icewm_20180523.img and Armbian_5.44_S9xxx_Ubuntu_bionic_4.16.1_icewm_20180515.img) on my Nexbox A95X (with Amlogic S905x SoC).

And I always get error messages. I made a photo of them, they are in the attachment.

 

Why i get this errors?

How can i help you investigate it?

 

 

111.jpg

Link to comment
Share on other sites

2 minutes ago, balbes150 said:

For all. Kernel 4.16 does not support internal eMMC memory. 

 

Yeah, but it doesn't work for me even with 3.14.29 kernel :-)

Can you help me to troubleshoot what might be wrong, please?

 

Thanks!

Link to comment
Share on other sites

11 minutes ago, pisach said:

Yeah, but it doesn't work for me even with 3.14.29 kernel :-)

Can you help me to troubleshoot what might be wrong, please?

You have the s905W. I don't have that model, I can't help you. You need to build your version of dtb file. You can try to take the dts sources from the file that you use from Alexelec and adapt them to the Armbian kernel in the part that describes the eMMC parameters.

Link to comment
Share on other sites

On 5/31/2018 at 10:53 PM, Tido said:

I have downloaded: Armbian_5.41.1_S9xxx_Ubuntu_xenial_3.14.29_icewm_20180406.img.xz   it comes without KODI ?

I thought all of your images come with KODI.

 

Do I need to install a  .deb? 

Yes, install ".deb"

KODI was only a part of the image versions with Mate and XFCE (up to version 5.44). Starting with version 5.44 I no longer include KODI in the images. Because:

1. There are several variants of KODI (17 and 18). Now users decide and install the version they need.

2. Now version Armbian start to use as a regular office PC, which does not need KODI.

Link to comment
Share on other sites

1 hour ago, balbes150 said:

I'm tired of saying the same thing.

 

For all. Kernel 4.16 does not support internal eMMC memory. Do not attempt to install to the eMMC. You get problems.

You could add a check for the kernel version in your eMMC installation script, i.e. like this (requires the "linux-base" package installed)

if linux-version compare $(uname -r) gt 4.0 ; then
  echo "Installation to internal storage is not supported on this kernel version"
  exit 1
fi

or you could check if /dev/data exists if this path is common for all TV boxes.

Link to comment
Share on other sites

38 minutes ago, zador.blood.stained said:

You could add a check for the kernel version in your eMMC installation script, i.e. like this (requires the "linux-base" package installed)

Good tip, I will do so in the next versions.

 

But this does not solve the second problem - when users still try to do it and then ask questions.  :)

Link to comment
Share on other sites

1 hour ago, balbes150 said:

Yes, install ".deb"

KODI was only a part of the image versions with Mate and XFCE (up to version 5.44).

hmm, but I have downloaded from the folder:  5.41.1_KODI-17.6  and only Mate & XFCE come with it :blink:

To have 2 folder like:  a KODI,   an Armbian   would help to navigate.

Link to comment
Share on other sites

3 hours ago, balbes150 said:

I'm tired of saying the same thing.

 

For all. Kernel 4.16 does not support internal eMMC memory. Do not attempt to install to the eMMC. You get problems.

Have you tried to reduce the eMMC frequency, see here and here

Link to comment
Share on other sites

3 hours ago, Tido said:

hmm, but I have downloaded from the folder:  5.41.1_KODI-17.6  and only Mate & XFCE come with it :blink:

To have 2 folder like:  a KODI,   an Armbian   would help to navigate. 

KODI was part of version <5.44. In Version 5.44, it is not in the default image.

 

2 hours ago, umiddelb said:

Have you tried to reduce the eMMC frequency, see here and here

In addition, there are other problems.

Link to comment
Share on other sites

Has anyone managed to get Bluetooth working on Mini M8S or Mini MXIII boxes? I have downloaded the driver RTL8723AS + RTL8723BS_BT and followed the instructions but when I select Adapters in BT menue it is empty. I'm pretty sure I have the correct dtb 'cause wifi and audio is working. I run the Mate image from Mali7.

Link to comment
Share on other sites

2 hours ago, balbes150 said:

The question is not clear.

Sorry for my bad english , I mean if I want to to reimage this distribution with already configured for my need, how can I do that ?  I hope you understand what I'm ask, many thanks.

Link to comment
Share on other sites

4 minutes ago, tediwildan said:

Sorry for my bad english , I mean if I want to to reimage this distribution with already configured for my need, how can I do that ?  I hope you understand what I'm ask, many thanks.

Maybe you should explain why you want to reimage and what you want to do with the new image?

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