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 Tue 11 Dec 2018, 08:09
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 4 of 5 [74 Posts]   Goto page: Previous 1, 2, 3, 4, 5 Next
Author Message
RetroTechGuy


Joined: 15 Dec 2009
Posts: 2912
Location: USA

PostPosted: Wed 09 May 2018, 22:41    Post subject:  

don570 wrote:
Quote:
-- 4 long blinks, 4 short blinks -- just sat at the opening splash screen).


That is what happens when the wrong kernel is being used. For example
if I use the raspberrypi3 kernel with my raspberrypi2 machine.

I'm sure I put the right kernel in the package though.
and the config.txt will load vmlinuz.rpi3 kernel.


I think that Barry's release did the same (i.e. it didn't work). Maybe they borked something with the 3B+... Raspian installed without a hitch -- but it's not "familiar enough" for my taste.

I'll do some poking around... Smile

_________________
Add swapfile
WellMinded Search
Back to top
View user's profile Send private message 
RetroTechGuy


Joined: 15 Dec 2009
Posts: 2912
Location: USA

PostPosted: Wed 09 May 2018, 22:46    Post subject:  

don570 wrote:
Also make sure SD Card is properly prepared.

Windows has special app ---> SD card formatter.
https://www.sdcard.org/downloads/formatter_4/

In linux you should wipe card using following command
Quote:

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.

________________________________________________________


I had previously attempted to install Barry's version on this card, and reformatted it under WinXP -- since it create a second partition, I deleted them both under the XP tool, then reformatted to Fat32. (I thought that his not working might have been a SD error, so I pulled a second -- with same results. Then I reformatted that card, and tried Raspbian -- which installed fine).

I'll have to poke around some more -- it would be fun to get Puppy running on this. The Raspbian system looks too much like it's designed for someone who never wants to see a command line...and much of the time, that's where I live... Wink

_________________
Add swapfile
WellMinded Search
Back to top
View user's profile Send private message 
woodenshoe-wi

Joined: 28 Jul 2017
Posts: 87
Location: Wisconsin

PostPosted: Fri 11 May 2018, 01:16    Post subject:  

I don't have a Pi3+ to test but I am guessing that it needs a newer version of the bootloader firmware and a newer kernel.

I took the bootloader firmware from
http://archive.raspbian.org/raspbian/pool/firmware/r/raspberrypi-firmware-nokernel/raspberrypi-bootloader-nokernel_1.20180328-1~nokernel1_armhf.deb
and compiled a new kernel using kernel-kit from woof-CE because I am not familiar with how Fatdog compiles kernels and I don't think the official kernels include AUFS.

https://www.dropbox.com/s/n9mzhdat91quln3/bootloader-1.20180328_kernel-4.9.80-v7.zip?dl=1

This zip file only includes the new firmware and kernel, you will still need the rest of the files from the fatdogarm-pi3 zip file. I tested this on my Pi3, hopefully I didn't forget to include anything important in the zip file.
Back to top
View user's profile Send private message 
RetroTechGuy


Joined: 15 Dec 2009
Posts: 2912
Location: USA

PostPosted: Fri 11 May 2018, 11:29    Post subject:  

woodenshoe-wi wrote:
I don't have a Pi3+ to test but I am guessing that it needs a newer version of the bootloader firmware and a newer kernel.

I took the bootloader firmware from
http://archive.raspbian.org/raspbian/pool/firmware/r/raspberrypi-firmware-nokernel/raspberrypi-bootloader-nokernel_1.20180328-1~nokernel1_armhf.deb
and compiled a new kernel using kernel-kit from woof-CE because I am not familiar with how Fatdog compiles kernels and I don't think the official kernels include AUFS.

https://www.dropbox.com/s/n9mzhdat91quln3/bootloader-1.20180328_kernel-4.9.80-v7.zip?dl=1

This zip file only includes the new firmware and kernel, you will still need the rest of the files from the fatdogarm-pi3 zip file. I tested this on my Pi3, hopefully I didn't forget to include anything important in the zip file.


Thanks! I'll see if I can tinker a working solution together (and let you know if it works).

I grabbed the Pi3+ because I figured that the slightly faster processor would help me...

I need to redo the uSD card anyway. It appears that I bent the one I was testing (i.e. broke something inside -- I'm going to see if I can scrape the skin off, and patch it... Wink )

_________________
Add swapfile
WellMinded Search
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5196
Location: Ontario

PostPosted: Sat 09 Jun 2018, 12:50    Post subject:  

I bought a raspberry pi 3 $70 +10 tax CAN

I couldn't get it to recognize the fatdogarm kernel????

However I could use berryboot...

Berryboot has converted Barry's Quirky Arm7 to its format.
I was able to install it on my new raspberry pi3.

Quirky Xerus 8.1.4 for Raspberry Pi 2 & 3 (397.7 MiB, 906 downloads) December 27, 2016
https://sourceforge.net/projects/berryboot-updated-images/files/Raspberry-Pi/quirky_xerus_8.1.4_rpi2_rpi3_2016.12.13_berryboot.img.tar.xz/download

___________________________
Back to top
View user's profile Send private message 
woodenshoe-wi

Joined: 28 Jul 2017
Posts: 87
Location: Wisconsin

PostPosted: Sat 09 Jun 2018, 13:05    Post subject:  

@don570 did you get an original Pi3 or a Pi3+ because the fatdogarm kernel worked for me on my original Pi3 but I don't have a Pi3+ to test.

If you have a Pi3+ would you be willing to test the new bootloader firmware and kernel that I compiled?
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5196
Location: Ontario

PostPosted: Sat 09 Jun 2018, 13:21    Post subject:  

Quote:
If you have a Pi3+ would you be willing to test the new bootloader firmware and kernel that I compiled?


The package says pi3. I'll test your bootloader.

Another problem I spotted was the path to the fd-arm.sfs file

basesfs=device:mmcblk0p2:/fatdogarm/fd-arm.sfs

I forgot a colon.
___________________________________
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5196
Location: Ontario

PostPosted: Sat 09 Jun 2018, 16:19    Post subject:  

note to woodenshoe-wi

Your bootloader works!!!
It appears that JamesBond 's doesn't.

I have raspberry pi 3 (underneath is printed B+)

The fd-arm.sfs that I put together doesn't work with this model.
I was having sound problems.
I had to use JamesBond's fd-arm.sfs

So it will probably take a couple of weeks to reassemble the fd-arm.sfs again. Rolling Eyes
______________________________________________
_________________________________________
Back to top
View user's profile Send private message 
woodenshoe-wi

Joined: 28 Jul 2017
Posts: 87
Location: Wisconsin

PostPosted: Sat 09 Jun 2018, 16:39    Post subject:  

On the PCB on my Pi3 it reads:
Code:
Raspberry Pi 3 Model B V1.2
(c) Raspberry Pi 2015


If yours says "B+" then I think you have a Pi3+ which would explain why the fatdogarm kernel didn't work for you but did work for me.

I'm glad the kernel works for the Pi3+ because that means new kernels can be made with the woof-CE kernel-kit, and the bootloader firmware came from the Raspbian archive so there should always be up to date versions there.

I won't be able to help you test Pi3+ compatibility because mine is too old Very Happy
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5196
Location: Ontario

PostPosted: Sat 09 Jun 2018, 16:44    Post subject:  

Do you have any problems with audio? like stuttering a few seconds on
and a few seconds off.

My raspberry pi2 was working fine with audio.
I want same results with pi3.
_________________________________________
Back to top
View user's profile Send private message 
woodenshoe-wi

Joined: 28 Jul 2017
Posts: 87
Location: Wisconsin

PostPosted: Sat 09 Jun 2018, 18:02    Post subject:  

Yes and no, I tried an ogg file and it plays fine with xine but not at all with playmuic.

https://en.wikipedia.org/wiki/File:Camille_Saint-Sa%C3%ABns_-_The_Carnival_of_the_Animals.ogg
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5196
Location: Ontario

PostPosted: Sun 10 Jun 2018, 16:02    Post subject:  

Quote:
Yes and no, I tried an ogg file and it plays fine with xine but not at all with playmuic


The configuration file for playmusic can set an app to play each format,
such as aplay will play wav and mpg123 will play mp3 format.
perhaps ffmpeg will play ogg??

ffmpeg -i stream.ogg
____________________________________________________


Boot log says I have Model B+
It looks like the audio chip isn't recognized by the kernel.
Alsa reports that I have BCM2835 chip but that isn't correct Crying or Very sad
That's the SOC that broadcom uses.
That means that I need to compile kernel to recognize chip.

James compiles for arm on an intel computer.

He explains how to do this on his wiki page , but it's hard

http://lightofdawn.org/wiki/wiki.cgi/-wiki/FatdogArm/BuildingTheToolChain
___________________________________________
Back to top
View user's profile Send private message 
woodenshoe-wi

Joined: 28 Jul 2017
Posts: 87
Location: Wisconsin

PostPosted: Mon 11 Jun 2018, 03:42    Post subject:  

I used the kernel-kit from woof-CE on my desktop computer.
Code:
./build.sh pi2-build.conf

But maybe there is something wrong with the config.

There doesn't seem to be any difference between compiling a kernel for a Pi2 and a Pi3 according to https://www.raspberrypi.org/documentation/linux/kernel/building.md but maybe it is out of date?

Do you have "dtparam=audio=on" in your config.txt?
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5196
Location: Ontario

PostPosted: Mon 11 Jun 2018, 19:56    Post subject:  

Quote:
but maybe it is out of date?

It boots up OK but the audio doesn't play

Quote:
Do you have "dtparam=audio=on" in your config.txt?


yes.

___________________________________________________

I am able to get perfect audio with berryboot's conversion of BarryK


https://sourceforge.net/projects/berryboot-updated-images/files/Raspberry-Pi/quirky_xerus_8.1.4_rpi2_rpi3_2016.12.13_berryboot.img.tar.xz/download

Also the kernel it uses seems better since I can use the safe_mode=1
to get perfect video on my TV set.

This is something I haven't been able to achieve with any other kernel.

_______________________________________________

Last edited by don570 on Mon 11 Jun 2018, 20:32; edited 1 time in total
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5196
Location: Ontario

PostPosted: Mon 11 Jun 2018, 20:10    Post subject:  

The sequence of "B series" pi models goes.

Raspberry pi model B, BCM2835 two USB ports, 10/100 Ethernet, 256MB or 512MB of ram. Released Febuary 2012
Raspberry pi model B+ BCM2835 four USB ports, 10/100 Ethernet, 512MB of ram. Released July 2014
Raspberry pi 2 model B BCM2836 four USB ports, 10/100 Ethernet, 1GB of ram. Released Febuary 2015
Raspberry pi 3 model B BCM2837 four USB ports, 10/100 Ethernet, 1GB of ram, 2.4GHz wifi, bluetooth. Released Febuary 2016
Raspberry pi 3 model B+ BCM2837B0 four USB ports, 10/100 Ethernet, 1GB of ram, dual band wifi, bluetooth. Released March 2018
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 4 of 5 [74 Posts]   Goto page: Previous 1, 2, 3, 4, 5 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.1363s ][ Queries: 14 (0.0157s) ][ GZIP on ]