Fatdogarm for Raspberry pi3 - headless

A home for all kinds of Puppy related projects
Message
Author
woodenshoe-wi
Posts: 109
Joined: Sat 29 Jul 2017, 03:16
Location: Wisconsin

#31 Post by woodenshoe-wi »

29gb and 10gb save file
If that's not a typo I think you need to know that fat filesystems have a 4gb file size limit...

If you need more space you could try repartitioning the SD card and adding an ext4 partition but the first partition needs to remain fat for the bootloader to work.

I am not an expert on how Fatdog works, I just was helping to test because I have a Pi3.

User avatar
veronicathecow
Posts: 559
Joined: Sat 21 Oct 2006, 09:41

#32 Post by veronicathecow »

Hi, yes it was just a typo which I then went back and corrected on my post.

FAT32, of course, blooming fat32, I'm so used to running EXT4 I forgot about those limits, that would explain it even though I was creating a ext4 I am assuming it is within a fat32 4gb limit file container.
Your help has been very much appreciated.

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

#33 Post by don570 »

woodenshoe-wi is giving good advice.


fat32 is limited - no links and a few characters can't be used in file names (such as : ).
Of course, the data inside the savefile isn't limited by this, which is neat feature. 8)

You can format SD card with both fat32 and linux EXT4 format if you wish.

You may have to change cmdline.txt file ---> not sure if this will work to find a stored savefile on second partition.

Code: Select all

savefile=direct:local 
Maybe it does . I'm not sure??

You can always use

Code: Select all

savefile=ask
That always works.

_______________________________________________

spotted
Posts: 43
Joined: Thu 25 Jan 2018, 07:33

#34 Post by spotted »

I thought Pi3's were 64 bit, JB's work around for ARM Pi and Odroid is 32 bit. Is anyone going online and having trouble with Seamonkey 2.33 with security and permissions.

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

#35 Post by woodenshoe-wi »

The CPU on the Pi3 is 64bit capable, but will also run the 32bit code for the Pi2 and Pi Zero.

I was able to fix the SSL errors in Seamonkey by setting the clock to more accurate time.

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

#36 Post by don570 »

spotted wrote:I cannot go online with Seamonkey 2.33., wont load webpage, error message says something like the time is in the future (This is after I set date in control panel)
woodenshoe wrote:I was able to fix the SSL errors in Seamonkey by setting the clock to more accurate time.
Is a restart of X needed??

There is a file in /etc that JamesB put in called 'last boot' or something similar.

This contains the time of last boot. It is used by system during booting up to set the time.
_________________________________________________

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

#37 Post by woodenshoe-wi »

Is a restart of X needed??
Not for me, but make sure you have the day, month and year set correctly.

From my tests of the seamonkey-project.org website I could only get away with the clock set five days in the past.

Just setting the time to the last boot will gradually or rapidly lose time, if you want to use SSL websites I think automatically setting the time from a time server is necessary.

spotted
Posts: 43
Joined: Thu 25 Jan 2018, 07:33

#38 Post by spotted »

This is on a Odroid xu4. Pi2 sfs with odroid kernel works.
I have found last boot and changed the date but cant change the time.
2018-05-04 20:16:56
I set the date to yesterday and now Seamonkey works. I think I an going have to pull out the battery until real time matches the time above then put the battery back in.
I have a 'adjtime' file but its all double dutch to me.

-85329.263389 1525439816 0.000000
1525439816
LOCAL

This is what 'set system time ' looks like in control panel.
Attachments
time.png
(14.45 KiB) Downloaded 331 times

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

#39 Post by woodenshoe-wi »

'set system time' looked the same on my Pi3, the trick I used was to assume that the dialogue was already set to the old time and click on the up or down arrows the number of times needed to get the correct time.

After a few repetitions I got it to the correct time.

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

#40 Post by don570 »

A year ago I wrote an app to set the time and date using the 'date' command.
https://www.geeksforgeeks.org/date-comm ... -examples/

You can try it. You'll have to convert it to a fatdog arm package I assume.

____________________________________________________
Attachments
raspi-date-time-1.1.pet
set time and date with date command
(5.71 KiB) Downloaded 221 times
screenshot-raspi-date.png
interface of app
(8.47 KiB) Downloaded 288 times

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

#41 Post 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

_________________________________________

spotted
Posts: 43
Joined: Thu 25 Jan 2018, 07:33

#42 Post 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?

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

Re: Fatdogarm for Raspberry pi3 - headless

#43 Post 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)
[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

#44 Post 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.
______________________________________________

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

#45 Post 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.
________________________________________________________

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

___________________________

Post Reply