FatdogArm Alpha [CLOSED]

A home for all kinds of Puppy related projects
Message
Author
User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#16 Post by mavrothal »

jamesbond wrote: All the "X protocolor header" files (xproto, damageproto, etc) are removed to reduce size; you can install all of them back like this:

Code: Select all

slapt-get --available | sed '/proto-/!d; s/ .*//' | xargs slapt-get -i --no-dep
< snip>
Are you still running the pre-alpha?
<snip>
Autoconf, automake, m4, flex and bison is in the repository
<snip>
EDIT: ethtool, evtest and dhcpcd is now in the repository.
OK... :D
I have wifi (though the applet shows it as disconnected-picture), the battery monitor compiled fine with the hearders (and the same command), I almost have PM now (still missing ifplugstatus - not in the repo :wink: ), if I also tame the clock and had battery :o it would be good :wink:

Later: Tamed the clock.
In rc.sysinit replace with "hwclock --systohc --noadjfile --utc"
BTW there is no timezone setup utility
Attachments
screen.jpeg
XO-4 running fd-arm_alpha
(60.03 KiB) Downloaded 2154 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

#17 Post by jamesbond »

01micko wrote:Ok, so I have qemu up and running.. little help getting it to boot fatdog-arm? (Could be to the project's benefit in the long run :wink: )
Yes, of course. Here you go Mick, ready to run, just need to add water (oops ... I mean, qemu).
nancy reagan wrote:Hans de Goede (dutch name, like mine) made a Fedora remix for a10/a20 several boards (amongst which cb2 mele A100's etc.; what struck me that I see little talk about his work ) http://www.cnx-software.com/2013/07/22/ ... -a20-socs/
Ah at least he is well supported by RedHat!
Forinti, end of post below, stated he got mali running on his cubieboard2.
http://www.cubieforums.com/index.php/topic,520.0.html
Good progress !
Nancy herself ordered a

http://dx.com/p/jesurun-a19-dual-core-a ... -av-215515

because she thought she could run linux on it right from the start ... not
As is the case for all new devices, we have to wait a while before Linux goes to support it. But you can rest assured that once supported, Linux will run very well on it :)
The specs looks similar to Mele M5 that one can find at Cubieshop (at similar price too).
Recently, through a typo, I bumped upon an Italian page where I read that the Fedora would run on the Jesurun a19

Yesterday I finally managed to copy an image, choosing CB2 (?? hoping to being almost identical to mine), and, of all wonders, off she went ...
Yes it is quite similar, and I'm glad that it actually means there is kernel for sun7i (A20).

-----

Mav, congrats!
I don't know why the --noadjfile fix it - it shouldn't matter. But if works, then it's all the better. Anyway I'll see where I can find ifplugstatus (I think it is part of net-tools or something). Can't you emulate its function by using ethtool?
BTW there is no timezone setup utility
You will need to look a little harder (see attachment) :)
Now I'm not sure it works, but it is definitely there :)

cheers!
Attachments
set-time-zone.png
(94.15 KiB) Downloaded 2167 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
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#18 Post by 01micko »

Posting from Fatdog-Arm in qemu now :)

Only problem with the brilliant HOWTO is probably a local one, (I hope not PEBKAC) :P

In woof built pups losetup is losetup-FULL, yeah how BK designed it, he has his reasons. That isn't the issue though. In GParted or with mke2fs I get an error that /dev/loop4p2 (the extra partition made) isn't found. Anyway, it's sitting there as unpartitioned space and I'll see if FD-A will allow me to make a save file there. It wont allow me to extend the FAT partition either.

Other than that, network was easy as too sound 8)

Cheers!
Attachments
fdarm.jpg
(95.76 KiB) Downloaded 2150 times
Puppy Linux Blog - contact me for access

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

#19 Post by mavrothal »

jamesbond wrote: I don't know why the --noadjfile fix it - it shouldn't matter. But if works, then it's all the better. Anyway I'll see where I can find ifplugstatus (I think it is part of net-tools or something). Can't you emulate its function by using ethtool?
noadjfile is more of a precaution in case /dev/rtc is not ready.
The crustal part is changing hctosys to systohc (XO has both rtc and rtc battery :wink: )
ifplugstatus is used bothe by net-setup.sh and PM utilities to check the status of the connection. Mayby that is why the network monitor shows always as disconnected, too.
jamesbond wrote:
BTW there is no timezone setup utility
You will need to look a little harder (see attachment) :)
Now I'm not sure it works, but it is definitely there :)
:oops:
(my only defense is that I was looking for a clock-related icon)
== [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] ==

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#20 Post by 01micko »

Ever the tweaker I looked for a quick and dirty way to solve my qemu problem (never mind that I probably could have fixed it from within FatdogArm itself :roll: .. legacy of too much windows server and java... just completed major assignments).

So... I created a file inside the dir where all my FatdogArm files are (re the HOWTO on jamesbond's wiki)..

Code: Select all

dd if=/dev/zero of=fatdog.ext4 bs=1024 count=262144
Then I created an ext4 filesystem...

Code: Select all

mkfs.ext4 -q -m 0 -F fatdog.ext4
Then I concatenated that file to the image ( :shock: )..

Code: Select all

cat fatdog.ext4 >> fatdog-arm-alpha.img
Then I did a sanity check with gparted and the relevant commands (to do with losetup-FULL).. looked ok.

Then I booted, set up network and sound, and saved.. hooray! At shut down fatdog saw the mmblck2 and decided it was ok that I could make a (256M) savefile there and the rest went like clock work.

On reboot, sound worked fine but network needed restarting, a script will easy fix that.

Once again thanks Mr Bond.

Cheers
Puppy Linux Blog - contact me for access

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

#21 Post by jamesbond »

That's what I called ingenuity :) Image

For the missing /dev/loop2p1, if you "loop" block device is built as module (unlikely), you need to do "modprobe loop max_part=8" when you load it, or add "options loop max_part=8" to /etc/modprobe.d/loop.conf. If loop is built into the kernel, you need to add "loop.max_part=8" as part of your boot parameter and then reboot so that it takes effect. It should not matter whether you use losetup (=busybox losetup) or losetup-FULL. I actually use busybox losetup but mine is a very recent busybox so it behaves more like the FULL losetup, thus the flags and options (which reminds me - load_sfs.sh is not working now because I haven't created the symlink to losetup-FULL).

Another comment - if you've made an ext4 partition, why don't use you the entire partition (or a directory under it) as a "save directory" instead? It saves one level of indirection. This is how you do it: "savefile=direct:device:mmcblk0p2:/savedir" (and you create "savedir" in that ext4 partition). Of you can even try "savefile=ram:device:mmcblk0p2:/savedir" if you want to use the RAM layer ;)

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]

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

#22 Post by jamesbond »

mavrothal wrote:ifplugstatus is used bothe by net-setup.sh and PM utilities to check the status of the connection. Mayby that is why the network monitor shows always as disconnected, too.
ifplugstatus is now in the repo (under "ifplugd" package).
The network monitor is a fussy, we eliminated it long time ago in Fatdog64 but I don't have any viable replacement yet that's why it's back. I think if we just need to show whether or not a network is connected, we can use "sit" instead (e.g. the freemem.sh is coded using sit instead of the traditional freememapplet binary).
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]

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#23 Post by nooby »

Beagleboard and Raspberry Pie are they too different then for FatdogArm to
easily include that board?

rasp-pie much easier to buy over shelf where I live.
I use Google Search on Puppy Forum
not an ideal solution though

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

#24 Post by jamesbond »

nooby wrote:Beagleboard and Raspberry Pie are they too different then for FatdogArm to easily include that board?
rasp-pie much easier to buy over shelf where I live.
Welcome Nooby. I have been waiting for you to show up :lol:

No, FatdogArm won't run on Raspi simply because it is built for ARMv7 while Raspi is ARMv6 (in fact Debian ARM is all built for ARMv7, someone have to "fork" and built it specially for Raspi --> that's how Raspian came to be).

Beagleboard - well there are a few of them. The older ones probably won't be powerful enough to run FatdogArm (unless you satisfy yourself with command line and lynx browser). The latest Beagleboard --- "BeagleBone Black (BBB)" should be all right. But they are using different SoCs, thus one has to "adopt" or "adapt" FatdogArm to run on it (get a bootloader and a kernel specific for BBB).

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]

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#25 Post by nooby »

Thanks for fast answer.

Yes that is the problem with ARM you have to tailor made
each version due to the CPU being different enough
and the built in graphic modules too being different.
I use Google Search on Puppy Forum
not an ideal solution though

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

boots on Pandora!

#26 Post by 01micko »

Got Fatdog Arm booting on the Pandora :) (600MHz TI omap3 model, 512MB RAM, corrected, had put 1GHz :roll: )

Working
  • boot to desktop
    keyboard (with a bug, usable though)
    sound!
    probably wifi (module is loaded after hacking rc.network, but input is poor so will have to configure from cmdln or does it work as a boot arg? EDIT: nope, need firmware, dmesg error, there are firmware patches in the git repo at pandora)
    touchscreen however it works in reverse! That is, cursor is moving to exact opposite coordinates of stylus placement!
what's not
  • the funny little knobs (nubs? They control cursor in desktop mode)
    USB, well at least not a USB mouse, EDIT: nope no USB, could be firmware?
That's it for now.

Rebooted and successfully made a save file 8)
Attachments
IMG_20130902_215934.jpg
open pandora
(12 KiB) Downloaded 1881 times
Last edited by 01micko on Mon 02 Sep 2013, 21:39, edited 1 time in total.
Puppy Linux Blog - contact me for access

starhawk
Posts: 4906
Joined: Mon 22 Nov 2010, 06:04
Location: Everybody knows this is nowhere...

#27 Post by starhawk »

I know you said (in the old thread) that the CX-01 basically wasn't happening because of a lack of SD slot... what about this "android cloud stick" here -- it's called a T004...

http://www.ebay.com/itm/200913520647

Allwinner A10S
Mali 400 GPU
512 RAM / 4gig ROM
Lets you use an up-to-32gb MicroSD card (dunno if it's bootable tho)
...etc.

us$36.17 is the cost, mostly because it comes by sampan :P I kid, I kid. But it does ship from China.

Can't find any specs or reviews on Google tho -- but that could easily be me.

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

#28 Post by Ted Dog »

Redownloaded img file and WOW booted right up this time, some questions,

Does wifi work, or the dailup (phone with data plan acts like modem)

if so, how or where is the code.


Have a bunch of drives appear nand[a-d,f,g,i] some have lots of space (almost 3Gs) are those usable can I add folders, will it harm Android?

Thanks for the two keyboards included, one looks like what we use in OneSwitch.

Can't wait to compile the speak program


MAYBE I SHOULD REVIEW RELEASE NOTES :oops: SORRY YOU ALREADY ANSWERED THOSE...

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

#29 Post by Ted Dog »

yeah, posting from my mele, copied my wifi conf from fd621, worked like a charm.

found a work-a-round for the HDMI problem, boot without HDMI cable hooked up, then pug in after its been on for a bit.

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#30 Post by 01micko »

Wifi does connect from the kernel param. :)

Just not every time, might be a timing issue, sometimes I get a disassociated message, reason 1 (which actually means no reason!). The first time I got an rfkill error, so I created a device node for it in the initrd, I have no idea if that worked or not! I lean towards not because that node doesn't make it to the running file system.

Good news, html5 video works perfectly, no noticeable lag, but the sound from those videos fails. My sound is working fine from aplay.

I really must fix my input woes, I can't type :, | or _ (colon, pipe, underscore) so that puts many commands out of my reach. And the stylus is like banging my forehead against the screen! I could live at least with fully functioning keyboard, so far no luck finding a valid keymap, maybe debian has something, somewhere. Then at least I can build the omapfb xorg driver.

EDIT: bingo! Found the keymap here.

By the way, there are lots of references to "lib64" in /etc/profile, I think I'll replace those :twisted:
Puppy Linux Blog - contact me for access

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

screen shot

#31 Post by Ted Dog »

Sorry for the noob questions, how do we turn on speeellll checker in seamonkey fatAA, and how about those nice screen captures you'll are posting?

Was able to get 1080p60 working would like to show it off. 8)

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

Re: screen shot

#32 Post by mavrothal »

Ted Dog wrote:how about those nice screen captures you'll are posting?

Code: Select all

fbdump > screen.ppm
== [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] ==

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

#33 Post by Ted Dog »

Thanks, for that and replying to my PM. found out how to add spell checker, now to change the search from UK to US and away from google.
I've been playing with this all day & night, its 5:40am local time may even see the sunrise twice without sleeping, the good place for breakfast tacos (its a TexMex thang, like I can't eat eggs without salsa any more, I have to take salsa packets with me, outside of TX,New Mexico, and south Arizona they do not have it available morning time ) opens in 20 minutes!

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

#34 Post by jamesbond »

01mick wrote:Got Fatdog Arm booting on the Pandora Smile (600MHz TI omap3 model, 512MB RAM)
Mick, wow!!! That's a blazing progress !!! Image
Good news, html5 video works perfectly, no noticeable lag, but the sound from those videos fails. My sound is working fine from aplay.
Probably because when I built seamonkey I haven't compiled the audio codecs yet. I have been trying to build Seamonkey 2.20 --- but boy oh boy oh boy 5 tries later and the !@#$$% thing still failed to link for lack of memory. If only I have 1GB on my Mele ...
By the way, there are lots of references to "lib64" in /etc/profile, I think I'll replace those
Yes, I notice that too, and they are already done in alpha2 (not yet uploaded). Any more things ? :twisted:
starhawk wrote: it's called a T004
This looks good. The fact it is A10-based and has an SD Card means that it will definitely bootable, and the spec isn't bad too. For FatdogArm to boot on it we only need to find the appropriate "script.bin" for it, which should be easy (if it is already rooted).
Ted Dog wrote:Redownloaded img file and WOW booted right up this time
Congrats, glad you make it to work!
Does wifi work, or the dailup (phone with data plan acts like modem)
I don't haven't included dial-up code yet, missing pppd and wvdial and the scripts, perhaps modeswitch too. I need feedback whether it is useful to include these, as I don't have any hardware to test them.
Have a bunch of drives appear nand[a-d,f,g,i] some have lots of space (almost 3Gs) are those usable can I add folders, will it harm Android?
They are the internal NAND flash for your Mele; some contains boot loaders, kernel, android recovery partition, android OS, android data ... feel free to explore and look inside, but don't change unless you know what you're doing. The "data" partition (the one with the largest freespace) is probably safe to use - but if you Mele doesn't boot Android anymore don't come to me ... :)
how do we turn on speeellll checker in seamonkey fatAA
Seamonkey, when compiled with locale *other than en_US*, will not have spell-checker built-in. I discovered it way too late but I wasn't going to re-compile it again when each compile was an 18-hour stint on the Mele. On next seamonkey build I will do it using default en_US locale and then everyone can localise using the langpacks.
I've been playing with this all day & night, its 5:40am local time may even see the sunrise twice without sleeping
Take care Ted, you don't want to fall ill because of this :) But I'm glad that you like it.

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
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#35 Post by mavrothal »

jamesbond wrote:
Good news, html5 video works perfectly, no noticeable lag, but the sound from those videos fails. My sound is working fine from aplay.
Probably because when I built seamonkey I haven't compiled the audio codecs yet.
On the XO-4 WebM/HTML5 video from youtube plays and sounds fine.
Interesting in the official Fedora build and Firefox the same video is like a "slide show". I do not know if it is the gtk3 overhead or somehing else but the difference is striking :D
jamesbond wrote:
Does wifi work, or the dailup (phone with data plan acts like modem)
I don't haven't included dial-up code yet, missing pppd and wvdial and the scripts, perhaps modeswitch too. I need feedback whether it is useful to include these, as I don't have any hardware to test them.
Talking about wifi, a connection manager if some short that will not need hard coding and auto connects would be a nice addition. net-setup.sh is almost doing it (no auto connect on boot) but is pretty cumbersome.
== [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] ==

Post Reply