Jump to content

verb

Members
  • Posts

    16
  • Joined

  • Last visited

Posts posted by verb

  1. 2 hours ago, balbes150 said:

    You do not have root mounted, so the system does not start.

     

    I saw that but i dont understand  why it fails to mount /dev/data  and i go through the same steps with armbian 5.37 and it works fine.

  2. On 3/30/2018 at 1:00 PM, balbes150 said:

    Update images 5.41 20180330.

    The updated kernel.

    Pay attention, changed the structure of the placement of the images on the website. They are now located in the version directories.

     

    I have problems after instaling 5.41 20180330.  ubuntu server  image here is the log from uart : https://pastebin.com/raw/qLb4Kd9M 

    and here some pics from console : https://pasteboard.co/HeBhPXa.jpg

                                                     ->  https://pasteboard.co/HeBjEwq.jpg

     

    Sorry for bad pic quality . Also i do the install via uart with these commands :

    usb start

    fatload usb 0 11000000 aml_autoscript

    autoscr 11000000

     

     

     

    ps : the installtonand script goes without any issue but after that i am not able to boot from nand if i remove the flash drive

  3. 1 hour ago, balbes150 said:

    I understand that this TV box may not start with any systems, including those with Android ?

     

    Hello balbes150 the box doesn't boot Android  don;t know if it's some hw or sw problem ( i got some exceptions and the kernel crashes during boot) . I have it from friend of mine so no idea what's wrong with it. I hope it is software problem and that's why i tried to boot armbian. My question is do you find something wrong in the steps i try to boot:

    1.Burned the ubuntu server image and copy gxbb_p201.dtb as dtb.img ( booting from uart show this as hostname -> gxb_p201_v1#)

    2.after that from uart i tried with this commands ->

    usb start
    fatload usb 0 1020000 aml_autoscript
    autoscr 1020000

    i am not sure for this options but i have seen them from aml_autoscript

    3.the output is here -> LINK    ( these are the last lines after enter the commands from uart) .Do you recognize them as output from armbian or the box try to boot  Android ???

  4. 1 hour ago, balbes150 said:

    The startup script works correctly and the kernel starts, but no data correct dtb to the kernel. The reason is not the correct dtb file. Pick the right option dtb file.

     

    I think the right dtb for my box is -> gxbb_p201.dtb  (gxb_p201_v1# ) so i set this one as dtb.img and booted unfortunately i got kernel panic . Output is here  . I have tried several other dtb files and neither of them works . Also i am not sure if the box has any  hw problems because it doesn;t boot  Android when left without  USB flash drive.

  5. Hello everyone

    I have two amlogic boxes one is with s805 and another with s905 processor and neither of them has  mmc slot . In this forum balbes150 has helped me with the boot script from uart . Now i try to boot from usb flash drive  on s905 with following commands :

     

    usb start
    fatload usb 0 1020000 aml_autoscript
    autoscr 1020000

     

    but the boot process stucked on this - >  Link

     

    Appreciate any help.

     

  6. On 1/20/2018 at 8:34 AM, balbes150 said:

    The log shows that the file is loaded (but the download is too slow) and the engine is running.

    Try to start the system manually. Using different dtb.

    Try checking two options (with different data for the used RAM).

     

    1.  options

     

    usb start

    setenv condev "console=ttyS0,115200n8 console=tty0 no_console_suspend consoleblank=0"

    setenv bootargs "root=LABEL=ROOTFS rootflags=data=writeback rw ${condev} fsck.repair=yes net.ifnames=0 mac=${mac}"

    fatload usb 0 0x14000000 uImage

    fatload usb 0 0x15000000 uInitrd

    fatload usb 0 0x11800000 dtb.img

    fdt addr 0x11800000

    bootm 0x14000000 0x15000000 0x11800000

     

     

    2. options

     

    usb start

    setenv condev "console=ttyS0,115200n8 console=tty0 no_console_suspend consoleblank=0"

    setenv bootargs "root=LABEL=ROOTFS rootflags=data=writeback rw ${condev} fsck.repair=yes net.ifnames=0 mac=${mac}"

    fatload usb 0 0x21000000 uImage

    fatload usb 0 0x22000000 uInitrd

    fatload usb 0 0x21800000 dtb.img

    fdt addr 21800000

    bootm 0x21000000 0x22000000 0x21800000

     

     

     

    balbes150 thank you very much for your help . I have finally managed to install armbian on s805 . I have burned armbian on another flash drive and it has booted much faster unfortunately it stucked on Starting kernel ...  After that i have changed the dtb . Now it boots Ok

  7. 10 hours ago, balbes150 said:

    Connect the flash drive with Armbian (don't forget to add correct dtb file) and run the UART in the console these commands.

     

    usb start

    fatload usb 0 11000000 aml_autoscript

    autoscr 11000000

     

    The execution result of the show here.

     

    Here is the output  link  i havent tried with other dtb images but i guess meson8b_m201_1G.dtb  should be mine i have tried  dtb for m201 on Libreelec and it works  also i have copied the meson8b_m201_1G.dtb   from the dtb folder in the provided image.

     

     

    1991 bytes read
    ## Executing script at 11000000
    MMC: block number 0x1 exceeds max(0x0)
    ** Can't read from device 0 **
    
    ** Unable to use mmc 0:1 for fatload **
    reading uInitrd

    after 1hour  the box  outputted this :

     

    reading uInitrd
    
    3331991 bytes read
    reading uImage
    
    
    5694137 bytes read
    reading dtb.img
    
    23306 bytes read
    ## Booting kernel from Legacy Image at 14000000 ...
       Image Name:   Linux-3.10.99
       Image Type:   ARM Linux Kernel Image (gzip compressed)
       Data Size:    5694073 Bytes = 5.4 MiB
       Load Address: 00208000
       Entry Point:  00208000
       Verifying Checksum ... OK
    ## Loading init Ramdisk from Legacy Image at 15000000 ...
       Image Name:   uInitrd
       Image Type:   ARM Linux RAMDisk Image (gzip compressed)
       Data Size:    3331927 Bytes = 3.2 MiB
       Load Address: 00000000
       Entry Point:  00000000
       Verifying Checksum ... OK
    ## Flattened Device Tree blob at 11800000
       Booting using the fdt blob at 0x11800000
    board_usb_stop cfg: 0
       Uncompressing Kernel Image ... OK
    uboot time: -1804819678 us.
    EFUSE machid is not set.
    Using machid 0xf81 from environment
    From device tree /memory/ node aml_reserved_end property, for relocate ramdisk and fdt, relocate_addr: 0x5337001
       Loading Ramdisk to 05009000, end 05336757 ... OK
       Loading Device Tree to 05000000, end 05008b09 ... OK
    
    Starting kernel ...

     

  8.  

    On 1/16/2018 at 11:34 AM, balbes150 said:

    The system hangs on reading uImage from a USB drive. Try to stop the launch in the console UART and execute manually the command "printenv" and "help". The result show here.

     

     

     

    here is the output of printenv :

    Link

    here is the output of help :

    Link

     

    and these are the commands i execute from  UART:

     

    defenv
    setenv bootfromnand 0
    setenv start_usb_autoscript "if fatload usb 0 11000000 s805_autoscript; then autoscr 11000000; fi;
     if fatload usb 1 11000000 s805_autoscript; then autoscr 11000000; fi;
    if fatload usb 2 11000000 s805_autoscript; then autoscr 11000000; fi;
    if fatload usb 3 11000000 s805_autoscript; then autoscr 11000000; fi;"
    setenv start_autoscript 'if usb start; then run start_usb_autoscript; fi; '
    setenv bootcmd 'run start_autoscript; run storeboot'
    setenv reboot_mode normal
    saveenv
    reset

     

  9. Hello balbes150 i have managed to boot from UART  and here is the output :

    Spoiler


    
    ##### VDDEE voltage = 0x044c1100
    
    CPU clock is 792MHz
    
    
     board_id :00000000
    DDR mode: 32 bit mode (auto)
    DDR size: 1GB (auto)
    DDR check: Pass!
    DDR clock: 636MHz with 2T mode
    DDR pll bypass: Disabled
    DDR init use : 17434 us
    
    HHH
    ucl decompress...pass
    0x12345678
    Boot from internal device 1st NAND
    
    TE : 219798
    
    System Started
    
    
    U-boot-00000-gcc16b01(m8b_m201_v1@) (Apr 18 2016 - 10:52:29)
    
    clr h-ram
    DRAM:  1 GiB
    relocation Offset is: 0feb8000
    show partition table: 
    part: 0, name :       logo, size : 2000000
    part: 1, name :   recovery, size : 2000000
    part: 2, name :       misc, size : 2000000
    part: 3, name :       boot, size : 2000000
    part: 4, name :     system, size : 40000000
    part: 5, name :      cache, size : 20000000
    part: 6, name :       data, size : end 
    aml_card_type=0x100
    MMC:   [mmc_register] add mmc dev_num=0, port=1, if_type=6
    [mmc_register] add mmc dev_num=1, port=2, if_type=6
    SDIO Port B: 0, SDIO Port C: 1
    power init
    out reg=c110804c,value=dfffffff
    IR init done!
    register usb cfg[0][1] = 1ff67b64
    register usb cfg[2][0] = 1ff6ab00
    NAND:  NAND BOOT: boot_device_flag 1
    Nand PHY driver Version: 2.01.001.0004 (c) 2013 Amlogic Inc.
    amlnf_phy_init : amlnf init flag 0
    NAND device id: 2c 68 4 4a a9 0 0 0
    detect NAND device: C revision NAND 4GiB MT29F32G-C
    nand chip ce mask 1
    bus_cycle=6, bus_timing=8,system=3.9ns,flash->T_REA =16,flash->T_RHOH=15
    NAND CKECK  : arg nbbt: arg_valid= 1, valid_blk_addr = 4, valid_page_addr = 0
    NAND CKECK  : arg ncnf: arg_valid= 1, valid_blk_addr = 6, valid_page_addr = 0
    NAND CKECK  : arg nkey: arg_valid= 1, valid_blk_addr = 5, valid_page_addr = 22
    i=0,register --- nand_key
    NAND CKECK  : arg nenv: arg_valid= 1, valid_blk_addr = 9, valid_page_addr = 238
    NAND CKECK  : arg phyp: arg_valid= 1, valid_blk_addr = 7, valid_page_addr = 1
    amlnand_phydev_init,1172,phydev->offset=0,phydev->size=400000
    amlnand_phydev_init,1172,phydev->offset=3400000,phydev->size=23c00000
    amlnand_phydev_init,1172,phydev->offset=27000000,phydev->size=4fc00000
    amlnand_phydev_init,1172,phydev->offset=76c00000,phydev->size=89400000
    nfboot    : offset: 0x000000000000 -0x000000400000 : partitons 0 : single_chip single_plane
    nfcache   : offset: 0x000003400000 -0x000023c00000 : partitons 1 : single_chip multi_plane
    nfcode    : offset: 0x000027000000 -0x00004fc00000 : partitons 5 : single_chip multi_plane
    nfdata    : offset: 0x000076c00000 -0x000089400000 : partitons 1 : single_chip multi_plane
    bad block count = 0
    bad block count = 0
    bad block count = 0
    bad block count = 0
    amlnf_logic_init: START
    amlnf_logic_init:  COMPLETE
    get_boot_device_flag: init_ret 0
    get_boot_device_flag NAND BOOT: 
    NAND BOOT,nand_env_relocate_spec : env_relocate_spec 49 
    uboot env amlnf_env_read : ####
    set_storage_device_flag: store 1
    vpu clk_level in dts: 3
    set vpu clk: 182150000Hz, readback: 182150000Hz(0x701)
    Net:   Meson_Ethernet
    init suspend firmware done. (ret:0)
    cvbs trimming.1.v5: 0xa0, 0x0
    hdmi tx power init
    TV mode 576cvbs selected.
    vdac open.1 = 0x1, 0x0
    mode is: 4
    viu chan = 1
    config HPLL
    config HPLL done
    reboot_mode=charging
    efuse version is not selected.
    Hit Enter key to stop autoboot -- :  0 
    exit abortboot: 0
    (Re)start USB(0)...
    USB0:   dwc_usb driver version: 2.94 6-June-2012
    USB (1) peri reg base: c1108820
    USB (1) use clock source: XTAL input
    USB (1) base addr: 0xc90c0000
    Force id mode: Host
    dwc_otg: Highspeed device found !
    
    scanning bus 0 for devices... 1 USB Device(s) found
           scanning usb for storage devices... 1 Storage Device(s) found
    reading s805_autoscript
    
    1991 bytes read
    ## Executing script at 11000000
    MMC: block number 0x1 exceeds max(0x0)
    ** Can't read from device 0 **
    
    ** Unable to use mmc 0:1 for fatload **
    reading uInitrd
    
    3331991 bytes read
    reading uImage
    

     

    i guess  there is something wrong with my s805_autoscript ?? ( i have waited for more then 30min and nothing outputs)  Also i have burned this image on my flash drive and i have copy paste meson8b_m201_1G.dtb  to the root dir as   dtb.img

  10. Hello balbes150 yes i did the upgrade via USB stick the version i use to install was this  also i had serious problems with libreelec after some time (1-2min or less) it freezes until i found that i have to change /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor to hotplug. Can you help me to install armbian with the USB stick ?

  11. Hello everyone i am new to armbian and really like the idea to install debian base distro on amlogic box . I have several s805 boxes m201d board unfortunately they don't have sd slot but i have manage to install libreelec on them through the android recovery menu. So can you help me on how to install armbian on this box is it possible to install armbian on box without sd card ??

  12. Hello everyone i am new to armbian and i want to install it on my box it's amlogic s805 md201d board please take a look here and here   

    My box doesn't have micro sd slot that's why i would like to install it to nand. I have previously installed Libreelec on the box and the way to do it was through android recovery menu.

    Is there a way to install armbian through the android recovery menu  or via Libreelec comand line ?

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines