FatdogArm Alpha [CLOSED]

A home for all kinds of Puppy related projects
Message
Author
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] ==

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

#36 Post by jamesbond »

mavrothal wrote: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
I think you fare a lot better than mine (perhaps the dual core helps). Here youtube Webm plays, not quite like slideshow but definitely not watchable. And there is no sound - doesn't matter whether I choose HDMI or audio-out jack (both are fine when I tested with speaker-test).

Mick's shed video suffers the same fate. Interestingly if I downloaded the shed video and played it wifh xine, it played well even in fullscreen (with sound).
jamesbond wrote: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.
Agree, I have incorporated tinycore's wifi.sh for easy wireless setup and autoconnect at next boot. I have also included ifplugstatus in the main SFS, if it detects that eth0 is plugged it will automatically connect it through udhcpc. Anything more complicated than that (static IP etc) will still require manual configuration at the moment.

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

#37 Post by Ted Dog »

Yep still playing with this during waking hours, I have the mele1000 hooked into my main HDMI HDTV and with my remote keyboard touchpad controller that also doubles as a TV remote can control everything (got HDTV and DishNetwork on one side) and keyboard/touchpad on the other side. Sometime while deciding to bathe or just drive up to window for my breakfast tacos, I fell asleep,
Awoke in the late afternoon making breakfast tacos choice moot. Ended up bathing then going to Sonic, which luckily had a 1/2 price all day sale on 'anglo style' breakfast taco (called a breakfast burrito, by the Sonic menu, but same-old-same) The person who made them folded them correctly so the goodies inside does not plop out, which is how they fold them for breakfast tacos here, not like the sloppy mess they show on the sonic menu. I feel sorry for the rest of the country if made like the menu, half the inside would be dropping out the other side. :P

OK, sorry about that diversion, back to FatARM

Tried to get the sata harddrive to be shown like the icons for USB but nothing ever appears, I understand they patched that a year ago for MeLe 1000 soI was shocked it was not supported.

Also here is my boot string, I saw that other ideas where given before, is there a setting to not have a multisession loaded into memory, but remain loopmounted on the SD second part. I'm eating up memory fast and never had to worry about it due to the max RAM I install in my other hardware. What changes do I need to do?

Code: Select all

console=tty0
kernel=uImage
initrd=uInitrd
loglevel=3
audio=hdmi.audio=EDID:0
video=disp.screen0_output_mode=EDID:1280x720p60
#root=/dev/mmcblk0p2
#rootwait=rootwait
rootwait=waitdev=3
panicargs=panic=10
#coldplug=
basesfs=basesfs=local
savefile=savefile=direct:multi:mmcblk0p2
extras=sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_no_mali_mem_reserve sunxi_fb_mem_reserve=8

Yes I dropped back to 1280x720 to much eye strain with the top HD setting, plus need all the RAM. Not sure if changing the last number to 16 used a bunch.

Good work, miss my solitaire game, wonder if it would compile easily for ARM.
also while snooping in the NAND I found dialup and modeswitch tools, wonder if they can just be 'borrowed' back from android.

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

#38 Post by jamesbond »

Ted Dog wrote:I feel sorry for the rest of the country if made like the menu, half the inside would be dropping out the other side. :P
Well I don't eat tacos that often - but I do remember the last time I did it ended up in a big mess :lol:
Tried to get the sata harddrive to be shown like the icons for USB but nothing ever appears, I understand they patched that a year ago for MeLe 1000 soI was shocked it was not supported.
Try modprobing sw_ahci_platform module. See if your SATA drive gets detected after that.
Also here is my boot string, I saw that other ideas where given before, is there a setting to not have a multisession loaded into memory, but remain loopmounted on the SD second part. I'm eating up memory fast and never had to worry about it due to the max RAM I install in my other hardware. What changes do I need to do?

Code: Select all

console=tty0
kernel=uImage
initrd=uInitrd
loglevel=3
audio=hdmi.audio=EDID:0
video=disp.screen0_output_mode=EDID:1280x720p60
#root=/dev/mmcblk0p2
#rootwait=rootwait
rootwait=waitdev=3
panicargs=panic=10
#coldplug=
basesfs=basesfs=local
savefile=savefile=direct:multi:mmcblk0p2
extras=sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_no_mali_mem_reserve sunxi_fb_mem_reserve=8

That setting is for direct savefile access in your SD card, not multisession, this is already the second best in terms of memory usage. If you want to do any better: unsquashfs the fd-arm.sfs to mmcblk0p2 (make sure it is formattted as ext2/3/4) and then comment out the "basesfs" line --- you're basically running (almost) full-install in that mode but still using layers; in this mode there is no difference between your savefile and the fd-arm files anymore, if you delete a file then it will be deleted for good (you can't recover from the basesfs because there is no more basesfs).
Yes I dropped back to 1280x720 to much eye strain with the top HD setting, plus need all the RAM. Not sure if changing the last number to 16 used a bunch.
Well 8 means 8MB and 16 means 16MB reserved for framebuffer :)
Good work, miss my solitaire game, wonder if it would compile easily for ARM.
which solitaire game? There are so many variants out there ...
also while snooping in the NAND I found dialup and modeswitch tools, wonder if they can just be 'borrowed' back from android.
Unlikely unless you can confirm that android is compiled as hardfloats ... do "readelf -A " on these binaries, if you don't see "Tag_ABI_VFP_args: VFP registers" then you're out of luck.

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

#39 Post by Ted Dog »

here is my multisession ls results from FatdogArm, works fine:

Code: Select all

total 82904
drwxrwx---  2 root root     4096 Sep  4 02:28 .
drwxr-xr-x 13 root root       60 Jan  1  2010 ..
-rwxrwx---  1 root root   798554 Aug 22 23:25 hosts
-rwxrwx---  1 root root     4096 Sep  2 19:41 multi-fdsave-2013-09-02T19-41+0000-base.sfs
-rwxrwx---  1 root root   180224 Sep  2 19:41 multi-fdsave-2013-09-02T19-41+0000-save.sfs
-rwxrwx---  1 root root  1077248 Sep  2 19:46 multi-fdsave-2013-09-02T19-45+0000-save.sfs
-rwxrwx---  1 root root  7802880 Sep  2 20:33 multi-fdsave-2013-09-02T20-32+0000-save.sfs
-rwxrwx---  1 root root  9781248 Sep  2 20:53 multi-fdsave-2013-09-02T20-52+0000-save.sfs
-rwxrwx---  1 root root 25686016 Sep  3 00:13 multi-fdsave-2013-09-03T00-12+0000-save.sfs
-rwxrwx---  1 root root   196608 Sep  3 00:39 multi-fdsave-2013-09-03T00-39+0000-save.sfs
-rwxrwx---  1 root root 12681216 Sep  3 04:19 multi-fdsave-2013-09-03T04-19+0000-save.sfs
-rwxrwx---  1 root root   180224 Sep  3 04:20 multi-fdsave-2013-09-03T04-20+0000-save.sfs
-rwxrwx---  1 root root   180224 Sep  3 04:22 multi-fdsave-2013-09-03T04-22+0000-save.sfs
-rwxrwx---  1 root root   180224 Sep  3 04:24 multi-fdsave-2013-09-03T04-24+0000-save.sfs
-rwxrwx---  1 root root 26136576 Sep  3 23:33 multi-fdsave-2013-09-03T23-32+0000-save.sfs
-rwxrwx---  1 root root        0 Sep  4 02:28 test.txt
-rwxrwx---  1 root root      240 Sep  2 10:25 wpa_supplicant.conf

also the name on the fatdog64.pet is AceOfPenguins-1.4.pet and that is my favorite version :wink:

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

#40 Post by Ted Dog »

confirm the modprobe given above works, so would I be able to save/load used this like the unsquash idea above, how do I add this module to the boot loader?

Post Reply