Jump to content

Francisco Aarón

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by Francisco Aarón

  1. Hi! I can't boot the Armbian image in a Mecool Ki Pro, at least from USB. I tried changing in uEnv.ini the DTB to "dtb/meson-gxl-s905d-p230.dtb" and copying it as "dtb.img" in root of the BOOT partition without success, even I created my own aml_autoscript based in the original but haven't luck.

     

    Here is my aml_autoscript after many modifications trying to get it work:

     

    defenv
    
    setenv env_addr 0x10400000
    setenv kernel_addr 0x11000000
    setenv initrd_addr 0x13000000
    
    setenv bootargs 'root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0'
    
    setenv boot_start 'booti ${kernel_addr} ${initrd_addr} ${dtb_mem_addr}'
    
    setenv sdload 'if fatload mmc 0 ${kernel_addr} zImage; \
    then \
        if fatload mmc 0 ${initrd_addr} uInitrd; \
        then \
            if fatload mmc 0 ${env_addr} uEnv.ini; \
            then \
                env import -t ${env_addr} ${filesize}; \
            fi; \
            if fatload mmc 0 ${dtb_mem_addr} dtb.img; \
            then \
                #run boot_start; \
                setenv bootargs ${bootargs} sdload \
                booti ${kernel_addr} ${initrd_addr} ${dtb_mem_addr}; \
            else \
                store dtb read ${dtb_mem_addr}; \
                #run boot_start; \
                booti ${kernel_addr} ${initrd_addr} ${dtb_mem_addr}; \
            fi; \
        fi; \
    fi;'
    
    setenv usbload 'if fatload usb 0 ${kernel_addr} zImage; \
    then \
        if fatload usb 0 ${initrd_addr} uInitrd; \
        then \
            if fatload usb 0 ${env_addr} uEnv.ini; \
            then \
                env import -t ${env_addr} ${filesize}; \
            fi; \
            if fatload usb 0 ${dtb_mem_addr} dtb.img; \
            then \
                #run boot_start; \
                setenv bootargs ${bootargs} usbload \
                booti ${kernel_addr} ${initrd_addr} ${dtb_mem_addr}; \
            else \
                store dtb read ${dtb_mem_addr}; \
                #run boot_start; \
                booti ${kernel_addr} ${initrd_addr} ${dtb_mem_addr}; \
            fi; \
        fi; \
    fi;'
    
    setenv bootcmd 'run sdload; run usbload; run storeboot;'
    #setenv upgrade_step 2
    
    saveenv
    #run storeargs # desactivar si da problemas
    
    run sdload
    run usbload
    run storeboot
    
    #run bootcmd
    #sleep 1
    #reboot

    PD: The image I have is "Armbian_5.60_Aml-s9xxx_Ubuntu_bionic_default_4.18.7_desktop_20180928.img"

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines