Puppy running on Mele A1000!

Yes! Here is the very first screen-shot, to prove it:



This is built from Ubuntu Lucid Lynx armel binary packages, plus an assortment of PETs that I compiled (see recent blog posts).

Two things that are broken, that I am aware of:

1. urxvt
At first I used the 'urxvt-lite' DEB, but it complained could not find a font and aborted. Then I compiled my own rxvt-unicode, but that reported that it cannot "initialize pseudo-tty" and aborted.

2. jwm tray
Jwm is running, but not the tray. Probably the .jwmrc file is broken.

These will be fixed, for sure. But I thought that I would announce this significant event.

The way that I intend to distribute this (when get to releasing it), is as an SD card image. Compressed, it will be quite small.

Creating an SD image from scratch is rather difficult, so I have taken the easy way out. If you look here:
http://distro.ibiblio.org/quirky/arm/sd-skeleton-images/

...the Woof '1download' script will download the one you want. These skeleton images are intended to be for whatever ARM board you want to build for, you choose the appropriate one.

Then, the '3builddistro' script only has to add the kernel and Puppy files to the SD card, and it is all ready to go.

Apart from the above bugs, a bit of coding to do in Woof, but I hope to have something released very soon.


Posted on 2 May 2012, 18:20


Comments:

Posted on 2 May 2012, 19:10 by lobster
Bravo
Good news.
I had a go at compiling some of the ARM 6 pets on the Raspberry Pi. Will again. I find it rather overwhelming. Simple in theory but . . .

Major achievement. Bravo!



Posted on 2 May 2012, 20:19 by Jota
Monitor resolution?
Great!!

Does it use the full native monitor resolution?




Posted on 2 May 2012, 20:39 by maxerro
Congrats!
Some guess-fixes since I can't extract (or mount) .img on this machine currently:

1. ~/.Xdefaults:
urxvt.font: xft:Nimbus Mono L:style=Regular:pixelsize=14
!urxvt.font: x:7x14,xft:mono
(or URxvt.font: ... compile-dependent)

2. Minimal task&dock tray for jwm (~/.jwmrc-tray):
<JWM><Tray y="-1" height="32"><TaskList/><Dock/></Tray></JWM>


Posted on 2 May 2012, 21:33 by Adi
monitor or tv?
Monitor resolution?
I think that a tv resolution is in question... What is more suitable for this kind of platforms monitors or tvs? It will be nice to have a computer with 25 $! Waitning for puppy tablets.


Posted on 2 May 2012, 22:19 by Raffy
My my
My, oh my, Puppy finds a new home - a Set Top Box.

Thanks for the hard work, Barry. :)


Posted on 2 May 2012, 22:51 by Ted Dog
Img Size
What sized SD card would we need for Mele Pup-Droid, have a 1G card for my camera, and a 4G card on order?
This is just wow!


Posted on 2 May 2012, 24:33 by pakt
Well done!
Been looking forward to this moment as a long-time fan of low power computing. Well done Barry!


Posted on 3 May 2012, 3:47 by Dougal
urxvt Problem
Barry, I think you don't have /dev/pts mounted... (u)rxvt is old and thus depends on those PseudoTerminalSlaves.

Besides that, linux.com has something about Yocto and apparently you can use it to build a distro even if you don't have the HW, as they have an ARM emulator:
https://www.linux.com/news/embedded-mobile/mobile-linux/571345-getting-started-with-yoctos-12-release
(that might be better than trying a T2 build... and you can build on a desktop machine, which might be faster.)


Posted on 3 May 2012, 7:04 by BarryK
More news
urxvt
Dougal,
The /dev/pts directory did not exist, so it failed to mount.
I am using the kernel that Tom provided, so it is not "puppified". At bootup, a f.s. gets mounted on /dev/, which wipes out my static entries in /dev -- is it the kernel config that sets that?

I created directory /dev/pts, rebooted and urxvt worked.

Bootup
Not accurately timed, I justed counted up, time from pressing power-on button to desktop loaded is about 18 seconds. Pretty good hey!

Gtkdialog
I have just noticed another bug. Running gtkdialog based apps, the widgets render "reverse order". What I mean, is the reverse order vertically and horizontally. So, an OK button that would normally render bottom-right of a window, now renders top-left.
It makes the windows look weird. Any ideas?
Note, Lucid has GTK 2.20.0.

Resolution
A currently limitation with the kernel video driver is it is 720p only. So Puppy is displaying at 1280x720.
Also, we don't have a GPU X driver yet, only running the framebuffer X driver.

TV/monitor
I am using a TV, HDMI. The Mele has both HDMI and VGA outputs, but I don't know if the VGA is working yet.



Posted on 3 May 2012, 19:16 by BarryK
SATA hard drive
Today I purchased a SATA laptop (2.5 inch) hard drive, WD 500GB. I bought it locally, from a place called NetPlus, for AU $89.

Raffy very kindly offered to buy me one online, however, the local price is very good, so I went and bought it. Anyway, Raffy, thanks for the kind thought!

This is now a reasonable compile environment. Only 512MB RAM, but with a swap partition on the HD that will give acceptable performance.



Posted on 4 May 2012, 2:02 by Steev
Changing resolution
I am able to change the default output device and resolution by editing my device's sys_config1.fex.

e.g. for VGA 1024x768 I use:
screen0_output_type = 4
screen0_output_mode = 4

Or for HDMI 1080p 60Hz:
screen0_output_type = 3
screen0_output_mode = 10

The comments in sys_config1.fex show what these values mean.


;----------------------------------------------------------------------------------
;disp init configuration
;
;screenx_output_type (0:none; 1:lcd; 2:tv; 3:hdmi; 4:vga)
;screenx_output_mode (used for tv/hdmi output, 0:480i 1:576i 2:480p 3:576p 4:720p50 5:720p60 6:1080i50 7:1080i60 8:1080p24 9:1080p50 10:1080p60 11:pal 14:ntsc)
;screenx_output_mode (used for vga output, 0:1680*1050 1:1440*900 2:1360*768 3:1280*1024 4:1024*768 5:800*600 6:640*480 10:1920*1080 11:1280*720)
;----------------------------------------------------------------------------------


After modifying the file, compile it with the 'script' tool and push it to your device. (This guide shows how http://elinux.org/Hack_A10_devices#Get_a_console)


Posted on 4 May 2012, 8:52 by BarryK
Re resolution
Steev,
Thanks for that info.

I have been having a problem with understanding some of the basic concepts, such as when people have referred to "script.bin" on the arm-netbook mail-list.

Documentation is there, but scattered all over the place. The arm-netbook guys are trying to encourage stuff to go into their wiki.

I read something and think that is a useful bit of knowledge, then later on can't find it.
So, I have decided to get myself more organized, and I am now bunging everything I find, with url reference, into my NoteCase database -- this is my personal record of what I do with Puppy Linux, NoteCase is a hierarchical notes organiser, to be found in all puppies.

later on, I will be in a better position to be able to contribute to online docs.



Posted on 7 May 2012, 24:26 by frantisheq
mr
any chance that screen0_output_type = 1 will work? i would like to try it on allwinner based tablet


Posted on 8 May 2012, 20:55 by guiguid
correction
Hi, Barry !

I think there is a typo mistake here : http://distro.ibiblio.org/quirky/arm/sd-skeleton-images/README-MELE-UBUNTU-SD-IMG.txt

-> So the write operation will now be:
-> dd if=/dev/sdb of=mele-ubuntu-lucid-sd4g.img bs=1024 count=3863632

It should be :

-> So the write operation will now be:
-> dd if=mele-ubuntu-lucid-sd4g.img of=/dev/sdb bs=1024 count=3863632

Very nice works !
Is an <1G SCDARD partition + secondary partion size in function of the SD card planned ?



Posted on 25 Jul 2012, 15:01 by diegorov
changing output at runtime
You can do, with a simple program. There are some version at those links:

http://www.people4embedded.com/how-to-create-your-own-debian-ubuntu-image-for-mele-a1000-allwinner-a10-based-stb/

http://tsemsb.blogspot.it/2012/07/enabling-composite-video-on-mele-a1000.html