is it possible to burn the kernel and system though u-boot to emmc ?
On what version of LE are you asking ?
i would like to know this to. but for archlinuxarm (let say to image which @balbes150 creates)
Ive tried, to keep it more simple, to export the boot and rootfs from the pre-build Vim_LibreELEC_V170116 to write it to emmc with u-boot but iâm note sure about the design of the partitions
@vrabac have you seen this: http://docs.khadas.com/social/BuildUbuntuRootfsViaPrebuiltImage/
i havent thried this yet, because of missing time. iâll will try this armbian on this weekend, i think
You want to install ArchLinux in eMMC ? What is the image You want to install ? How it is used kernel ?
does it matter? I have here laying your ArchLinuxArm image, the one from âSfsâ and my own, which I created directly on microSD and it boots, is running mainline kernel 4.12-rc2 (without patches).
Yes it is important what image and what kernel. Depend on the steps that must be performed to copy (install) of the OS in eMMC. If the kernel was not changed (relative to the original image on my site), then it is enough to make a small change in the installation script (/root/install.sh) and can installing system to the eMMC. But if the kernel is changed, you need to prepare file with kernel+initrd+dtb (kernel image), which will be able to use a regular u-boot and it will be written to eMMC in boot partition (instead of the regular kernel).
Ok I hope writing an image to eMMC will be simplify in near future.
Lets say I have on mSD card your image S905X_S912_ArchLinux_20170519_4_9_26.img.xz and I would like to use whole potential of eMMC and not the slownes of an mSD card.
Fix in script /root/install.sh the list of directories that need to copy to eMMC with external media in accordance with that which directories are used in your image ArchLinux.
https://github.com/150balbes/lib/blob/master/scripts/amlogic/905_install.sh#L34
Hello baldes,
Can you give me support?
I have one khadas vim with o.s. android.
I wanted to erase Android off MMC and flash the khadas with libreelec to run Kodi.
Who can i do this?
Thanks
Which version of the image LE are you using ?
https://yadi.sk/d/ysAgoIWT32M9Hn
I try the S905
And
http://docs.khadas.com/basics/FirmwareResources/
Both libreelec
with PC software âUSB toolâ to flash but appear one error when Open the imagem " parse burning imagem fail"
Ok, write with libreelec usb software or USB tool?
My understanding is that the PC USB Burning Tool doesnât work for the Libreelec images.
What worked for me was creating a bootable SD card using these instructions:
http://docs.khadas.com/bootcamp/CreateLibreELECBootCardViaCLI/ (for Linux command line). There is also a Windows tool and instructions here http://docs.khadas.com/bootcamp/InstallLibreELECViaWindows/.
Then reinsert the SD card and follow the instructions in balbes150âs thread â deleting âdtb.imgâ and renaming âremote.conf.vimâ etc.
Note that if the image file has the suffix KVIM, donât delete âdtb.imgâ.
You can boot LE from the SD card and if you want to install to eMMC there is an option in the shutdown menu of LE that says something like shutdown and install to emmc.
Hi
O donât have u-boot to run SD card.
Edit: you donât need to put Uboot on the SD card as @balbes150 says below. Just burn the LE image on the SD card then copy the boot.ini from balbesâ link. Disregard the followingâ
You can put Uboot on the SD card. The LE images possible have Uboot already in them (Iâm not sure). If not, you can put it on any SD card using these instructionshttp://docs.khadas.com/bootcamp/CreateBurnCardViaCLI/. There is also a Windows method linked from that page.
Then you can write the Libreelec image onto the SD card after that.
How to make the Vim boot from the SD card I am still a bit confused about, but it has worked for me. I have had to use the MRegister method described here http://docs.khadas.com/develop/HowtoBootIntoUpgradeMode/ where you short 2 pads on the board marked M. But then other times it just worked with the SD inserted.
You can try flashing the dual boot Android/Ubuntu images from the firmware page onto eMMC using the Burning Tool. Iâm not sure but I think the Uboot on these enables booting from SD card. I think holding down Function button while its booting works for some of the ROMs for booting from the SD card.
And then, as I said above, once you have booted from the SD card, you can choose âInstall to emmcâ from the shutdown menu of Libreelec itself and that should install bootloader and rom to eMMC. There was some talk in one of the Libreelec threads about having to copy a DTB file to the eMMC after installing, you might need to look into that.
To run the LE nor any manipulations with u-boot and creating a bootable SD card is not necessary. Just burn the image LE (use the image prefix in the image name KVIM) on the SD card. Download and copy to SD card additional script âboot.iniâ. Turn off VIM, insert the SD card and turn on the power supply VIM.