Need help keep trying this for many days now

1.Writing bootloader :
1.1sudo dd if=u-boot.bin.sd.bin of=/dev/sdb bs=1 count=444 && sync
1.2 sudo dd if=u-boot.bin.sd.bin of=/dev/sdb bs=512 skip=1 seek=1 && sync

  1. Writing ubuntu desktop image :
    sudo dd if=Armbian_5.24_Amlogic-s905x_Ubuntu_xenial_3.14.29_desktop_20161223.img of=/dev/sdb bs=4M && sync
    Insert SD card into the board but cannot boot. Regardless long press Function key or not. Only boot into default Android 6.0

  2. Same SD card just write LibreELEC image (no need to delete anything)
    sudo dd if=update.img of=/dev/sdb bs=4M && sync
    Insert SD card into the board. Can automatically boot into Kodi !

  3. Same SD card nothing change.
    Writing Ubuntu desktop to the SD card
    sudo dd if=Armbian_5.24_Amlogic-s905x_Ubuntu_xenial_3.14.29_desktop_20161223.img of=/dev/sdb bs=4M && sync
    Insert SD card into the board and power on.Regardless long press Function key or not. Only boot into default Android 6.0

  4. Writing back LibreELEC(same SD card nothing change)
    sudo dd if=update.img of=/dev/sdb bs=4M && sync
    Insert SD card into the board. Can automatically boot into Kodi !

Suspicious something wrong with Ubuntu image ? Please help.

Hi,bengt:
you need to erase the eMMC storage and look the link: http://docs.khadas.com/develop/HowtoEraseEMMC/

Do you mean if I just wipe out eMCC, then SD card will automatically boot into Ubuntu? (I do not have USB to TTL converter)

You can try with Button Mode to wipe out the eMMC storage.

And as the eMMC is the 1st booting media, so you need to wipe the Android ROM on eMMC first. We will release new Android ROM and support dual boot, then no need to wipe out again.

Had followed your above advice. Now only has dark

screen.But no reboot. Repower many times by unplug and plug the adaptor, still dark screen.
What else I can do ?

About how to boot ubuntu from the SD card,you can look this link:

You need to check step by step.
I think it may be caused by the sdcard format.
You can try to format the sdcard as fat32

Dear Terry,
I have tried following firmwares :

  1. ubuntu desktop
  2. android root
  3. arch linux
  4. LibreELEC
    All fail to reboot except LibreELEC which booted flawlessly. Unfortunately wifi not working for LibreELEC. I have no choice now but wait 'till someone more clever than me pointing out how to boot into other OS. I now enjoy Kodi via wired connection.

Hi, Bengt:
Did you notice the new LibreELEC ROM released? The WIFI is supported now.

About booting issue:

  • Tell us the Ubuntu desktop ROM version you installed
  • Tell us the arch linux ROM you installed

And about the u-boot, which version did you used?

ArchLinux : archlinux_4Gb_20161201.img

Ubuntu : armbian_5.24_amlogic-s905x_ubuntu_xenial_3.14.29_desktop_20161223.img

bootrom : u-boot.bin.sd.bin

Thank you in advance.

Where you download the u-boot.bin.sd.bin? or you compile by yourself?

No,I downloaded it from your site.
http://docs.khadas.com/develop/CreateBootableSDCard/
If any alternative bootloader available ?

Try the new u-boot for Android & Armbian-ubuntu, and kindly feedback to us.

Thanks.

Works like a charm. I wrote ubuntu-desk top image with your new bootloader above. It works perfectly. Please tell me how to write into eMCC. So it will be started up quicker.

2 Likes

Additional information : your above new bootloader can not boot

  1. Arch Linux
  2. Android root
    More over ( from my short experiment today) , Ubuntu booting on Khadas VIM, IS EASILY HANGED ( in 20-25 minutes from booting). It is just simply freeze and cannot do anything except reboot.
    Thank you.

Android ROM, take a notice that:

  • u-boot.bin: is for eMMC Installation
  • u-boot.bin.sd.bin: is for SD card installation

Arch Linux, I’m not quite sure, as:

  • Different OS might requite different cmdline for it
  • You can built the u-boot from source code for Arch Linux image
  • Just take a notice that there are similar docs on Khadas Docs

Ubuntu freeze issue: did you already erase the eMMC storage first?

This morning I tried install u-boot.bin as you suggested for install Ubuntu into eMCC. But only get black screen. It does not boot. It is for Android only? What’s about Ubuntu u-boot.bin? Do you have one ?
FYI: I already delete eMCC as per your prior suggestion. So it is not related to the freezing of Ubuntu OS.

Has also tried install Android both rooted and unroot images. No luck.
Both with u-boot.bin did not boot. Only have black screen after 2-3 of screen flipping. Any comments or suggestions?

Will release Ubuntu-server ROM in a few hours, kindly test again there.

BTW, would be better to feedback issues like this:

  • Tell us the ROM version you installed
  • Tell us the hardware date code, i.e. Vim V1.2 1610 4916
  • Describe all the procedures(step-by-step) you did with details
  • Provde neccesarry photos to help us better understand the issue you are facing
  • If you are a developer, post the full printing log
  • Others information you thought would be helpful for us
  • If you are facing many different problems, please create different topics one by one, we will also reply one by one.
  • If your problem has been fixed, please follow the Problem Solved Button to mark it as solved

Thanks!

1 Like

Happy new Year! Rooster year, wish you luck and success.

I’ve got the 16Go/Wifi AC board.

Any chance you could explain how to boot and use directly Linux from the SD Card?

as I only see ROMs that upgrades the EmmC memory. I don’t want that, I only want to boot and run Linux from the SD Card.

Thank you

Hi, PeFar:
Check the topic for details.