Jump to content

4timepi

Members
  • Posts

    15
  • Joined

  • Last visited

Posts posted by 4timepi

  1. Sorry but I cannot UART my device. To be sure I tried USB converter with my old TPLink router and I can listen output without problems.

    No changes to go any further without UART?

     

    Maybe somebody could help me recognize UART pinout based on path layout? I'm attaching high res pictures of my M8 mobo.

    Looks like 1 is GND, 2/3 is TX/RX and 4 is VCC isn't it?

     

     

    post-4522-0-55124500-1486589620_thumb.jpg

    post-4522-0-93853200-1486589625_thumb.jpg

    post-4522-0-30940400-1486589631_thumb.jpg

    post-4522-0-60173000-1486589636_thumb.jpg

     

     

  2. 1. I see the dtb files. If possible - bring them under the core in the way.

    2. Usually on the PCB Board ground (GND) is denoted by a square contact pad. The next two from the ground contact is TX and RX (or Vice versa RX and TX). Last contact (earth GND) is power VCC (NOT to connect). If you measure by the tester extreme contacts - you can see what the "plus" (VCC). To connect in Linux , you can use the utility "minicom". The command for the Linux "minicom -c on-b 115200 -D /dev/ttyUSB0"

     

    If I'm not mistaken, the photo is the symbol of the contact group "1". Look on the Board , perhaps somewhere on the back or in other places in the PCB Board there is a description GND TX RX

     

    pinout2.jpg

     

    There's no description on the back. Yes, square contacts (1) is definitely GND. Don't know why there is 3V on both 3 and 4 contacts.  I'm solderd GND to (1) and tried (2),(3),(4) in all combination to TX / RX. Don't know why cannot connect.

     

    I will solder connector and make more tries tomorrow afternoon. Thanks for helping me.

  3. 2. Judging by the fact that you get a black screen when connected to external storage system Armbian (SD card or USB flash drive), multiboot is already activated.

     

    2. Looks like you're right. Every time I power on box with SD card (prepared from your image) I'm not getting to android but this screen shows:

    armbian.jpg

     

    3. Now we need to try to find a working dtb. To do this, take turns to copy to the root of the FAT partition dtb files from the directory and rename the DTB to the "dtb.img".

    But I have received information from other users that they S812 with firmware 316 (kitkat 4.4), the system does not start. But if you replace the firmware on lolipo 5.1, the system is started. I hope if You have a UART, you can see at what stage the stop start system with the old boot loader (4.4). You can show the log of starting the system with the USB stick ?

     

    Heres dbd and dbt extracted from my working android (meson8_m8_2GB.zip). Also tried yours. But I got attached screen or reboot loops.

     

    Moreover I can't get UART to work. Tried all GND RX TX combination with 9600 and 115200 baud. Can't find my UART pinout (it's different from that one I found on web)

    My UART connector

    pinout.jpg

     

    Sorry for images quality :)

  4. OK, I found it. Unfortunately every time I try to apply Universal Multiboot (Update aml_autoscript.zip in recovery mode) I get this errors:

     

    E: footer is wrong
    E: signature verification failed
    Installation aborted

     

    Tried both SD and USB, different mediums, different partitions sizes, SD Formatter and always "footer is wrong".

     

    Edit: I upgraded recovery to TWRP 2.8.7.0, but heres flashing aml_autoscript.zip says Failed.

     

    Edit2: I flashed back to Android to try with UPDATE&BACKUP app. Unfortunately also not working. With USB it restarts and says footer is wrong, with SD it restarts to black screen.

     

    Tried UBS 1/2/4 GB, SD 2GB/16GB with written on them uboot_32Mb_20161122.img via Win32DiskImager.

     

    Is there any way to apply your multiboot manually via UART?

  5. 1. LibreELEC-S802.S82.arm-8.0-devel-20170125170828-r25322-gef5c2e6

    2. Output from SSH

    720poutputheight=691
    720poutputwidth=1229
    720poutputx=25
    720poutputy=14
    baudrate=115200
    bootcmd=run storeboot
    bootdelay=1
    bootfile=boot.img
    bootm_low=0x00000000
    bootm_size=0x80000000
    bootpath=u-boot.bin
    bootsize=100000
    bootstart=0
    chipname=8726m8
    console=ttyS0,115200n8
    cvbs_drv=0
    cvbsmode=576cvbs
    disp.fromleft=true
    display_bpp=16
    display_color_bg=0
    display_color_fg=0xffff
    display_color_format_index=16
    display_height=1080
    display_layer=osd2
    display_width=1920
    ethaddr=00:15:18:...
    fb_addr=0x15100000
    fb_height=720
    fb_width=1280
    firstboot=1
    gatewayip=10.18.9.1
    get_dt=checkhw
    has.accelerometer=false
    hdmimode=720p
    hostname=eny_em8
    initargs=init=/init console=ttyS0,115200n8 no_console_suspend storage=4
    initrd_high=60000000
    ipaddr=10.18.9.97
    loadaddr=0x12000000
    loadaddr_logo=0x13000000
    mmcargs=setenv bootargs console=${console} boardname=m8_board
    netmask=255.255.255.0
    normalsize=400000
    normalstart=1000000
    outputmode=720p
    p0path=uImage
    p0size=400000
    p0start=1000000
    p1path=android.rootfs
    p1size=8000000
    p1start=1400000
    partnum=2
    preboot=if itest ${upgrade_step} == 3; then run prepare; run storeargs; run update; fi; if itest ${upgrade_step} == 1; then  defenv; setenv upgrade_step 2; saveenv;fi; run prepare;run storeargs;get_rebootmode; clear_rebootmode; echo reboot_mode=${reboot_mode};run update_key; run switch_bootmode
    preloaddtb=imgread dtb boot ${loadaddr}
    prepare=logo size ${outputmode}; video open; video clear; video dev open ${outputmode};imgread pic logo bootup ${loadaddr_logo}; bmp display ${bootup_offset}; bmp scale;
    recovery=echo enter recovery;if mmcinfo; then if fatload mmc 0 ${loadaddr} recovery.img; then bootm;fi;fi; if imgread kernel recovery ${loadaddr}; then bootm; else echo no recovery in flash; fi;
    sdc_burning=sdc_burn ${sdcburncfg}
    sdcburncfg=aml_sdc_burn.ini
    serverip=10.18.9.113
    store=4
    storeargs=setenv bootargs ${initargs} cvbsdrv=${cvbs_drv} vdaccfg=${vdac_config} logo=osd1,loaded,${fb_addr},${outputmode},full hdmimode=${hdmimode} cvbsmode=${cvbsmode} androidboot.firstboot=${firstboot} hdmitx=${cecconfig} mac=${ethaddr}
    storeboot=secukey auto;secukey write keyexample 1234567890; echo Booting...; if unifykey get usid; then  setenv bootargs ${bootargs} androidboot.serialno=${usid};fi;imgread kernel boot ${loadaddr};bootm;run recovery
    switch_bootmode=if test ${reboot_mode} = factory_reset; then run recovery;else if test ${reboot_mode} = update; then run update;else if test ${reboot_mode} = usb_burning; then run usb_burning;else if test ${wipe_data} = failed; then echo wipe_data=${wipe_data}; run recovery;else   fi;fi;fi;fi
    testaddr=0x12400000
    update=run usb_burning; if mmcinfo; then if fatexist mmc 0 ${sdcburncfg}; then run sdc_burning; else if fatload mmc 0 ${loadaddr} aml_autoscript; then autoscr ${loadaddr}; fi;run recovery;fi;else run recovery;fi;
    update_key=saradc open 0; if saradc get_in_range 0 0x50; then msleep 50; if saradc get_in_range 0 0x50; then echo update by key...; run update; fi;fi
    upgrade_step=2
    us_delay_step=1
    usb_burning=update 1000
    vdac_config=0x10
    video_dev=tvout
    wipe_data=success
    

    3. I will post results this evening

  6. What firmware now M8 ? Do You have UART console ? What are the steps to activate the multi-boot You have done and what the results of the steps were ?

     

    I haven't done any steps to activate multi-boot on my box because I don't event know how to start. Maybe you have some guide?

    I brought my M8 with stock Android and then flashed it via SD card (recovery, toothpick) into LibreELEC. And for now I'm here.

    I have serial cable so I will be able to access UART console.

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines