Fatdogarm for Raspberry pi3 - headless
Your date and time works on an odroid but the time doesnt keep keeping time while the odroid is turned off. Its a odroid problem as their build of bongo drums has the wrong time until I go online. The time seems to be when I last shut down. I just had a thought, the clock battery night be a dud, its two wires coming out of a heat shrunk plastic bag, plugged into the board. Whats a test to see if the clock battery has a charge?
- RetroTechGuy
- Posts: 2947
- Joined: Tue 15 Dec 2009, 17:20
- Location: USA
Re: Fatdogarm for Raspberry pi3 - headless
OK, I tried this on my Element 14 Raspberry Pi 3 Model B+, and it didn't boot (I believe that the blink code indicated that it didn't load for whatever reason -- 4 long blinks, 4 short blinks -- just sat at the opening splash screen).don570 wrote:Fatdog Arm for Raspberry Pi 3
[...]
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.
Checked the card to make sure the boot flag was set.
A related question, can the Pi3 boot from USB? I'm wondering if I can just hook the FatDogArm into an existing bootable flash drive (so I can test that the device boots on another computer, then boot from flash on the Pi3 -- which would then allow me to install the working OS onto the uSD card)
[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]
[url=http://wellminded.net63.net/]WellMinded Search[/url]
[url=http://puppylinux.us/psearch.html]PuppyLinux.US Search[/url]
That is what happens when the wrong kernel is being used. For example-- 4 long blinks, 4 short blinks -- just sat at the opening splash screen).
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.
You can try downloading the kernel from repository and install yourself..
http://distro.ibiblio.org/fatdog/arm/im ... nel.tar.gz
I'd be interested if you can make it work.
config.txt must have...
Code: Select all
initramfs initrd.rpi3
[pi3]
kernel=vmlinuz.rpi3
Checked the card to make sure the boot flag was set.
I don't believe that is necessary, since raspberry pi board ALWAYS boots
first from a fat32 partition. That's the design of Broadcom.
___________________________________________________
When the raspberrypi2 was first developed --> user mories suggested
Code: Select all
initramfs initrd.rpi2
[pi2]
kernel=vmlinuz.rpi2
__________________________________________
I've read that it can, but there's no advantage to doing this since it stillA related question, can the Pi3 boot from USB?
needs a SDCard in slot. The pi2 can't.
______________________________________________
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
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.
- RetroTechGuy
- Posts: 2947
- Joined: Tue 15 Dec 2009, 17:20
- Location: USA
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.don570 wrote:That is what happens when the wrong kernel is being used. For example-- 4 long blinks, 4 short blinks -- just sat at the opening splash screen).
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'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]
[url=http://wellminded.net63.net/]WellMinded Search[/url]
[url=http://puppylinux.us/psearch.html]PuppyLinux.US Search[/url]
- RetroTechGuy
- Posts: 2947
- Joined: Tue 15 Dec 2009, 17:20
- Location: USA
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).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'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]
[url=http://wellminded.net63.net/]WellMinded Search[/url]
[url=http://puppylinux.us/psearch.html]PuppyLinux.US Search[/url]
-
- Posts: 109
- Joined: Sat 29 Jul 2017, 03:16
- Location: Wisconsin
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.
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.
- RetroTechGuy
- Posts: 2947
- Joined: Tue 15 Dec 2009, 17:20
- Location: USA
Thanks! I'll see if I can tinker a working solution together (and let you know if it works).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.
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]
[url=http://wellminded.net63.net/]WellMinded Search[/url]
[url=http://puppylinux.us/psearch.html]PuppyLinux.US Search[/url]
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
___________________________
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
___________________________
-
- Posts: 109
- Joined: Sat 29 Jul 2017, 03:16
- Location: Wisconsin
The package says pi3. I'll test your bootloader.If you have a Pi3+ would you be willing to test the new bootloader firmware and kernel that I compiled?
Another problem I spotted was the path to the fd-arm.sfs file
basesfs=device:mmcblk0p2:/fatdogarm/fd-arm.sfs
I forgot a colon.
___________________________________
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.
______________________________________________
_________________________________________
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.
______________________________________________
_________________________________________
-
- Posts: 109
- Joined: Sat 29 Jul 2017, 03:16
- Location: Wisconsin
On the PCB on my Pi3 it reads:
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
Code: Select all
Raspberry Pi 3 Model B V1.2
(c) Raspberry Pi 2015
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
-
- Posts: 109
- Joined: Sat 29 Jul 2017, 03:16
- Location: Wisconsin
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
https://en.wikipedia.org/wiki/File:Cami ... nimals.ogg
The configuration file for playmusic can set an app to play each format,Yes and no, I tried an ogg file and it plays fine with xine but not at all with playmuic
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
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
___________________________________________
-
- Posts: 109
- Joined: Sat 29 Jul 2017, 03:16
- Location: Wisconsin
I used the kernel-kit from woof-CE on my desktop computer.
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?
Code: Select all
./build.sh pi2-build.conf
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?
It boots up OK but the audio doesn't playbut maybe it is out of date?
yes.Do you have "dtparam=audio=on" in your config.txt?
___________________________________________________
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.
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
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