Here are the links for my fully automated minimal Debian Jessie/Wheezy images. You can use the exact same image on as many odroid-c1's on your lan as you wish, each of them gets a unique hostname (that includes the MAC address) assigned on first boot.

I don't have a U3, but this script uses the U1's toolchain, uboot and kernel, so it probably won't run on the U3. You could however tweak the scripts to use the appropriate toolchain, uboot and kernel for the U3. Or you could mail me one

Oh and the /lib/ld-linux.so.2 errors you are getting are probably because you are running the script on the device. The toolchain is an x86 toolchain, so these scripts only work on an x86 machine with Debian/Ubuntu.

I moved the read only root scripts to a new repository (I updated the first post in this thread), this repository will contain a regular read/write minimal debian wheezy image soon! Just update your git remote and you should be fine if you wish to keep building a read-only root image.

Hello,
First of all, I want to thank you for your excellent work. Thanks to you, I could install my ODROID-C1 as I wanted using SSH.
However, I do have a small problem: I can not use an HDMI display to work directly on the console ODROID-C1.
When I plug the ODROID on my TV there is nothing that appears.
I changed several times the boot.ini file by different settings, but it does not change: still no display.
Do you have a solution?
In advance, thank you for your help.
Ricardo.

You won't see the boot log, but once booted you should see the login prompt. I haven't tried to build one recently, maybe something has changed. I'll try tonight or tomorrow and see if that image displays something on my TV.

I have a question regarding Read-only root image. When I try to edit /etc/sysctl.conf, I cannot modify it.
Do I have to use writable root image?

Tatasumi

Yes, the whole point of a read-only root image is that it never writes anything persistent to your sd card. You can however temporarily remount root as writable:

mount -o remount,rw /

Then edit your file, and when you're done you can remount your filesystem as read-only again.

mount -o remount,ro /

The concept of a read-only root file system is commonly used in consumer devices, because you don't want the flash memory to wear out or you want to make sure nothing can ever get corrupted. It does however make things a little more complicated, because many packages out there are not geared towards operating in a read-only environment. Many things will require tweaking to get working. I suggest you stick with a regular writable root file system image unless you know exactly what you're doing and your use case for such an environment makes sense.

Hi TomB,
I am using an Odroid-C1 running "Minimal Debian Wheezy" and it works great.

However, I noticed the following anomaly :
I am connected to the Internet by using the Odroid Gigabit adapter and an Ethernet cable connected directly to the router, and it can only get 20-25 Mbps at its fastest speed.
The measurements were made with Iperf.
My Internet service is 100 Mbps, and when I plug my laptop into the exact same cable, I get 105 Mbps.

Have you noticed this anomaly?
In advance, thank you for your help.
Ricardo.

bluesman13 wrote:Hi TomB,
I am using an Odroid-C1 running "Minimal Debian Wheezy" and it works great.

However, I noticed the following anomaly :
I am connected to the Internet by using the Odroid Gigabit adapter and an Ethernet cable connected directly to the router, and it can only get 20-25 Mbps at its fastest speed.
The measurements were made with Iperf.
My Internet service is 100 Mbps, and when I plug my laptop into the exact same cable, I get 105 Mbps.

Have you noticed this anomaly?
In advance, thank you for your help.
Ricardo.

I also quickly rebuilt the writable root image, I think it might have a newer kernel now which according to some threads may have resolved the issue. I haven't tried it at all, but maybe you could give it a shot?

Hello,
I tested the new Pre-built image (writable root) dated 31.01.2015 and, at the first start, I immediately encountered a problem : no access to the Internet, while access to the local network works well !

Hi,
I got this image setup today and it works perfectly. However, I cannot find the hardkernel scripts to do a kernel update and resize the root partition. Are they hiding in the image somewhere or do I need to get them myself from somewhere else? If so, where?
Thanks.

Which image did you use? writable root or read-only root? If it is the writable root image, are you saying that you are not seeing the networking issues that bluesman13 is seeing?

jonathanp wrote:However, I cannot find the hardkernel scripts to do a kernel update and resize the root partition. Are they hiding in the image somewhere or do I need to get them myself from somewhere else? If so, where?

Yes, these are not part of the image on purpose. I do plan to add support to automatically resize the partition on first boot, but I haven't had much time recently.

I used the writable image and networking worked fine, for both incoming and outgoing connection to and from the local network and the internet. I have it running Oracle Java 8 + openHAB, up 12 hours now without problems.

My suggestion is that the ntpdate package should be part of the minimal image. This not only includes an ntp client, but also a script which sets the time whenever an interface comes up. The only problem I had with the initial setting up of the image was that initially wget would not connect to github, and odroid-utility.sh failed without giving a concrete reason. Eventually I figured out this was because the clock was not set, so SSL certificates could not be validated. In any case, since the C-1 has no RTC battery by default, I think using ntp is a necessity for most users, since otherwise the clock would have to be manually set after every boot.
However, if your view is that the image should just include the very minimum required in order to get a shell and install further packages, and nothing else, I respect that

Hello TomB,
About my Ethernet driver problem, I wish to repeat that the network works fine, but the Internet Upload speed is clamped to 20 Mbps ! I made measurements using "iperf" and the result is clear !
I consulted the topic you reported me (http://forum.odroid.com/viewtopic.php?f ... 04;[Solved] Odroid-C1 network issue) and it seems that the problem could be solved by using the following trick :
=> Updating the kernel "linux-image-3.10.66-46" fixes it (for Ubuntu users).
But I confess I do not understand ! Do you understand what to do ?
I inform you that I have cloned your "repository git" and that I successfully build sdcard image.
Can you help me ?
In advance, thank you.
Ricardo.

jonathanp wrote:My suggestion is that the ntpdate package should be part of the minimal image. This not only includes an ntp client, but also a script which sets the time whenever an interface comes up.

Did you have to modify any configuration in regards to ntpdate? If not, that's really easy to add to the image.

jonathanp wrote:However, if your view is that the image should just include the very minimum required in order to get a shell and install further packages, and nothing else, I respect that

Well, it already is more than the absolute minimum. I do want networking stuff to work right, and it makes sense to have ntpdate included by default. I'll look into it when I get home tonight.

bluesman13 wrote:Hello TomB,
About my Ethernet driver problem, I wish to repeat that the network works fine, but the Internet Upload speed is clamped to 20 Mbps ! I made measurements using "iperf" and the result is clear !
I consulted the topic you reported me (http://forum.odroid.com/viewtopic.php?f ... 04;[Solved] Odroid-C1 network issue) and it seems that the problem could be solved by using the following trick :
=> Updating the kernel "linux-image-3.10.66-46" fixes it (for Ubuntu users).

Unfortunately I haven't had time to check out networking since I uploaded my last image. I might have some time when I get home tonight.

bluesman13 wrote:But I confess I do not understand ! Do you understand what to do ?
I inform you that I have cloned your "repository git" and that I successfully build sdcard image.

My scripts automatically clone the kernel repository at HEAD, so when you build the image it will include hardkernel's latest kernel. However, it only clones if the linux folder does not exist, it will *not* do a git pull if the folder already exists. You can simply do make distclean && make and that should clone the latest again.

This will automatically re-build you a sdcard.img with the latest greatest kernel.

bluesman13 wrote:About my Ethernet driver problem, I wish to repeat that the network works fine, but the Internet Upload speed is clamped to 20 Mbps ! I made measurements using "iperf" and the result is clear !

I just built a new image this evening and I don't seem to have the networking issues you are seeing.

When I run iperf -s on the odroid, I consistently get these numbers:

[ 4] 0.0-10.0 sec 844 MBytes 708 Mbits/sec

However, when I run iperf -c on the odroid, I get significantly lower throughput, but still much more than the 20mbps you are seeing:

[ 3] 0.0-10.0 sec 492 MBytes 413 Mbits/sec

I updated the image (which also includes ntpdate now), which is running the 3.10.66 kernel, btw.

Hello TomB,
I have not tested the official Ubuntu image (currently I do not have much free time), but I think the problem is the same! It seems that the Gigabit Ethernet ODROID-C1 driver is not yet fully developed!
Best Regards.

I knew the scripts would build the latest kernel when building an image but once you have it running, you don't want to build a new image all the time. Especially when you can just install an update with apt.

Thank you very much for sharing! I successfully created an image using your script and everything I tested is working fine!

The only part I think needs improvement is the debootstrap step: Downloading packages from the default mirror (http://ftp.us.debian.org/debian/) took what felt like ages. Just retrieving the packages took way longer than all the other steps combined. This shouldn't be the case considering I got a 150 MBit/s downstream connection. Here are some suggestions:
1.) Add a menu to let the user pick a closer mirror.
2.) Run netselect-apt prior to this step to find a faster mirror.
3.) Advice the user to edit the DIST_URL line in common.mk before running make. << You know, for the imbeciles like me...

for copying the image to microsd, after comparing with sha256sum that it's ok.
I get only a steady red light and the blue light going ping-ping, no HDMI. Any hints?

I don't know what the problem is, but is the of= argument really the entire disk device and not a partition on it? e.g. /dev/sdc rather than /dev/sdc1. I just build a new image with the latest kernel and it works just fine on my c1.

Hi TomB and others!
Thank you, Tom, for debian image, but I have a question... Is there a possibility to integrate support for exFAT filesystem?
I've tried fuse-exfat, but it is using about 50% of CPU and is slowing the transmission downloading torrents.

That is true, I am not affilied with harkernel in any way (other than being a customer). I do not have any plans for exFAT right now, and my time is rather limited. However, the good news is that it is fairly easy to customize the image builds, even the kernel and drivers. You can simply clone hardkernel's linux kernel repo, point the script to it, patch as you please, and kick off another image build.

About a week ago I've installed this Debian image, but my C1 has booted only on 3rd or 4th try. At first I've thought that it badly needs monitor for the boot as connecting it to monitor increased the odds to successfully boot (as I thought). Ive booted normally one time and didn't reboot for about a week. But when I tried new kernel the problem emerged as well. And now I've tested some images and have to conclude - the official Ubuntu boots well 100%, but this Debian (installed as new) boots successfully about 10-15% of the time. It tries to boot, gets IP from DHCP server, pings are okay, but the screen is totally black, besides the monitor thinks that it has steady signal.

I have no means to connect serial console, but how can I diagnose what is going on?