Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 25 May 2018, 18:57
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
Fatdogarm for Raspberry pi3 - headless
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 4 [49 Posts]   Goto page: 1, 2, 3, 4 Next
Author Message
don570


Joined: 10 Mar 2010
Posts: 5024
Location: Ontario

PostPosted: Thu 15 Mar 2018, 20:11    Post subject:  Fatdogarm for Raspberry pi3 - headless  

Fatdog Arm for Raspberry Pi 3

If you have raspberry pi 3 then here is
an experimental version of fatdog arm to try.
Unfortunately I don't have a board to test this version.


Headless operation now possible using dropbear (SSH clone)
A headless installation is now possible as well.
Samba and OMX player is now included


This is targeted to Raspberry pi3 users who want a general purpose
operating system that is reasonably fast and it can be used as a music player.
______________________________________________________
Installation is easy.

New version : fatdogarm-pi3-03-15-2018.zip
Available.....
219mb
md5ssum: d1fe6a703b5e8b2a25986b405edd02fc
https://drive.google.com/open?id=1m7Mjw0pBo9f43yRslRMu-zQh2gx7WMUk
__________________________________________________________
2) You can install using Windows or a Linux computer
Format your micro SD card as fat32 using a windows or linux formatter.
In linux I recommend you zero out the card first...
Quote:
just do "dd if=/dev/zero of=/dev/<flash-drive-device-name> bs=1M count=1". After doing this Gparted will regard you flash drive as completely empty and will offer to create a new MS-DOS partition table - which you should accept.


If you are using Windows to format the SD card then I recommend
https://www.sdcard.org/downloads/formatter_4/
A quick formating to fat32 is all that is needed.

Open up fatdogarm-pi3-03-15-2018.zip. You will see some files and folders inside a folder.
Drag the contents of the folder to a freshly formatted (fat32) micro SD card.

3) Take out the card from its adaptor and insert in your raspberry pi3
computer. Plug in the power cable. If you wish, you can plug in your
ethernet cable and a wireless adapter.

4)If you have savefile=direct:local in cmdline.txt file
While booting ---> the OS will find a default named save file (fdsave.ext4) and automatically
go to desktop.

If you have savefile=ask
While booting ---> the OS asks for a save file , just press the <ENTER> key.
The operating system will automatically find the fatdog save file.
Note that user's documents and config files are in that save file.



5) You will soon see the desktop with a giant clock on it.

User: root or spot
Password : woofwoof

Support site: http://murga-linux.com/puppy/viewtopic.php?t=92548


Set your wlan with the tray app.
Check if your ethernet device has been recognized
Tip: Type 'ifconfig' in terminal to check if a network address has been assigned.
___________________________________________________________


A wireless adapter requires some work. Here is how I made the connection...

I first checked that the wireless driver had loaded properly...

Code:
dmesg  | more


I checked the boot messages to see if the driver had loaded.
I saw...
Code:
usbcore: registered new interface driver carl9170

carl9170 is the name of my driver, so it has loaded. Good!

Next I connected my adapter to a wifi network
Control panel > network > Network Setup
(or type 'network-setup.sh' in terminal)

SSID (the router's network name) and wireless password for my Cisco router is entered .
See network setup here....
http://distro.ibiblio.org/fatdog/web/faqs/Networking.html
Activate wlan0 now with Network Setup
_____________________________________________

To check the activation....
Type 'ifconfig' in terminal and wlan0 will have a network address assigned to it now.
It is different than ethernet address.

I could find a windows server with fatdog_connect.sh

Network > Fatdog connect

Fill in the address of server and the Share name.
Click 'Connect'

__________________________________________

Last edited by don570 on Wed 11 Apr 2018, 19:33; edited 7 times in total
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5024
Location: Ontario

PostPosted: Thu 15 Mar 2018, 20:13    Post subject:  

Test as a music player by putting a couple of mp3 files in /Music folder
and reboot . Playmusic app by Thunor should play the music
thru the headphone output.
_________________________________________________________
Back to top
View user's profile Send private message 
woodenshoe-wi

Joined: 28 Jul 2017
Posts: 44
Location: Wisconsin

PostPosted: Sun 08 Apr 2018, 23:23    Post subject: Test on Raspberry pi3  

I have an original Pi3 (I don't have a 3+), so I figured I would test the fatdogarm-pi3-03-15-2018.zip

I had to un-comment the following line in config.txt to get the audio to work.
Code:
dtparam=audio=on

Is there a reason that there is a separate version for Pi3 instead of sharing with Pi2?
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5024
Location: Ontario

PostPosted: Mon 09 Apr 2018, 20:11    Post subject:  

Quote:
Is there a reason that there is a separate version for Pi3 instead of sharing with Pi2?



Each model that is supported requires a separate kernel.

Thanks for testing since I don't have a raspberry pi3.
It costs $100 here in Canada with tax. Ridiculous!

Test it to see if you can make a headless, wireless music player.
I was successful with my raspberry pi2.

Samba and x11vnc are builtin.
____________________________________________
Back to top
View user's profile Send private message 
woodenshoe-wi

Joined: 28 Jul 2017
Posts: 44
Location: Wisconsin

PostPosted: Tue 10 Apr 2018, 15:48    Post subject: Sharing kernel  

I know from first hand experience that the new models of Pis always need the newest version of the firmware to boot, but looking at the files included in fatdogarm-pi3-03-15-2018.zip I saw the dtb file for the Pi2, bcm2709-rpi-2-b.dtb

So I was wondering if the fatdogarm-pi3 version could actually run on a Pi2...

First attempt didn't boot, but after adding
Code:

 [pi2]
kernel=vmlinuz.rpi3

to config.txt I was able to successfully boot the Pi3 version of fatdogarm on my Pi2.

My current config.txt is
Code:

disable_overscan=0
start_x=1
gpu_mem=128
hdmi_group=1
hdmi_mode=4
#max_usb_current=1

# Safest video mode
#hdmi_safe=1

# Enable on-board audio
dtparam=audio=on
 
# force audio to headphone jack  (Set to 1)
hdmi_ignore_edid_audio=1


initramfs initrd.rpi3
[pi3]
kernel=vmlinuz.rpi3
[pi2]
kernel=vmlinuz.rpi3

# Warning: CMA does not work properly in newer firmware versions
#
#cma_lwm=16
#cma_hwm=32
#cma_offline_start=16


I normally use my Pis with a mouse, keyboard and computer monitor attached, although I did build an IR receiver for my Pi3 to use with Kodi and the TV, but have never used them with vnc software.

I tested the sound with the 2barks.wav file, so I wouldn't call that music Wink

The built in wifi on the Pi3 works fine after the normal wifi password configuration.
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5024
Location: Ontario

PostPosted: Tue 10 Apr 2018, 19:39    Post subject:  

Quote:
I tested the sound with the 2barks.wav file, so I wouldn't call that music


I believe I put the ivy.mp3 file in /usr/share/audio/ folder to test mp3

__________________________________________________________

Read my raspberry pi2 site to get the instructions to set up board as
music player.

You can start by dragging ivy.mp3 into Music folder.
_________________________________________
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5024
Location: Ontario

PostPosted: Wed 11 Apr 2018, 19:32    Post subject:  

Quote:
I believe I put the ivy.mp3 file in /usr/share/audio/ folder to test mp3


When I checked I put ivy.mp3 in /root/puppy-reference/audio/
not in /usr/share/audio/

_____________________________________________
Back to top
View user's profile Send private message 
veronicathecow


Joined: 21 Oct 2006
Posts: 559

PostPosted: Thu 12 Apr 2018, 04:35    Post subject: Cannot find files and going to prompt  

Hi thanks for making this puppy.
I have tried to boot on my Model 3B pi but i am getting
Cannot load basesfs
cannot find fdsave.ext4 from anywhere
welcome to bulldog linux
bulldog login:
Any help appreciated
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5024
Location: Ontario

PostPosted: Thu 12 Apr 2018, 19:31    Post subject:  

OOps! This was what I feared. Rolling Eyes

Apparently there is something in my modified fdarm.sfs that is not compatible???

You can try James bond's fd-arm.sfs and I think it would work
http://distro.ibiblio.org/fatdog/arm/releases/beta5/fd-arm.sfs

I'll look through the files in my fd-arm.sfs to see what is happening.
_______________________________________________________
Back to top
View user's profile Send private message 
veronicathecow


Joined: 21 Oct 2006
Posts: 559

PostPosted: Fri 13 Apr 2018, 03:21    Post subject:  

Hi Don570, many thanks I will give this a try.
Back to top
View user's profile Send private message 
veronicathecow


Joined: 21 Oct 2006
Posts: 559

PostPosted: Fri 13 Apr 2018, 04:36    Post subject:  

Hi don570, sorry but I swapped out the fd-arm.sfs as per your suggestion but am getting same error.
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5024
Location: Ontario

PostPosted: Sat 14 Apr 2018, 10:57    Post subject:  

I'll ask james bond for help. He owns a raspberry pi3.
__________________________
Back to top
View user's profile Send private message 
woodenshoe-wi

Joined: 28 Jul 2017
Posts: 44
Location: Wisconsin

PostPosted: Sat 14 Apr 2018, 15:29    Post subject:  

What is the contents of your cmdline.txt file?

Mine is:
Code:

pkeys=en waitdev=3 savefile=direct:local   basesfs=device:mmcblk0p1:/fatdogarm/fd-arm.sfs


fdsave.ext4 is the save file. It won't exist on first boot.
Back to top
View user's profile Send private message 
veronicathecow


Joined: 21 Oct 2006
Posts: 559

PostPosted: Tue 17 Apr 2018, 14:13    Post subject:  

Hi Don6570 thanks

Hi woodenshoe-wi
I login as root PW=woofwoof
but ls just gives me nothing
not sure where
tried
find cmline.txt
but no files found.
Back to top
View user's profile Send private message 
woodenshoe-wi

Joined: 28 Jul 2017
Posts: 44
Location: Wisconsin

PostPosted: Tue 17 Apr 2018, 15:14    Post subject:  

The file would be on the SD card. There should have been one in the zip file.
It gives the location of "basesfs=device:mmcblk0p1:/fatdogarm/fd-arm.sfs"
If it is missing that explains
Quote:
Cannot load basesfs
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 4 [49 Posts]   Goto page: 1, 2, 3, 4 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0701s ][ Queries: 12 (0.0105s) ][ GZIP on ]