Page 3 of 4

Posted: Mon 07 May 2018, 17:54
by don570
It was easy to convert the to a fatdog package...
It works in all versions of fatdog.
Available here....

raspi-date-time-1.1-x86_64.txz
Size: 5k
https://drive.google.com/open?id=1ryN6R ... A4hsIHamz8

_________________________________________

Posted: Wed 09 May 2018, 12:40
by spotted
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?

Re: Fatdogarm for Raspberry pi3 - headless

Posted: Wed 09 May 2018, 14:13
by RetroTechGuy
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.
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).

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)

Posted: Wed 09 May 2018, 18:03
by don570
-- 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.

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
http://murga-linux.com/puppy/viewtopic. ... 251#878684

__________________________________________
A related question, can the Pi3 boot from USB?
I've read that it can, but there's no advantage to doing this since it still
needs a SDCard in slot. The pi2 can't.
______________________________________________

Posted: Wed 09 May 2018, 18:26
by don570
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.
________________________________________________________

Posted: Thu 10 May 2018, 02:41
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... :-)

Posted: Thu 10 May 2018, 02:46
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... ;-)

Posted: Fri 11 May 2018, 05:16
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.

Posted: Fri 11 May 2018, 15:29
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... ;-) )

Posted: Sat 09 Jun 2018, 16:50
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

___________________________

Posted: Sat 09 Jun 2018, 17:05
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?

Posted: Sat 09 Jun 2018, 17:21
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.
___________________________________

Posted: Sat 09 Jun 2018, 20:19
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:
______________________________________________
_________________________________________

Posted: Sat 09 Jun 2018, 20:39
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

Posted: Sat 09 Jun 2018, 20:44
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.
_________________________________________

Posted: Sat 09 Jun 2018, 22:02
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

Posted: Sun 10 Jun 2018, 20:02
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
___________________________________________

Posted: Mon 11 Jun 2018, 07:42
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?

Posted: Mon 11 Jun 2018, 23:56
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.

_______________________________________________

Posted: Tue 12 Jun 2018, 00:10
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