Apricot R5

1,880 views
Skip to first unread message

Royal Panda

unread,
Jun 4, 2013, 1:45:51 PM6/4/13
to apc-pico-...@googlegroups.com
For all of you that are cursing APC with this crappy Kernel that they released,

Be glad that Mr Prisk is working hard.

So, with this kernel, we could release an Apricot R5 image, based on 3.10 Linux Kernel, with ALL driver we need except the GPU (Thank you WonderMedia).
I am not thinking that Apricot is mine, so if someone wants to do it, then do it. And publish it.

Here is the Kernel of Mr prisk : https://github.com/linux-wmt/linux-vtwm

Panda

Royal Panda

unread,
Jun 26, 2013, 5:02:30 AM6/26/13
to apc-pico-...@googlegroups.com
Hi Community,


Contents : 
  • Very light :
    • No graphics, only console
    • Only net utilities are installed
  • openssh-server
  • Kernel Linux 3.10 from Tony Prisk Github : https://github.com/linux-wmt/linux-vtwm
  • All Drivers that can be found in this kernel are built as modules
  • NFS root is available

It have been made with Multistrap.

The kernel binary can be found at the root of the archive : /uzImage.bin

Only three kernel arguments are needed in order to boot : mem=512M root=/dev/.... rw
with an optional 'rootwait' for removable media.


I'll release some Ready to use Image soon.

Regards,
Panda

Royal Panda

unread,
Jun 26, 2013, 5:45:36 AM6/26/13
to apc-pico-...@googlegroups.com
Some informations :

  • Login : root | password : apricot                ( CHANGE IT !)
  • No other users, you will have to create them



Don't forget to rename it to scriptcmd

Royal Panda

unread,
Jun 26, 2013, 6:23:09 AM6/26/13
to
And the Ready-To-Use image : 



As you noticed, this is an USB image. You need to tweak your APC in order to boot from USB Media. See here

In order to use it on SDCARD, just write the Image on your SDCARD and replace the scriptcmd file.
The good one is just in the post before, http://breizhcloud.eu/depot/Apricot-R5/scriptcmd-MMC, and don't forget to name it scriptcmd (remove the '-MMC' )

Regards,
Panda



Roberto Ramírez

unread,
Jun 26, 2013, 11:41:13 PM6/26/13
to apc-pico-...@googlegroups.com
Thanks!

Yair: You can install Xfce with the following command:

apt-get install xorg lightdm xfce4 xfce4-goodies

Other desktop environments can be installed that way, too.

Royal Panda

unread,
Jun 27, 2013, 3:25:11 AM6/27/13
to apc-pico-...@googlegroups.com
X is crashing the kernel.

This is the same Issue that crash Archlinux.

I'm working on it, but for now that means no Graphic stack.

If someone have the solution...

Regards,
Panda

Royal Panda

unread,
Jun 27, 2013, 8:27:36 AM6/27/13
to apc-pico-...@googlegroups.com
My bad, that is not crashing the kernel...
That is working well instead...
I have a mate session running right now.

I'll publish it in some days.

Panda

Royal Panda

unread,
Jun 27, 2013, 9:35:44 AM6/27/13
to apc-pico-...@googlegroups.com
Here it is, Mate (Gnome fork) graphic Apricot R5.

Wait 20 minutes, I'm still uploading now.


Same as before, login root, password apricot

In qwerty, don't be tricked.

Regards,
Panda

thunderace

unread,
Jun 28, 2013, 8:45:03 AM6/28/13
to apc-pico-...@googlegroups.com
Thx for the good work royal Panda.

The headless version is perfect for me, i'll give it a try this week.

Regards.

Thunder

thunderace

unread,
Jul 1, 2013, 2:44:26 PM7/1/13
to apc-pico-...@googlegroups.com
R5 installed : no problem for now (monit, automount, motion, .
Tomorrow i'll try to put an USB wifi dongle.

To be continued...

Regards

arifnd

unread,
Jul 5, 2013, 2:49:11 AM7/5/13
to apc-pico-...@googlegroups.com
i has try Apricot R5 rootfs but after show apc logo only display white screen

Royal Panda

unread,
Jul 5, 2013, 3:35:27 AM7/5/13
to apc-pico-...@googlegroups.com
@arifnd, are you using HDMI or VGA ? If you are using HDMI, try VGA. If you are using VGA, more debug will be needed. A SSH server is available, try to use it.

Regards,
Panda

arifnd

unread,
Jul 5, 2013, 11:13:38 PM7/5/13
to apc-pico-...@googlegroups.com
but i success try Apricot-R5-Mate-USB.img, its cool :)

Tony Prisk

unread,
Jul 6, 2013, 3:49:39 PM7/6/13
to apc-pico-...@googlegroups.com
Royal Panda,

Good work releasing a working image. Nice to know someone is looking after the end-users.
If you get any feedback regarding missing drivers/features, let me know and I will do my best to get the support added so you release better images.

One question: You say it's based on 3.10 - is that the mainline 3.10 from kernel.org, or the 3.10 testing branch from my github repo?

Regards
Tony P

Royal Panda

unread,
Jul 7, 2013, 6:27:20 AM7/7/13
to apc-pico-...@googlegroups.com
It's based on yours. Without any tweak.

And, as you mentioned it, let me ask you if you wonder integrate the HDMI driver in the Kernel ? And maybe the ALSA Chipset ? I am not sure about this last one, but I think that it's not supported.
And a subsidiary question, not just for you but for every one looking at this post :

Do someone have, or may have, the Mali DDK Sources, or know someone who do (r3p0 if it's not asking too much)?

Regards,
Panda

shogun x

unread,
Jul 12, 2013, 9:20:45 AM7/12/13
to apc-pico-...@googlegroups.com
Hey Tony,

I pulled down your git repo... any chance I could get a .config file?  Make oldconfig does not seem to be doing the trick.

Thanx,
Scott

Royal Panda

unread,
Jul 13, 2013, 3:07:09 PM7/13/13
to apc-pico-...@googlegroups.com
I don't have the .config I used for the R5, but you can have it in /proc/config.gz

But a good start would be wiki of T.P. github : https://github.com/linux-wmt/linux-vtwm/wiki/Build-the-source
That let you know what you have to include.

Regards,
Panda

Dan Hockey

unread,
Sep 8, 2013, 4:44:28 PM9/8/13
to apc-pico-...@googlegroups.com
I'm using R5 mate on a 32gb sdcard and I'm getting a blank black screen on the hdmi port. I can ssh in and updated everything but still no hdmi video.

Royal Panda

unread,
Sep 10, 2013, 6:08:32 AM9/10/13
to apc-pico-...@googlegroups.com
Hi,

As mentioned in some post before, HDMI is not supported in R5.

Regards,
Panda

Diego Diez

unread,
Apr 3, 2014, 1:39:37 PM4/3/14
to apc-pico-...@googlegroups.com
Hello,

Mr. Royal Panda, I really want to thank you for the
hard work you have done. I'm using my APC again (I have 2, accumulating dust for over a year),
and you are one of the few that made this piece of hardware something useful.

That's a shame for VIA, I feel completly dissapointed with his support for this product.

I'm using the Apricot R5 release with MATE.

It boots flawlessly in headless mode. I updated the system. I didn't test the GUI yet, but I plan to do it.

I want to use one APC.IO in my workshop as a limited web browser (in order to reduce my procrastination) and as an audio player via MPD.

I installed mpd, and alsa-utils, but ALSA didn't discover any soundcard.

I tried with a external DAC  (an XMOS receiver  with a SABRE9023 DAC),
once plugged, an lsusb command enumerates this device, but ALSA keeps saying that there
is no soundcard available.

Can you lend me a hand here with a pointer towards what I need to do/research/play ?

Thanks in advance, sorry for my english, Diego.

Steve Zingman

unread,
Mar 26, 2015, 4:00:45 PM3/26/15
to apc-pico-...@googlegroups.com
Not sure if anybody is still playing with the APC 8750...

Thanks to to work of Mr. Prisk and Royal Panda, I've been able to build a
newer kernel. Linux apricot 3.13.0-rc8+ #1 Wed Mar 25 10:55:51 EDT 2015 armv6l GNU/Linux
I started with Panda's R5 image and replaced the uzImage.bin and scriptcmd in /boot.

The script to build the kernel, .config and some notes are at:
https://github.com/N4IRS/AllStar/tree/master/platforms/wm8750-apc8750

As of now, It's running. For the project it's intended to run, I need OSS and /dev/dsp.
Which are not working yet. More fun to come.

Steve N4IRS

Roberto

unread,
Mar 26, 2015, 9:32:18 PM3/26/15
to apc-pico-...@googlegroups.com
I'm still using it. Thanks for your notes.

Steve Zingman

unread,
Mar 26, 2015, 11:02:24 PM3/26/15
to apc-pico-...@googlegroups.com
No problem.
I just built a basic Wheezy image using debootstrap.
Still lots of work to do, but it's functional.

Steve N4IRS

Gergely Imreh

unread,
Mar 31, 2015, 5:14:34 AM3/31/15
to apc-pico-...@googlegroups.com
Hi Steve,

Thanks for the update!

I could not download Royal Panda's image, so took a look at doing it from scratch. I'm using Buildroot to compile the kernel, as it does not really have any requirements on the host system, it creates all the toolchain itself. http://buildroot.uclibc.org/

Looks like the linux-vtwm kernel that you are using is good compiled with the defconfig (vt8500_v6_v7_defconfig), so didn't need to add any extra kernel config. For Buildroot here's the minimal defconfig I could come up with is here: https://github.com/viaembedded/buildroot/blob/333d19d4827932bde97c843df558816cd43d1cb4/configs/via_apc8750_defconfig

This will compile an uImage and a very basic rootfs based on busybox (but that's can be switched off if you already do debootstrap or another rootfs). Just been playing with it the last two days running it all over nfs (load both the kernel and the rootfs over the network), works pretty decent.

Might be able to use newer, upstream kernel too, except that the upstream device tree is missing some parts compared to the linux-vtwm code (notably the ethernet device). That needs some more work as well.

Cheers,
   Greg

Steve Zingman

unread,
Mar 31, 2015, 9:46:15 AM3/31/15
to apc-pico-...@googlegroups.com
Greg,
That is great stuff! I've used buildroot before, but it was x86 host to a x86 target. If nothing else, I'll use buildroot on my x86 build maching and use debootstrap for the rootfs.
My single interest here is a recent kernel with headers so I can compile dahdi and a older version of asterisk for use in a ham radio project. Don't need HDMI VGA or much else.
Just ssh and MUST have OSS support. If nothing else, I'm learning a lot and having fune.

Thanks, Steve  

clemen...@free.fr

unread,
Mar 31, 2015, 1:13:04 PM3/31/15
to Steve Zingman, apc-pico-...@googlegroups.com
Hi all of you.

Just to be sure everybody is aware, any stuff tony prisk's did is now in the current official kernel release.
So you can directly use the last kernel release. Or any other.

Regards,
Clément

----- Mail original -----
De: "Steve Zingman" <szin...@gmail.com>
À: apc-pico-...@googlegroups.com
Envoyé: Mardi 31 Mars 2015 15:46:15
Objet: Re: Apricot R5
--
You received this message because you are subscribed to the Google Groups "APC pico itx boards - hard and software" group.
To unsubscribe from this group and stop receiving emails from it, send an email to apc-pico-itx-bo...@googlegroups.com .
For more options, visit https://groups.google.com/d/optout .

Gergely Imreh

unread,
Mar 31, 2015, 11:40:54 PM3/31/15
to clemen...@free.fr, Steve Zingman, apc-pico-...@googlegroups.com
Hi Clement,

I really wish that too, though it's unfortunately not the case. As I've checked, for the wm8750 device tree there are a couple of clock sources and the ethernet device missing in the upstream kernel.

As an example, here's Tony's current testing kernel, the device tree with ethernet:
Here's the same part of the device tree upstream:

Please let me know if I have missed something!

This was discussed on the linux-vtwm mailing list as well (this thread: https://groups.google.com/forum/#!topic/vt8500-wm8505-linux-kernel/ExU3vsS7Bhs ) and checking out now to actually upstream all of Tony's changes, so that any kernel could be used.

Cheers,
   Greg

clemen...@free.fr

unread,
Apr 1, 2015, 1:29:09 PM4/1/15
to Gergely Imreh, Steve Zingman, apc-pico-...@googlegroups.com
My bad,

I was more than one year late :)

Regards,
Clément

----- Mail original -----
De: "Gergely Imreh" <imr...@gmail.com>
À: clemen...@free.fr
Cc: "Steve Zingman" <szin...@gmail.com>, apc-pico-...@googlegroups.com
Envoyé: Mercredi 1 Avril 2015 05:40:33
Objet: Re: Apricot R5

Royal Panda

unread,
Apr 3, 2015, 10:28:24 AM4/3/15
to Steve Zingman, apc-pico-...@googlegroups.com

William Henning

unread,
Jun 12, 2015, 7:36:10 PM6/12/15
to apc-pico-...@googlegroups.com, szin...@gmail.com
I've been cleaning up my lab and unearthed three 8750's and two Rocks, so I'd love to see some working Wheezy images for them.

Steve Zingman

unread,
Jun 14, 2015, 8:20:16 AM6/14/15
to apc-pico-...@googlegroups.com, szin...@gmail.com
Here is a Jessie Image I used for a project using the 8750. Sorry I did not have time to resize it for upload.


Steve
Message has been deleted

William Henning

unread,
Jun 14, 2015, 2:42:56 PM6/14/15
to apc-pico-...@googlegroups.com
Thank you!

I am downloading the uncompressed image, looks like you pasted the wrong link for the tar...

On Sunday, June 14, 2015 at 6:06:31 AM UTC-7, Steve Zingman wrote:

Steve Zingman

unread,
Jun 14, 2015, 4:46:06 PM6/14/15
to apc-pico-...@googlegroups.com

Roberto

unread,
Jun 15, 2015, 12:26:02 AM6/15/15
to apc-pico-...@googlegroups.com
Thanks for the image!

I've been scavenging images for this thing for a while, but what I'd really like is to know how to make them. I'm afraid some day people would just stop caring. So would someone here mind pointing me out to information on how to make them, please? I'm familiar with programming and computing in general, but I have zero knowledge on building the linux kernel. Let alone building a distribution.

Any help is appreciated.
Message has been deleted

Steve Zingman

unread,
Jun 15, 2015, 9:22:26 AM6/15/15
to apc-pico-...@googlegroups.com
Here are the basic notes I use to build the image.
This does not cover the content needed for the image.
I'll find the notes for that.


Build the image .img to write to a sd card.

aptitude install multipath-tools

Create a empty image file
dd if=/dev/zero of=./disk.img bs=1 count=0 seek=6000M

Next, create 2 primary partitions using fdisk disk.img; one is FAT32 and other is EXT4

Now, format both partitions in order to create file-systems to be mounted.

kpartx -a disk.img   #it maps (mounts) found partitions to /dev/mapper/loop...
mkfs.vfat -F 32 -n boot /dev/mapper/loop0p1
mkfs.ext4 -L root /dev/mapper/loop0p2

Now, mount the empty partitions so we can fill them with "stuff"
mkdir -p /mnt/boot
mkdir -p /mnt/root

mount  /dev/mapper/loop0p1 /mnt/boot
mount  /dev/mapper/loop0p2 /mnt/root

cp boot_stuff /mnt/boot
cp root_stuff /mnt/root

umount /dev/mapper/loop0p1
umount /dev/mapper/loop0p2

kpartx -d disk.img

disk.img is ready to be written to a sd card.


William Henning

unread,
Jun 16, 2015, 12:44:18 PM6/16/15
to apc-pico-...@googlegroups.com
Thank you!

William Henning

unread,
Jun 16, 2015, 12:46:33 PM6/16/15
to apc-pico-...@googlegroups.com
And another thank you!

Roberto

unread,
Jun 16, 2015, 10:00:06 PM6/16/15
to apc-pico-...@googlegroups.com
Thanks!

arifnd

unread,
Sep 22, 2015, 6:35:31 AM9/22/15
to APC pico itx boards - hard and software


Pada Senin, 15 Juni 2015 03.46.06 UTC+7, Steve Zingman menulis:

Thanks, for Wheezy images. I can compile linux driver for TL-WN725N Wireless USB Adapter.
But i have problem for root password 
Reply all
Reply to author
Forward
0 new messages