to totally erase emmc, bootloader/uboot command worked ok, and windows app also; linux cli app could have some not so well documented options to also erase emmc but i did not find them yet.
Trying to burn VIM3_Ubuntu-xfce-bionic_Linux-4.9_arm64_EMMC_V20190830
got me into error on writing rootfs How to properly wipe EMMC and start over?
Solved - this Windows tool helped.
@ravelo If you want to earse eMMC,you should use windows tools,linux tools not supported.
ok @Frank, thank you
@numbqq
Hello,
I tried installing the burn tool on Ubuntu-18.04.3-LTS without success. It gives the following lines:
~/_AmIDIS/_AmBOX/arm/khadas-utilities/utils$ sudo ./INSTALL
Installing dependencies
Requires root privileges, please enter your passowrd!
After entering my password, all it does is to perform sudo apt-get update. and thatβs all.
Please how did you successfully install it?
@uzosky Can you provide the full log info in there ? We need it to check what happend.You can try burn-tool -h
to check it if it install success. About How to install , You can follow this page to install.
Here is the log:
06:41:05 sudo: pam_unix(sudo:session): session closed for user root
06:41:05 sudo: pam_unix(sudo:session): session closed for user root
06:41:05 sudo: pam_unix(sudo:session): session closed for user root
06:40:31 sudo: pam_unix(sudo:session): session opened for user root by (uid=0)
06:40:31 sudo: root : TTY=pts/1 ; PWD=/home/uzisky/_AmIDIS/_AmBOX/arm/khadas-utilities/utils ; USER=root ; COMMAND=/usr/bin/apt update
06:40:30 sudo: pam_unix(sudo:session): session opened for user root by (uid=0)
06:40:30 sudo: uzisky : TTY=pts/1 ; PWD=/home/uzisky/_AmIDIS/_AmBOX/arm/khadas-utilities/utils ; USER=root ; COMMAND=./INSTALL
I was actually following the instruction on how to install it on Ubuntu based on the link you provided.
@uzosky Did you try with burn-tool -h
to check the install status with burn-tools ?
Yes, I got:
~$ burn-tool -h
burn-tool: command not found
@uzosky You host PC is Ubuntu18.04 ? or other?
Yes. Itβs Ubuntu18.04.4 to be precise.
@uzosky cd /path/to/your/utils
and try to git pull
. check what happed with it.
Then,sudo ./UNINSTALL
to unistall it and try sudo ./INSTALL
to reinstall.
GIT PULL
~/_AmIDIS/_AmBOX/arm/khadas-utilities/utils$ git pull
Already up to date.
UNINSTALL
$ ./UNINSTALL
Removing Amlogic flash-toolβ¦
===============================================
Host PC: Ubuntu 18.04
===============================================
Removing USB rulesβ¦
[sudo] password for uzisky:
Removing flash-toolβ¦
Done!
Removing Rockchip flash-toolβ¦
===============================================
Host PC: Ubuntu 18.04
===============================================
Removing USB rulesβ¦
Removing flash-toolβ¦
Removing configurationβ¦
Done!
Removing ToneBoard burn-toolβ¦
===============================================
Host PC: Ubuntu 18.04
===============================================
Removing USB rulesβ¦
Removing toneboard-burn-toolβ¦
Done!
Removing Khadas burn-toolβ¦
Done!
INSTALL(performs -sudo apt update- and does nothing more)
:~/_AmIDIS/_AmBOX/arm/khadas-utilities/utils$ ./INSTALL
Installing dependencies
Requires root privileges, please enter your passowrd!
Hit:1 http://ppa.launchpad.net/cubic-wizard/release/ubuntu bionic InRelease
Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:3 http://ppa.launchpad.net/maarten-fonville/android-studio/ubuntu bionic InRelease [15.4 kB]
Hit:4 http://ng.archive.ubuntu.com/ubuntu bionic InRelease
[β¦other regular updates]
TEST BURN-TOOL
_AmIDIS/_AmBOX/arm/khadas-utilities/utils$ burn-tool -h
burn-tool: command not found
Obviously, the utility tools did not install
@uzosky ./UNINSTALL
work fine,but ./INSTALL
just print such log info ? It should look like thsi.
Installing Amlogic flash-tool...
===============================================
Host PC: Ubuntu 16.04
===============================================
Installing USB rules...
[sudo] password for frank:
Installing flash-tool...
Done!
Installing Rockchip flash-tool...
===============================================
Host PC: Ubuntu 16.04
===============================================
Installing USB rules...
Installing flash-tool...
Done!
Installing Khadas burn-tool...
Done!
Iβm aware that it should look like that. Unfortunately, it doesnβt display that info because itβs not installing. Have you tested on Ubuntu 18.04 with success?
@uzosky Our docs was test with Ubuntu18.04 and myself host is Ubuntu18.04 too. THis is first time I met Ubuntu 18.04 that failed to install. Can you use root user to try again ? I think maybe the question which related to authority.
β¦with root access
root@amnix:/home/uzisky/_AmIDIS/_AmBOX/arm/khadas-utilities/utils# ./INSTALL
Installing dependencies
Requires root privileges, please enter your passowrd!
Hit:1 http://ppa.launchpad.net/cubic-wizard/release/ubuntu bionic InRelease
Hit:2 http://ng.archive.ubuntu.com/ubuntu bionic InRelease
Get:3 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
[β¦more -sudo apt update- info with installation ]
@uzosky Could you show all the files in directory a by using the tree command ?
βββ utils
βββ aml-flash-tool
β βββ aml-burn-tool
β βββ docs
β β βββ Amlogic_update_usb_tool_user_guide.pdf
β βββ flash-tool
β βββ INSTALL
β βββ rules
β β βββ 70-persistent-usb-ubuntu12.rules
β β βββ 70-persistent-usb-ubuntu14.rules
β βββ tools
β β βββ datas
β β β βββ decompressPara_4M.dump
β β β βββ usbbl2runpara_ddrinit.bin
β β β βββ usbbl2runpara_runfipimg.bin
β β βββ install
β β β βββ 70-persistent-usb-ubuntu12.rules
β β β βββ 70-persistent-usb-ubuntu14.rules
β β β βββ README
β β βββ linux-arm
β β β βββ aml_image_v2_packer
β β β βββ update
β β βββ linux-x86
β β β βββ aml_image_v2_packer
β β β βββ update
β β βββ windows
β β βββ Amldbglog.dll
β β βββ aml_image_v2_packer.exe
β β βββ AmlLibusb.dll
β β βββ AmlUsbScanX3.dll
β β βββ msvcp100.dll
β β βββ msvcp140.dll
β β βββ msvcr100.dll
β β βββ update.exe
β β βββ UsbRomDrv.dll
β β βββ vccorlib140.dll
β β βββ vcruntime140.dll
β βββ UNINSTALL
βββ aml_image_v2_packer
βββ burn-tool
βββ INSTALL
βββ khadas_utils.txt
βββ lib64
β βββ libc++.so
βββ logo_img_packer
βββ mkbootimg
βββ mkimage
βββ mkimage-arm64
βββ mkimage-armhf
βββ README.md
βββ rk-flash-tool
β βββ bin
β β βββ rk33
β β βββ MiniLoaderAll.bin
β βββ flash-tool
β βββ INSTALL
β βββ parameter_gpt_linux.txt
β βββ partitions.sh
β βββ rk-burn-tool
β βββ rules
β β βββ 80-rockchip-usb.rules
β βββ tools
β β βββ firmware_merger
β β β βββ firmware_merger
β β β βββ setting.ini
β β β βββ user_manual.txt
β β βββ firmwareMerger
β β βββ kernelimage
β β βββ Linux_Upgrade_Tool
β β β βββ config.ini
β β β βββ Linux upgrade tool user guide_v1.32.pdf
β β β βββ Readme.txt
β β β βββ upgrade_tool
β β βββ loaderimage
β β βββ mkkrnlimg
β β βββ parameter_gpt.txt
β β βββ resource_tool
β β βββ rkdeveloptool
β β βββ trust_merger
β βββ UNINSTALL
βββ toneboard-dfu-tool
β βββ INSTALL
β βββ rules
β β βββ 80-toneboard-usb.rules
β βββ toneboard-burn-tool
β βββ tools
β β βββ toneboard_dfu_tool
β βββ UNINSTALL
βββ UNINSTALL
21 directories, 69 files