FatdogArm Beta1/2/3/4- 16 April 2016

A home for all kinds of Puppy related projects
Message
Author
User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#421 Post by don570 »

I then connected to my Cisco router using fatdog built-in software

Image

_______________________________________________________

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#422 Post by don570 »

Control Panel->System->Manage Servers and Services

Both dropbear and mongoose worked!

I can now use Putty program in Windows XP to contact the raspberry pi board.

_____________________________________

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#423 Post by don570 »

Fatdog uses an old and buggy version of leafpad
Here is is the improved version

http://www.filewatcher.com/d/FreeBSD/di ... 89079.html
___________________________________________

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#424 Post by don570 »

The best way to solve the missing icons problem is to make the .DirIcon
in /usr/local/apps/ and use links.
http://puppylinux.org/wikka/RoxApplicationDirectory

-------------------------------------------------

Instructions to make changes to fd-arm.sfs

Read....
http://lightofdawn.org/wiki/wiki.cgi/-w ... gFatdogArm


Customising FatdogArm (the old way)

The old way of customising/adopting FatdogArm is similar to the above: one would still need to prepare a bootloader, a kernel, a kernel modules, and modify the initrd. The only difference is on how to prepare fd-arm.sfs - instead of building fd-arm.sfs from scratch using FatdogArm's meta-distribution, one uses and modifies an existing fd-arm.sfs from an existing FatdogArm image.


1.Get the fd-arm.sfs from the disk image as explained previously.

2.Extract the fd-arm.sfs by issuing this command.
It will create a new directory called squashfs-root containing all the files inside fd-arm.sfs in the current directory.
unsquashfs fd-arm.sfs


3.Add/remove packages as needed.
When you do this you must be inside the squashfs-root; thus the commands below is always preceeded by cd squashfs-root.


◦Adding a package:
( cd squashfs-root; ROOT=$(pwd) sbin/installpkg /path/to/your/package.tbz )


◦Remove package:
( cd squashfs-root; ROOT=$(pwd) sbin/removepkg name-of-package-to-remove )

4.Modify other files/scripts/configuration files as needed.

5.Re-pack (re-generate) the sfs by issuing this command:
mksquashfs squashfs-root fd-arm.sfs -comp xz -Xbcj arm -noappend


6.Done.

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#425 Post by don570 »

In the previous post the method of installing an app is
( cd squashfs-root; ROOT=$(pwd) sbin/installpkg /path/to/your/package.tbz )

This works well from my experience. It will even install .DirIcon files
and links.

__________________________________________________________

The making of the package with dir2pkg

Warning ---> there are problems when using dir2pkg utility when the folder package has .DirIcons inside


Here are instructions for making a package with right click menu items.

1) Remove the .DirIcons from the Application Directories (see image for example)

Image

2) you must not have links inside an Application Directories. So you will
make these in the doinst.sh script

Here's an example of a doinst.sh script.
Note the final line where a link is made named .DirIcon inside the Application Directory

Code: Select all

#!/bin/sh
mkdir -p /root/.config/rox.sourceforge.net/SendTo/.text_html
mkdir -p /root/.config/rox.sourceforge.net/SendTo/.text_plain
mkdir -p /root/.config/rox.sourceforge.net/SendTo/.application_x-shellscript
mkdir -p /root/.config/rox.sourceforge.net/SendTo/.application_x-executable
mkdir -p /root/.config/rox.sourceforge.net/SendTo/.application_x-desktop
mkdir -p /root/.config/rox.sourceforge.net/SendTo/.application_xml
mkdir -p /root/.config/rox.sourceforge.net/SendTo/.text_css
mkdir -p /root/.config/rox.sourceforge.net/SendTo/.text_x-bacon
mkdir -p /root/.config/rox.sourceforge.net/SendTo/.text_x-gettext-translation
mkdir -p /root/.config/rox.sourceforge.net/SendTo/.text_x-gettext-translation-template
mkdir -p /root/.config/rox.sourceforge.net/SendTo/.text_x-patch


# links for Leafpad
ln -fs "/usr/local/apps/Leafpad"  /root/.config/rox.sourceforge.net/SendTo/.application_x-desktop/"Edit with Leafpad"
ln -fs "/usr/local/apps/Leafpad" /root/.config/rox.sourceforge.net/SendTo/.application_x-executable/"Edit with Leafpad"
ln -fs "/usr/local/apps/Leafpad" /root/.config/rox.sourceforge.net/SendTo/.application_xml/"Edit with Leafpad"
ln -fs "/usr/local/apps/Leafpad" /root/.config/rox.sourceforge.net/SendTo/.application_x-shellscript/"Edit with Leafpad"
ln -fs "/usr/local/apps/Leafpad" /root/.config/rox.sourceforge.net/SendTo/.text_css/"Edit with Leafpad"
ln -fs "/usr/local/apps/Leafpad" /root/.config/rox.sourceforge.net/SendTo/.text_html/"Edit with Leafpad"
ln -fs "/usr/local/apps/Leafpad" /root/.config/rox.sourceforge.net/SendTo/.text_plain/"Edit with Leafpad"
ln -fs "/usr/local/apps/Leafpad" /root/.config/rox.sourceforge.net/SendTo/.text_x-bacon/"Edit with Leafpad"
ln -fs "/usr/local/apps/Leafpad" /root/.config/rox.sourceforge.net/SendTo/.text_x-gettext-translation/"Edit with Leafpad"
ln -fs "/usr/local/apps/Leafpad" /root/.config/rox.sourceforge.net/SendTo/.text_x-gettext-translation-template/"Edit with Leafpad"
ln -fs "/usr/local/apps/Leafpad" /root/.config/rox.sourceforge.net/SendTo/.text_x-patch/"Edit with Leafpad"
ln -fs "/usr/local/apps/Leafpad" /root/.config/rox.sourceforge.net/SendTo/.application_x-zerosize/"Edit with Leafpad"


ln -fs  /usr/share/pixmaps/leafpad.png  "/usr/local/apps/Leafpad/.DirIcon"

3) Now the right click menu item 'dir2pkg' will work correctly to make an
acceptable fatdog app package. The package will show the right clicks correctly
with an icon.
__________________________________________________________
Last edited by don570 on Mon 16 May 2016, 23:29, edited 6 times in total.

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#426 Post by don570 »

I made a newer leafpad package 0.8.18 using the method in the previous post.

Available at www.mydrive.ch

____________________________________

eowens2
Posts: 177
Joined: Wed 27 Aug 2008, 17:57

#427 Post by eowens2 »

Fatdog,

Are you familiar with the Asus Chromebook Flip? http://www.amazon.com/Chromebook-10-1-I ... ebook+flip

It is a popular, fairly inexpensive laptop/tablet running Arm ChromeOS with a Rockchip RK3288C processor and a Mali T764 graphic Chip. It is one of 3 Chromebooks that (beginning /summer/fall 2016) will be able to download and install Android Apps from the Google Play Store, greatly enhancing the number of programs available on this platform. http://www.techinsider.io/chromebooks-t ... pps-2016-5

In addition, using an SD card or USB stick on this device:
Arch Linux ARM is booting:
https://archlinuxarm.org/platforms/armv ... flip-c100p

and Kali Linux is booting:http://docs.kali.org/kali-on-arm/kali-l ... ebook-flip.

What would be required to get FatdogArm up and running on this device?

TeX Dog
Posts: 287
Joined: Wed 06 Jul 2016, 17:57

RaspFatARM only hardware video playback.

#428 Post by TeX Dog »

Was able to use and modify don570's downloadable package to work in RAM and without a savefile, using FatdogArm layering filesystem.
As a result can offer a version of FatDogArm, which is FASTER! and play videos alpha blended with desktop and easy as unzipping into a untouched off the peg at Wally~World flashdrive.
Would I/Could I reuse dons upload/download link? Rank newbie here :roll: :wink: only my second post, be gentle with me...

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#429 Post by don570 »

Was able to use and modify don570's downloadable package to work in RAM and without a savefile, using FatdogArm layering filesystem.
As a result can offer a version of FatDogArm, which is FASTER!
This is something that I have done as well, but I'm not in a rush to
post it to the public since mydrive.ch has reduced it's free storage space to
100gb.

I'd like to know how you got videos to work.

_____________________________________________________________
Would I/Could I reuse dons upload/download link?
I'd like to find a good download site myself. :lol:
_________________________________________________

dancytron
Posts: 1519
Joined: Wed 18 Jul 2012, 19:20

#430 Post by dancytron »

don570 wrote:
Was able to use and modify don570's downloadable package to work in RAM and without a savefile, using FatdogArm layering filesystem.
As a result can offer a version of FatDogArm, which is FASTER!
This is something that I have done as well, but I'm not in a rush to
post it to the public since mydrive.ch has reduced it's free storage space to
100gb.

I'd like to know how you got videos to work.

_____________________________________________________________
Would I/Could I reuse dons upload/download link?
I'd like to find a good download site myself. :lol:
_________________________________________________
I haven't messed with my Pi for a long time. It purrs away happily being a print server freeing my laptop up for other things.

That being said, have you tried to get omxplayer working in fatdog. My understanding is that is the only really viable path to getting accelerated video from the Pi.

http://elinux.org/Omxplayer

https://github.com/huceke/omxplayer

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#431 Post by don570 »

It purrs away happily being a print server freeing my laptop up for other things.
Yes it's very stable. I can play mp3 files properly now that I modified
config.txt
http://elinux.org/RPiconfig#Audio
https://www.raspberrypi.org/documentati ... fig-txt.md

hdmi_ignore_edid_audio=1
__________________________________________________

James or Barryk will have to work on Omxplayer support :cry:

________________________________________________
Last edited by don570 on Thu 07 Jul 2016, 23:43, edited 2 times in total.

TeX Dog
Posts: 287
Joined: Wed 06 Jul 2016, 17:57

#432 Post by TeX Dog »

yes its omxplayer from a version that works with the default frame-driver used in FatDogArm. Also includes but not fully tested helpful packages that allow embedded browser videos from web-browsers, and a standalone GUI for video playback. (those require use of other hardware drivers that can't be used with framebuffer only driver )
Its only 20M, includes SAMBA and stripped down Python. Most of that space used was the full /opt/vc package unique to Raspberry Pi and includes all related licenses text.
The omxplayer is wrapped into a script that makes it work with FDA, setting and resetting screen saver, layering with the odd Rox background and default merging the only way to get BOTH desktop and video to be seen together. Which has a COOL effect worth the download just to see it. :shock:
The video is played full screen visually and correctly blended with desktop. One does not replace the other

TeX Dog
Posts: 287
Joined: Wed 06 Jul 2016, 17:57

#433 Post by TeX Dog »

I got the /opt/vc from XBian_Latest_rpi3.img.gz

using after ungzipping

Code: Select all

kpartx XBian_Latest_rpi3.img -ar
here is my cmdline.txt and config.txt for layering/ run in RAM, which allows you to remove flashdrive after it boots.

omxplayer-0.3.7~git20160506~6c90c75-armhf-DEB.txz was downloaded from some git pull and converted to FatDog txz package using FD64-710

The configuration files use a subfolder (labeled fatdogarm ) for compressed save backs, and needs fd-arm.sfs moved or copied into it from Dons version which is the base used. His savefile is unused and untouched.
Attachments
ply.gz
cmdline video player wrapper copied to /usr/sbin
(393 Bytes) Downloaded 309 times
config.txt.gz
(259 Bytes) Downloaded 308 times
cmdline.txt.gz
(133 Bytes) Downloaded 316 times

TeX Dog
Posts: 287
Joined: Wed 06 Jul 2016, 17:57

#434 Post by TeX Dog »

ok if you all (not all at once.. new host acct. ) see if this will download ok. its one of the packages converted over to fatdog format used in FastDogArm raspberry

http://www.puppylinux.net/kweb-1.7.1-1-armhf-DEB.txz.gz

thanks for testing this.

OK it seems to work.. I am putting the site together..

http://www.puppylinux.net/blog/
Last edited by TeX Dog on Thu 07 Jul 2016, 17:01, edited 2 times in total.

User avatar
ally
Posts: 1957
Joined: Sat 19 May 2012, 19:29
Location: lincoln, uk
Contact:

#435 Post by ally »

@tex

see pm

:)

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#436 Post by edoc »

Are y'all aware of this Linux Arm activity?

http://techtablets.com/forum/topic/linu ... s/page/12/

Perhaps some of the effort may be common & shared?

I'm looking at getting a Chuwi Hi12 & would love to run a FatdogARM vs Mint on it.
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#437 Post by rcrsn51 »

@edoc: Are you confusing Atom with ARM?

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#438 Post by edoc »

rcrsn51 wrote:@edoc: Are you confusing Atom with ARM?
You know, when starhawk referred me to FatdogARM I didn't even put the two together!

ooops!

So, which Puppy do you think is most likely to match what they are doing with Linux Mint on those tablets?

Thanks!
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

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

#439 Post by starhawk »

I sit corrected. I saw "tablet" and assumed ARM. Sorry 'bout that!

You will need something with a very recent kernel to run on that hardware.

Marv knows a little about that, IIRC. Maybe he can answer for us?

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#440 Post by don570 »

Using tex dog method I was able to get OMXplayer to work in fatdog arm

I used omxplayer_0.3.7~git20160506~6c90c75_armhf.deb

I had to install Samba as well because it needs samba-client
ftp://distro.ibiblio.org/fatdog/arm/pac ... rmhf-1.tbz

I checked it with mp4 and mp3 files

There is a problem with displaying text however that maybe because I didn't install
http://ftp.us.debian.org/debian/pool/ma ... -4_all.deb

Most keyboard bindings work

Key bindings
Key Action
1 Increase Speed
2 Decrease Speed
j Previous Audio stream
k Next Audio stream
i Previous Chapter
o Next Chapter
n Previous Subtitle stream
m Next Subtitle stream
s Toggle subtitles
q Exit OMXPlayer
Space or p Pause/Resume
- Decrease Volume
+ Increase Volume
Left Seek -30
Right Seek +30
Down Seek -600
Up Seek +600
I will post when I put right click menus inside.

_____________________________________________

Post Reply