headless server Linux image for wandboard quad? where to get?

1,426 views
Skip to first unread message

J Wang

unread,
Sep 3, 2013, 11:46:36 PM9/3/13
to wand...@googlegroups.com
Hey all,

I am running cubieboard and raspberryPI as home server for email, website and internal file server, and would like to use Wandboard Quad for that purpose. From the old board, I could simply download official images (both cubieboard and raspberry PI), with sshd enabled, to setup a server. however, It is a bit different in Wandboard world. both official ubuntu images (11.10 and 12.04) use old kernel 3.0.x. where I can get a downloadable linux image with 3.11.x kernel and sshd enabled?

don't want to start from scratch (uboot, kernel and applications) if I don't have to. Thanks

Maxim Podbereznyy

unread,
Sep 4, 2013, 12:23:06 AM9/4/13
to wand...@googlegroups.com

Sudo apt-get update
Sudo apt-get install openssh
?

04.09.2013 7:46 пользователь "J Wang" <rex...@gmail.com> написал:
Hey all,

I am running cubieboard and raspberryPI as home server for email, website and internal file server, and would like to use Wandboard Quad for that purpose. From the old board, I could simply download official images (both cubieboard and raspberry PI), with sshd enabled, to setup a server. however, It is a bit different in Wandboard world. both official ubuntu images (11.10 and 12.04) use old kernel 3.0.x. where I can get a downloadable linux image with 3.11.x kernel and sshd enabled?

don't want to start from scratch (uboot, kernel and applications) if I don't have to. Thanks

--
You received this message because you are subscribed to the Google Groups "Wandboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wandboard+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

John Chen

unread,
Sep 4, 2013, 8:21:59 AM9/4/13
to wand...@googlegroups.com
I won't suggest you getting a 3.11.x kernel for wandboard, because some of the drivers and features specific to wandboard isn't in the mainline yet, the 3.0.35 kernel that you are seeing isn't the official 3.0.35 from kernel.org, it is a heavily patched version from Freescale, with all the drivers for the i.MX6 processors. Therefore, unless you want specific features from one of the newer versions, then I won't suggest you to get 3.11.x kernel.

As far as I know, there are no image beside the ones available from the site. However, since the ubuntu image from wandboard site also uses Ubuntu's official repository, you should encounter no problems customizing the image for whatever purpose you want, as long as you don't touch the kernel.

John.

Fabio Estevam

unread,
Sep 4, 2013, 8:26:56 AM9/4/13
to wand...@googlegroups.com
On Wed, Sep 4, 2013 at 9:21 AM, John Chen <john...@gmail.com> wrote:
> I won't suggest you getting a 3.11.x kernel for wandboard, because some of
> the drivers and features specific to wandboard isn't in the mainline yet,

I would suggest the opposite: use a 3.11 kernel if you can :-)

Scott Ellis

unread,
Sep 4, 2013, 8:39:30 AM9/4/13
to wand...@googlegroups.com
Are the VPU codecs working with 3.11, i.e. gstreamer video encoding?

Fabio Estevam

unread,
Sep 4, 2013, 8:55:21 AM9/4/13
to wand...@googlegroups.com
On Wed, Sep 4, 2013 at 9:39 AM, Scott Ellis
<scottellis...@gmail.com> wrote:
> Are the VPU codecs working with 3.11, i.e. gstreamer video encoding?

VPU driver is available at: drivers/media/platform/coda.c

I haven't tested it with mx6 yet.

The subject of this email says "headless", so I would assume that VPU
is not needed in this case.

Scott Ellis

unread,
Sep 4, 2013, 10:44:36 AM9/4/13
to
We use headless Wandboards to network stream encoded audio/video
and some other sensor data we collect.

No need for a local display, but we do need the VPU.

J Wang

unread,
Sep 4, 2013, 10:11:25 AM9/4/13
to wand...@googlegroups.com
at this stage of the game, all I want to have is a general purpose home server, no special graphics requirement (don't even need X), ssh access is sufficient. somehow, I would like to have easier path (not compiling uboot, kernel and remaking rootfs). in short, download workable image and don't have to care if it runs on wandboard (or cubieboard/pi/X86).

anyway, any suggestions? links?

THanks

On Wednesday, September 4, 2013 8:01:22 AM UTC-5, Scott Ellis wrote:
We use headless Wandboards to network stream encoded audio/video
and some other sensor data we collect.

No need for a local display.

Robert Nelson

unread,
Sep 4, 2013, 10:20:06 AM9/4/13
to wand...@googlegroups.com
On Wed, Sep 4, 2013 at 9:11 AM, J Wang <rex...@gmail.com> wrote:
> at this stage of the game, all I want to have is a general purpose home
> server, no special graphics requirement (don't even need X), ssh access is
> sufficient. somehow, I would like to have easier path (not compiling uboot,
> kernel and remaking rootfs). in short, download workable image and don't
> have to care if it runs on wandboard (or cubieboard/pi/X86).
>
> anyway, any suggestions? links?

So you don't want to build anything, well just use my NetInstall script:

https://github.com/RobertCNelson/netinstall

git clone git://github.com/RobertCNelson/netinstall.git
cd netinstall

quad:
sudo ./mk_mmc.sh --mmc /dev/sdX --dtb imx6q-wandboard --distro <distro>

dual:
sudo ./mk_mmc.sh --mmc /dev/sdX --dtb imx6dl-wandboard --distro <distro>

Where "distro"

Debian:
wheezy-armhf

Ubuntu:
oneiric, precise-armhf, quantal, raring, saucy

Add "--serial-mode" and the debian installer will run right over the
serial port..

Note: Network access is required, as this script sets up the "Debian
NetInstall" to run directly on your target board...

Regards,

--
Robert Nelson
http://www.rcn-ee.com/

J Wang

unread,
Sep 4, 2013, 5:39:16 PM9/4/13
to wand...@googlegroups.com

THanks a lot Robert,  I have a working Debian base now.

I created the first working Debian on a 32G MMC, only used about 1GB. I cp (cp -rfp) boot and rootfs on to a 4GB card and tried to boot from it.  I apparently missed something on uboot side since it could not find the kernel image. for my other linux box, I could simply re-config/re-install grub, what would be equivalent grub-install /dev/sdX for u-boot? Thanks


U-Boot 2013.04-00234-gf6c3b34-dirty (May 28 2013 - 20:37:08)

CPU:   Freescale i.MX6Q rev1.2 at 792 MHz
Reset cause: POR
Board: Wandboard
DRAM:  2 GiB
MMC:   FSL_SDHC: 0
In:    serial
Out:   serial
Err:   serial
Net:   FEC
Warning: FEC MAC addresses don't match:
Address in SROM is         00:1f:7b:b4:02:1d
Address in environment is  00:1f:7b:b4:00:04

Hit any key to stop autoboot:  0
mmc0 is current device

MMC read: dev # 0, block # 2048, count 4080 ... 4080 blocks read: OK
Wrong Image Format for bootm command
ERROR: can't get kernel image!

Robert Nelson

unread,
Sep 4, 2013, 6:03:04 PM9/4/13
to wand...@googlegroups.com
On Wed, Sep 4, 2013 at 4:39 PM, J Wang <rex...@gmail.com> wrote:
>
> THanks a lot Robert, I have a working Debian base now.
>
> I created the first working Debian on a 32G MMC, only used about 1GB. I cp
> (cp -rfp) boot and rootfs on to a 4GB card and tried to boot from it. I
> apparently missed something on uboot side since it could not find the kernel
> image. for my other linux box, I could simply re-config/re-install grub,
> what would be equivalent grub-install /dev/sdX for u-boot? Thanks

Honestly, sometimes it's just easier/faster to re-run the netinstall
on the new 4GB card..

But if the partition layout of both cards matches (minus the extra
28G's in the 2nd partition.)

Try re-dd'ing the same u-boot binary that is used with the NetInstall.

wget -c http://rcn-ee.net/deb/tools/wandboard_quad/u-boot-wandboard_quad-v2013.07-r3.imx
sudo dd if=./u-boot-wandboard_quad-v2013.07-r3.imx of=/dev/sdX bs=512 seek=2

where /dev/sdX is the actual device name of your microSD (/dev/sdb, etc..)

Mike Panetta

unread,
Sep 4, 2013, 9:48:20 PM9/4/13
to wand...@googlegroups.com

Thumbs up to that!  With Robert Nelsons kernel build system it makes taking any distro image you like and turn it in to a wandboard distro!  I have already done it with Fedora 19.  Was a piece of cake!

 

Mike Panetta

unread,
Sep 4, 2013, 9:50:35 PM9/4/13
to wand...@googlegroups.com


On Wednesday, September 4, 2013 10:20:06 AM UTC-4, Robert Nelson wrote:
On Wed, Sep 4, 2013 at 9:11 AM, J Wang <rex...@gmail.com> wrote:
> at this stage of the game, all I want to have is a general purpose home
> server, no special graphics requirement (don't even need X), ssh access is
> sufficient. somehow, I would like to have easier path (not compiling uboot,
> kernel and remaking rootfs). in short, download workable image and don't
> have to care if it runs on wandboard (or cubieboard/pi/X86).
>
> anyway, any suggestions? links?

So you don't want to build anything, well just use my NetInstall script:

AWESOME!  How hard would it be for me to add fedora support to this? 

Robert Nelson

unread,
Sep 4, 2013, 10:24:19 PM9/4/13
to wand...@googlegroups.com
Well this script takes full advantage of the "debian-installer" which
both Ubuntu/Debian infrastructure use by default.

In Fedora land, there is a 'netboot' Anaconda installer, but it seems
to be only built on x86 last i checked..

So one option i did a few years ago, but since Fedora got on their own
feet and finally started shipping images i kinda abandoned and just
let it bit rot..

https://github.com/RobertCNelson/fedora-media-builder

Essentially, it just downloaded one image from say:
http://mirrors.rit.edu/fedora/fedora-secondary/releases/19/Images/armhfp/

Then just went to town, setting up the partition table, patching the
init scripts, installing the *.deb based kernel, etc...

It worked well at the time, helping re-bootstrap fedora, but it needs
a total overhaul.. Much of which could just be taken care of by using
meld directly with the netinstall script repo. Things like the
hwpack/*.conf board settings have really helped to add boards quickly
to the NetInstall script would have to be ported over.

Another option, might be forking the fedora-installer:
https://github.com/fossjon/Seneca

Mike Panetta

unread,
Sep 4, 2013, 10:43:44 PM9/4/13
to wand...@googlegroups.com
On Wed, Sep 4, 2013 at 10:24 PM, Robert Nelson <robert...@gmail.com> wrote:
> On Wed, Sep 4, 2013 at 8:50 PM, Mike Panetta <panett...@gmail.com> wrote:
>>
>>
>> On Wednesday, September 4, 2013 10:20:06 AM UTC-4, Robert Nelson wrote:
>>>
>>> On Wed, Sep 4, 2013 at 9:11 AM, J Wang <rex...@gmail.com> wrote:
>>> > at this stage of the game, all I want to have is a general purpose home
>>> > server, no special graphics requirement (don't even need X), ssh access
>>> > is
>>> > sufficient. somehow, I would like to have easier path (not compiling
>>> > uboot,
>>> > kernel and remaking rootfs). in short, download workable image and don't
>>> > have to care if it runs on wandboard (or cubieboard/pi/X86).
>>> >
>>> > anyway, any suggestions? links?
>>>
>>> So you don't want to build anything, well just use my NetInstall script:
>>>
>> AWESOME! How hard would it be for me to add fedora support to this?
>
> Well this script takes full advantage of the "debian-installer" which
> both Ubuntu/Debian infrastructure use by default.
>

Hmm, so it 'installs' to the image?

>
> Another option, might be forking the fedora-installer:
> https://github.com/fossjon/Seneca

I actually used livemedia-modifier, but even that did not really help much.

I will have to look in to Seneca a bit more. It looks like moji may
be the way to go.

>
> Regards,
>
> --
> Robert Nelson
> http://www.rcn-ee.com/
>

Thanks,
Mike
> --
> You received this message because you are subscribed to a topic in the Google Groups "Wandboard" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/wandboard/GhLGCan_0pQ/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to wandboard+...@googlegroups.com.

Matthias Runge

unread,
Sep 5, 2013, 4:47:21 AM9/5/13
to wand...@googlegroups.com
I'm not sure if rebuilding is really required, since Fedora kernels
already have wandboard support and yesterday, I had luck (once)
booting a minimal image from here:
http://koji.fedoraproject.org/koji/tasks?state=all&view=tree&method=appliance&order=-id

(after dd'ing it to sdcard, dd'ing a u-boot.imx and creating an extlinux.conf )
Sadly, booting stucks often even before "uncompressing kernel".
Matthias

2013/9/5 Mike Panetta <panett...@gmail.com>:
> You received this message because you are subscribed to the Google Groups "Wandboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to wandboard+...@googlegroups.com.

Mariano Cividino

unread,
Dec 6, 2013, 11:51:51 AM12/6/13
to wand...@googlegroups.com
Here:
http://home.cividino.net/mini-pc/wandboard/20131206_debian_minimal/20131206_wandbd_quad_debian_wheezy_minimal.img.bz2

It is a 8 GB SD card image. You need to use Win32DiskImager.

User/Pass: root/root - debian/debian

It has ssh enabled. Minimal debian installation.

Regards.

Ian Kolsteren

unread,
Apr 19, 2014, 8:44:42 AM4/19/14
to wand...@googlegroups.com
I tried this image.  It booted - my keyboard won't work and I can't seem to see it on my network.
Is it set for DHCP?
Reply all
Reply to author
Forward
0 new messages