FatdogArm [CLOSED]

Puppy related raves and general interest that doesn't fit anywhere else
Message
Author
User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#16 Post by mavrothal »

jamesbond wrote:My busybox is from git July 2013; patched with guess_fstype applet patch you can find from the Programming thread (from Ibidem);
I guess you are referring to the guess_fs applet.
If so do you also link guess_fstype to guess_fs for the puppy init to work or you change the init?
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#17 Post by jamesbond »

Mav,

I don't do either, in fact I changed the patch to rename the applet to guess_fstype; the patches are attached.

This is the version of busybox that I use as the base for these patches; http://git.busybox.net/busybox/tree/?id ... 73eab27e1c ; they have moved on quite a bit after that (e.g the fixed the awk bug; they also included f2fs detection now, etc).

cheers!
Attachments
bb-1.22-guess_fstype-applet.patch.gz
guess-fstype applet patch
(2.89 KiB) Downloaded 576 times
bb-1.22-awk-bug.patch.gz
fix function with empty body
(318 Bytes) Downloaded 600 times
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#18 Post by mavrothal »

jamesbond wrote:Mav,

I don't do either, in fact I changed the patch to rename the applet to guess_fstype; the patches are attached.

This is the version of busybox that I use as the base for these patches; http://git.busybox.net/busybox/tree/?id ... 73eab27e1c ; they have moved on quite a bit after that (e.g the fixed the awk bug; they also included f2fs detection now, etc).

cheers!
Ah, OK.
You have to try to upstream it. With the current HEAD fails badly without it you miss the improvements.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#19 Post by jamesbond »

mavrothal wrote:Ah, OK.
You have to try to upstream it. With the current HEAD fails badly without it you miss the improvements.
Okay, Ibidem said the same thing too. I suppose I should do that :)
I just tried to apply the guess_fstype patch to the latest busybox-git, it works --- all you need to do is take the "guess_fstype.c" diff itself, and delete the rest of the (now obsolete) diffs. Busybox built cleanly and I've got the guess_fstype applet working.
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#20 Post by jamesbond »

Ted Dog wrote:Got me thinking, you could solve the need of a keyboard / mouse pad if we could get the Mele remote control to function as the OneSwitch (it software has a onscreen keyboard and mouse 'radar') controlled by a single button.
I can confirm now that Mele's remote works as "keyboard" as far as the OS is concerned. The module to load is sun4ir (the name may change, linux-sunxi team is currently restructuring a lot of the kernel stuff). Once loaded, anything you press on the remote will show up as a key ("t", "3", etc) - including the directional arrows. So it's a matter of mapping the scancodes to keycodes using udev rules (keymap) and with the right software to intercept the input, it should be possible to use it for OneSwitch application that you're building.

cheers!
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

User avatar
Ted Dog
Posts: 3965
Joined: Wed 14 Sep 2005, 02:35
Location: Heart of Texas

#21 Post by Ted Dog »

Nice to confirm, now looking into text to speech software that would run on 32bit, 64bit and ARM. That would make the mele1000A the lowest cost entry to provide speech for extremely disabled and a way to get online. That the remote acts like a keyboard solves the remote oneClick idea for people with Cerebral palsy, cords like the oneSwitch uses causes entanglement issues.
Also My Mele1000A runs off of 5v 2A iPhone rechargeable charger, how did you get yours 'battery powered?'

User avatar
Ted Dog
Posts: 3965
Joined: Wed 14 Sep 2005, 02:35
Location: Heart of Texas

#22 Post by Ted Dog »

Which version of Aboriginal ARM is used for Mele ? also did you get distccd working with fatdog? If so could you add that host setup into dev.sfs next FD release, its small but VERY useful, I've used it before but am stuck in integrating it with FD.

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#23 Post by jamesbond »

More teasers. All screenshot taken from Mele connected to HDMI TV.
Of course, this post is posted from Seamonkey running in the Mele itself :)
Ted Dog wrote:Nice to confirm, now looking into text to speech software that would run on 32bit, 64bit and ARM.
I think espeak can do that. Its output quality is not the best but decent enough (you can understand 90% of what it says) and its small.
That the remote acts like a keyboard solves the remote oneClick idea for people with Cerebral palsy, cords like the oneSwitch uses causes entanglement issues.
Yup, all you need is app like sven or xbindkeys.
Also My Mele1000A runs off of 5v 2A iPhone rechargeable charger, how did you get yours 'battery powered?'
I still use the original power supply which is rated 5v 2A too.
The tablet that I put as teaser screenshot runs off 4000mAh battery - I didn't test how long it would last.
Ted Dog wrote:Which version of Aboriginal ARM is used for Mele ?
I used Aboriginal only to bootstrap the development process - to get the static busybox for initrd and then to get the native compiler going; from then on it's my own toolchain (adapted from LFS 7.1). I used Aboriginal ARMv6 version 1.2.4 for that purpose (the cross-compiler to build the static busybox, and the native compiler to build my own toolchain). See the details in my blog/wiki.
also did you get distccd working with fatdog?
I haven't tried that, it's on my TODO list because native compiling is oh so slow ... 18 hours to get Seamonkey built :) But isn't Aboriginal supposed to help you to do that?
Attachments
console.jpg
Boot to console, memory consumption is 13 MB.
(63.15 KiB) Downloaded 904 times
mounts.jpg
List of mounts - showing frugal install in operation (root / is mounted as aufs)
(62.86 KiB) Downloaded 825 times
xorg.jpg
Boot into Xorg, running one urxvt terminal, memory consumption: 79MB
(115.38 KiB) Downloaded 902 times
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

User avatar
Ted Dog
Posts: 3965
Joined: Wed 14 Sep 2005, 02:35
Location: Heart of Texas

#24 Post by Ted Dog »

When you get distccd setup you will be kicking yourself for not doing it earlier.

The last job I worked major linux based software company, all the computers ran distccd as hosts after work hours and rebuilt company's software overnight using the dozens of basic office PCs. Aboriginal linux has one machine setup. But distccd can run compile jobs on many hosts at the same time its only a few hundred K. But requires some tinkering with local netnames and making sure the originating compiler is enabled, as well as the many hosts. There was a distccd liveCD used in the past that made this easy but is out of date. :cry:

User avatar
Ted Dog
Posts: 3965
Joined: Wed 14 Sep 2005, 02:35
Location: Heart of Texas

#25 Post by Ted Dog »

current well written Setup

https://wiki.gentoo.org/wiki/Distcc

and how to setup a cross compile.

https://wiki.gentoo.org/wiki/Distcc/Cross-Compiling

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#26 Post by jamesbond »

Ted Dog, you definitely know a lot more than what you let out :)

Anyway I though Aboriginal is a way to automate distcc installation too? It comes with matching native- and cross-compilers; a root filesystem that is distcc-ready; so all you need is configuration on the host end, either one or many. I have never used Aboriginal in this configuration (yet) so that's as far as I can say. The main problem with Aboriginal is that it's toolchain is dated (gcc 4.2.1) and many newer software (especially ARM) requires gcc 4.4 at least.

cheers!
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

User avatar
Ted Dog
Posts: 3965
Joined: Wed 14 Sep 2005, 02:35
Location: Heart of Texas

#27 Post by Ted Dog »

Yes, I wish I could share more, but I have ADHD or whatever version a physically inactive handicapped person would have. So, many unfinished projects and websites not even related to computers.. :oops:

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

FatDog ARM on XO-4

#28 Post by mavrothal »

Here is a teaser of my own.
Jamesbond's (pre)alpha build of FatDog-ARM running on the XO-4 OLPC laptop (with a modified kernel and initrd).
Needs some work (a lot of) work in the interphase, WiFi, clock, suspend etc, but is a good start.
Thanks jamesbond!
Attachments
XO-4_ARMedDog.jpg
FatDog-ARM on XO-4
(165.11 KiB) Downloaded 838 times
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#29 Post by jamesbond »

Image
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

User avatar
Ted Dog
Posts: 3965
Joined: Wed 14 Sep 2005, 02:35
Location: Heart of Texas

#30 Post by Ted Dog »

Hey wait how did he get a copy of the pre-Alpha.... JB! :cry: I promise to not be too judgmental just want to compile the different speech engines before committing to one package...

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#31 Post by jamesbond »

No worries I have now released FatdogArm alpha, see here: http://murga-linux.com/puppy/viewtopic. ... 700#721700.

Let's continue the discussion over there as it is now a real distribution and not a teaser anymore :)

cheers!
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

Post Reply