Jump to content

pisach

Members
  • Posts

    21
  • Joined

  • Last visited

Posts posted by pisach

  1. 1 hour ago, TheMojoMan said:

    Aug  3 21:11:51 localhost wpa_supplicant[3329]: dbus: fill_dict_with_properties dbus_interface=fi.w1.wpa_supplicant1.Interface dbus_property=Stations getter failed
    Aug  3 21:11:51 localhost wpa_supplicant[3329]: dbus: wpa_dbus_get_object_properties: failed to get object properties: (none) none
    Aug  3 21:11:51 localhost wpa_supplicant[3329]: dbus: Failed to construct signal
    Aug  3 21:11:51 localhost wpa_supplicant[3329]: dbus: fill_dict_with_properties dbus_interface=fi.w1.wpa_supplicant1.Interface dbus_property=Stations getter failed
    Aug  3 21:11:51 localhost NetworkManager[3367]: <info>  [1533323511.5977] device (wlan0): supplicant interface state: starting -> ready
    Aug  3 21:11:51 localhost NetworkManager[3367]: <info>  [1533323511.5981] device (wlan0): state change: unavailable -> disconnected (reason 'supplicant-available', sys-iface-state: 'managed')

     

    I'm not expert here, but it looks as WPA related. Are you sure that you actually use WPA and not something else? The WiFi driver seems OK, check your WiFi settings. 

  2. 1 hour ago, TheMojoMan said:

     

    Hi,

    I am running Armbian_5.44_S9xx_Ubuntu_bionic_3.14.29_mate_20180729 on my Mecool M8S Pro W (S905W) which boots without a dtb.img file. I have opened the box to find out that it has a SV6051P wifi chip. So, I followed the instructions by pisach on page 52:

     

     

    After reboot the list of local wifi access points are shown by the network-manager app! But when I select my network and enter the password it only changes the icon for about 30 seconds showing that it tries to connect. But it always fails to connect ...

     

    Here is the output of iwconfig:

    
    wlan0     IEEE 802.11bgn  ESSID:off/any  
              Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
              Retry short limit:7   RTS thr:off   Fragment thr:off
              Power Management:off

    Can you please help me?

     

    You can send here output from dmesg or/and syslog. 

  3. 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!

  4. 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 

  5. 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!

  6. 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!

  7. On 5/28/2018 at 1:32 PM, balbes150 said:

    

     

     

    Hi, it's again me. 

     

    From my point if view the install.sh script doesn't work..at least for my device. 

     

    Here is the output from the script:

    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
    Create DEV
    ...
    ...
    Copy VAR
    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.78898 s, 42.5 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
    *******************************************
    root@amlogic:~#

    Here is the boot:

    Spoiler

     

    
    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 20 00 40 3d 1c 5e 24 00 48 40 1b 65 35 35 35 34 34 34 34 34 34 35 35 35 590
    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.401203 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 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
    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 9123433c, store 9123433c
    _verify_dtb_checksum()-917: calc 9123433c, store 9123433c
    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]fb_addr for logo: 0x7d851000
    [OSD]load fb addr from dts
    [OSD]fb_addr for logo: 0x7d851000
    [CANVAS]addr=0x7d851000 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 000000001ffffef6 ... OK
    signature:
    fdt_instaboot: no instaboot image
    
    Starting kernel ...
    
    uboot time: 5934040 us
    domain-0 init dvfs: 4

     

    It seems it doesn't see the boot partition on the eMMC. Are the any other steps?

     

    Thanks!

  8. 9 hours ago, balbes150 said:

    Look for information on the brand of the chip (if you're lucky) or ask the supplier.

     

    There can be many reasons, from incorrect dtb to banal overheating.

     

    After I shorter some pins I managed to get to U-boot from the UART. A'm not very familiar with U-boot.  Could you tell me what is the fastest way to recover the device from here?

     

    U-Boot 2015.01-g2d1a155-dirty (Oct 08 2017 - 12:02:50)
    aarch64-none-elf-gcc (crosstool-NG linaro-1.13.1-4.8-2013.11 - Linaro GCC 2013.10) 4.8.3 20131111 (prerelease)
    GNU ld (crosstool-NG linaro-1.13.1-4.8-2013.11 - Linaro GCC 2013.10) 2.23.2.20130610 Linaro 2013.10-4
    

     

    Thanks! 

  9. 3 minutes ago, balbes150 said:

     

     

     

    This is what I used in the beginning:

     

    su -
    (enter passwd root)
    ./install.sh

    or

    nand_sata_install

     

     

     

    but it didn't do anything. After the end of the script, I stopped the box, removed the card and it didn't boot, just blank screen. After that I managed to restore from backup.

  10. 2 minutes ago, balbes150 said:

    Look for information on the brand of the chip (if you're lucky) or ask the supplier.

     

     

    Actually I'm more interested how to run this box from the eMMC. Why if doesn't work on TV boxes? Is there a separate how-to for TV boxes? The rest works just fine, I'm very satisfied...again thanks!  

  11. 12 minutes ago, balbes150 said:

    you have to close the contacts on the eMMC chip

     

    Hi bables150,

    yes, I had doubts and bad feelings before to run the script :-)

     

    Is there some how-to reset the eMMC chip? Here is the board:  https://cdn-images-1.medium.com/max/1600/1*NJSv0Fu6wfB4qFjrTTjmFg.png

     

    The eMMC chip seems to not have exposed any pins. They're some interesting connectors on the right side of the NAND, below the UART, but I don't know....

     

    Thank you!

  12. 1 minute ago, chaijate said:

    I have tested Armbian_5.44_S9xxx_Ubuntu_xenial_3.14.29_mate_20180515.img.


    I can not use wifi network.

    I tried to use command "modprobe wifi_dummy" as it used to work with previous versions, but this image was not successful. Have tested with the version Armbian_5.44_S9xxx_Debain_stretch_3.14.29_xfce.img and not as successful.


    Can anyone tell me how to solve this problem?


    Thanks in advance

     

    what is the model of the TV box?

  13. On 4/8/2017 at 5:16 PM, tkaiser said:

    With latest commits nand-sata-install should also be much more reliable when running on a system with typical services installed. See at the end of http://sprunge.us/FGOD

      

    Requires the following of course the next few weeks:

    
    wget -O- "https://raw.githubusercontent.com/igorpecovnik/lib/master/scripts/nand-sata-install/usr/lib/nand-sata-install/nand-sata-install.sh" >/usr/sbin/nand-sata-install

     

     

    Hi tkaiser, I'm trying to run X96 mini from eMMC.  I followed the general instructions:


     

    su -
    (enter passwd root)
    ./install.sh
    
    or
    
    nand_sata_install
    
    

    But after reboot (without SD card) nothing happened, blank screen, no boot at all. I managed to recover the main Android image from a backup and the devices started to boot again. Then I downloaded the script from here and started it. They were quite a lot errors, but on the end it said "Shut down". After the shutdown the LED turned to red (from blue)...forever :-) 

     

    After multiple attempts to recover it, I connected to the UART port and I saw these messages:

    BL2 Built : 14:59:36, Aug  9 2017.
    gxl ge8c6a83 - xiaobo.gu@droid12
    
    set vdd cpu_a to 1120 mv
    set vdd cpu_b to 1050 mv
    set vddee to 1000 mv
    Board ID = 2
    CPU clk: 1200MHz
    DQS-corr enabled
    DDR scramble enabled
    DDR3 chl: Rank0+1 @ 912MHz - FAIL
    DDR4 chl: Rank0+1 @ 1008MHz - FAIL
    DDR init failed...
    Reset...
    GXL:BL1:9ac50e:bb16dc;FEAT:ADFC318C:0;POC:3;RCY:0;EMMC:0;READ:0;0.0;CHK:0;
    TE: 122007
    

    I have a feeling that from that point the device is unbrickable..but I have two more :-)   The question is what I did wrong with the install on eMMC?

     

    Thank you!

     

     

     

  14. On 5/26/2018 at 1:01 PM, pisach said:

     

     

    Hi Arkimede,

    I'm trying to run Armbian_5.44_S9xxx_Ubuntu_xenial_3.14.29_mate_20180515.img.xz on X96 mini with 2GB RAM, but I'm getting:

     

    
    mlogic:~$ dmesg | grep ssv
                   *** sta_cfg_set, /usr/lib/firmware/ssv6051/ssv6051-wifi.cfg ***
    [   13.564886] WARNING: CPU: 0 PID: 2865 at drivers/amlogic/wifi/ssv6051/ssvdevice/ssvdevice.c:159 sta_cfg_set+0x1dc/0x220 [ssv6051]()
    [   13.564896] Modules linked in: ssv6051(+) mac80211 cfg80211 aml_nftl_dev(P)
    [   13.564966] [<ffffffbffc1455f0>] sta_cfg_set+0x1d8/0x220 [ssv6051]
    [   13.564981] [<ffffffbffc145714>] ssvdevice_init+0xdc/0x120 [ssv6051]
    [   13.565000] [<ffffffbffc177094>] $x+0x94/0x108 [ssv6051]
    [   13.565272] ssv6xxx_sdio_init
    [   13.565575] ssv6xxx_set_sdio_clk:set sdio clk 25000000Hz
    [   13.595828] ssv6xxx_sdio_power_on
    [   13.608526] ssv6xxx_dev_probe(): ssv6200 device found !
    [   13.608605] WARNING: CPU: 0 PID: 2865 at drivers/amlogic/wifi/ssv6051/smac/init.c:1376 ssv6xxx_dev_probe+0x1180/0x19e8 [ssv6051]()
    [   13.608615] Modules linked in: ssv6051(+) mac80211 cfg80211 aml_nftl_dev(P)
    [   13.608673] [<ffffffbffc14dff4>] ssv6xxx_dev_probe+0x117c/0x19e8 [ssv6051]
    [   13.608730] [<ffffffbffc1645b4>] ssv6xxx_sdio_probe+0x31c/0x3c0 [ssv6051]
    [   13.608783] [<ffffffbffc1640c4>] ssv6xxx_sdio_init+0x24/0x30 [ssv6051]
    [   13.608797] [<ffffffbffc145738>] ssvdevice_init+0x100/0x120 [ssv6051]
    [   13.608815] [<ffffffbffc177094>] $x+0x94/0x108 [ssv6051]
    [   13.608838] SSV WLAN driver ssv6200: Failed to initialize device
    [   13.608866] SSV WLAN driver: probe of ssv6200 failed with error -12

    I followed your recommendation form above but I got an error that stacfgpath is an unsupported option, but I think we don't need that. What I'm doing wrong?

      

    Otherwise the WiFi worked as charm with USB Realtek WiFi dongle.

     

    Thanks!

     

    I solved that with creating symlink :-)

     

    Now it's fine

  15. On 4/6/2018 at 4:33 PM, Arkimede said:

    All right, the wi-fi now works:

    You need to create the file /etc/modprobe.d/ssv6051.conf

    and enter the path to the driver configuration file

    (type in file)

    options ssv6051 stacfgpath = / lib / firmware / ssv6051 / ssv6051-wifi.cfg

    You must also configure the wpa_supplicant for network access.

     

     

    Hi Arkimede,

    I'm trying to run Armbian_5.44_S9xxx_Ubuntu_xenial_3.14.29_mate_20180515.img.xz on X96 mini with 2GB RAM, but I'm getting:

     

    mlogic:~$ dmesg | grep ssv
                   *** sta_cfg_set, /usr/lib/firmware/ssv6051/ssv6051-wifi.cfg ***
    [   13.564886] WARNING: CPU: 0 PID: 2865 at drivers/amlogic/wifi/ssv6051/ssvdevice/ssvdevice.c:159 sta_cfg_set+0x1dc/0x220 [ssv6051]()
    [   13.564896] Modules linked in: ssv6051(+) mac80211 cfg80211 aml_nftl_dev(P)
    [   13.564966] [<ffffffbffc1455f0>] sta_cfg_set+0x1d8/0x220 [ssv6051]
    [   13.564981] [<ffffffbffc145714>] ssvdevice_init+0xdc/0x120 [ssv6051]
    [   13.565000] [<ffffffbffc177094>] $x+0x94/0x108 [ssv6051]
    [   13.565272] ssv6xxx_sdio_init
    [   13.565575] ssv6xxx_set_sdio_clk:set sdio clk 25000000Hz
    [   13.595828] ssv6xxx_sdio_power_on
    [   13.608526] ssv6xxx_dev_probe(): ssv6200 device found !
    [   13.608605] WARNING: CPU: 0 PID: 2865 at drivers/amlogic/wifi/ssv6051/smac/init.c:1376 ssv6xxx_dev_probe+0x1180/0x19e8 [ssv6051]()
    [   13.608615] Modules linked in: ssv6051(+) mac80211 cfg80211 aml_nftl_dev(P)
    [   13.608673] [<ffffffbffc14dff4>] ssv6xxx_dev_probe+0x117c/0x19e8 [ssv6051]
    [   13.608730] [<ffffffbffc1645b4>] ssv6xxx_sdio_probe+0x31c/0x3c0 [ssv6051]
    [   13.608783] [<ffffffbffc1640c4>] ssv6xxx_sdio_init+0x24/0x30 [ssv6051]
    [   13.608797] [<ffffffbffc145738>] ssvdevice_init+0x100/0x120 [ssv6051]
    [   13.608815] [<ffffffbffc177094>] $x+0x94/0x108 [ssv6051]
    [   13.608838] SSV WLAN driver ssv6200: Failed to initialize device
    [   13.608866] SSV WLAN driver: probe of ssv6200 failed with error -12

    I followed your recommendation form above but I got an error that stacfgpath is an unsupported option, but I think we don't need that. What I'm doing wrong?

     

    Otherwise the WiFi worked as charm with USB Realtek WiFi dongle.

     

    Thanks!

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines