Fatdogarm for Raspberry pi3 - headless

A home for all kinds of Puppy related projects
Message
Author
User avatar
RetroTechGuy
Posts: 2947
Joined: Tue 15 Dec 2009, 17:20
Location: USA

#46 Post by RetroTechGuy »

don570 wrote:
-- 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... :-)
[url=http://murga-linux.com/puppy/viewtopic.php?t=58615]Add swapfile[/url]
[url=http://wellminded.net63.net/]WellMinded Search[/url]
[url=http://puppylinux.us/psearch.html]PuppyLinux.US Search[/url]

User avatar
RetroTechGuy
Posts: 2947
Joined: Tue 15 Dec 2009, 17:20
Location: USA

#47 Post by RetroTechGuy »

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
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... ;-)
[url=http://murga-linux.com/puppy/viewtopic.php?t=58615]Add swapfile[/url]
[url=http://wellminded.net63.net/]WellMinded Search[/url]
[url=http://puppylinux.us/psearch.html]PuppyLinux.US Search[/url]

woodenshoe-wi
Posts: 109
Joined: Sat 29 Jul 2017, 03:16
Location: Wisconsin

#48 Post by woodenshoe-wi »

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/po ... _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/n9mzhdat91qul ... 7.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.

User avatar
RetroTechGuy
Posts: 2947
Joined: Tue 15 Dec 2009, 17:20
Location: USA

#49 Post by RetroTechGuy »

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/po ... _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/n9mzhdat91qul ... 7.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... ;-) )
[url=http://murga-linux.com/puppy/viewtopic.php?t=58615]Add swapfile[/url]
[url=http://wellminded.net63.net/]WellMinded Search[/url]
[url=http://puppylinux.us/psearch.html]PuppyLinux.US Search[/url]

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

#50 Post by don570 »

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/berryb ... z/download

___________________________

woodenshoe-wi
Posts: 109
Joined: Sat 29 Jul 2017, 03:16
Location: Wisconsin

#51 Post by woodenshoe-wi »

@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?

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

#52 Post by don570 »

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.
___________________________________

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

#53 Post by don570 »

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. :roll:
______________________________________________
_________________________________________

woodenshoe-wi
Posts: 109
Joined: Sat 29 Jul 2017, 03:16
Location: Wisconsin

#54 Post by woodenshoe-wi »

On the PCB on my Pi3 it reads:

Code: Select all

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 :D

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

#55 Post by don570 »

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.
_________________________________________

woodenshoe-wi
Posts: 109
Joined: Sat 29 Jul 2017, 03:16
Location: Wisconsin

#56 Post by woodenshoe-wi »

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:Cami ... nimals.ogg

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

#57 Post by don570 »

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 :cry:
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/-w ... eToolChain
___________________________________________

woodenshoe-wi
Posts: 109
Joined: Sat 29 Jul 2017, 03:16
Location: Wisconsin

#58 Post by woodenshoe-wi »

I used the kernel-kit from woof-CE on my desktop computer.

Code: Select all

./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/documentati ... uilding.md but maybe it is out of date?

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

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

#59 Post by don570 »

but maybe it is out of date?
It boots up OK but the audio doesn't play
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/berryb ... z/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 Tue 12 Jun 2018, 00:32, edited 1 time in total.

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

#60 Post by don570 »

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

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

#61 Post by don570 »

Good news! I was able to solve my problems with sound.
Here is what I did.

1. I dragged in all of woodenshoe-wi files that he gave me

2. Then I dragged in the bcm2709 and bcm2710 files from the latest berryboot image.
This overwrote the files of woodenshoe-wi (Not sure if this is needed????)

3. To get latest wireless driver for raspberry pi3 I opened the
berryboot package and extracted 'shared.tgz'
I put the firmware and modules i found there in /lib

4. In config.txt I wrote 'hdmi_safe=1' and audio is on .

5. I used a fat32 SD card as usual and booted up the raspberry pi3.

I got a strange warning that the video mode wasn't compatible.
Yet it did boot up . And best of all the audio works well and the computer is
significantly faster that raspberry pi2.

________________________________________________
Last edited by don570 on Tue 12 Jun 2018, 19:10, edited 2 times in total.

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

#62 Post by don570 »

See First Post for zip package

I put together a zip package so others can enjoy.
It should work for all raspberry pi3 boards ... but I only tested with
my brandnew model B+ which I highly recommend 8)

I added ptm Timer 2.5 to set a reminder and put faq documents in /root so users can
read how to make fatdog packages and set up WIFI

Tip: put mp3 files in /Music folder if you want music to play at first boot.
Also you will have to learn to set the clock.
______________________________________________

woodenshoe-wi
Posts: 109
Joined: Sat 29 Jul 2017, 03:16
Location: Wisconsin

#63 Post by woodenshoe-wi »

Glad you got your audio working!
2. Then I dragged in the bcm2709 and bcm2710 files from the latest berryboot image.
This overwrote the files of woodenshoe-wi (Not sure if this is needed????)
You mean the .dtb files? Was it needed? I don't have a Pi3+ to test and it looks like the 3+ uses a different .dtb than the 3.
4. In config.txt I wrote 'hdmi_safe=1' and audio is on .
You mean the audio problems had something to do with the hdmi_safe setting?

User avatar
RetroTechGuy
Posts: 2947
Joined: Tue 15 Dec 2009, 17:20
Location: USA

#64 Post by RetroTechGuy »

don570 wrote:I bought a raspberry pi 3 $70 +10 tax CAN
"Ouch"... Even with the exchange rate, that's a bit pricey... :-/

I paid $35 US for mine (and see that they're dropped the price further)

http://www.microcenter.com/product/5056 ... _3_model_b
[url=http://murga-linux.com/puppy/viewtopic.php?t=58615]Add swapfile[/url]
[url=http://wellminded.net63.net/]WellMinded Search[/url]
[url=http://puppylinux.us/psearch.html]PuppyLinux.US Search[/url]

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

#65 Post by don570 »

It was on 'Sale'. How could I resist a 'Sale'
https://secure.sayal.com/STORE/View_SPEC.asp?SKU=249938
_______________________________________________________

Post Reply