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 Mon 20 Aug 2018, 17:06
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 3 of 5 [74 Posts]   Goto page: Previous 1, 2, 3, 4, 5 Next
Author Message
woodenshoe-wi

Joined: 28 Jul 2017
Posts: 61
Location: Wisconsin

PostPosted: Thu 19 Apr 2018, 19:24    Post subject:  

Quote:
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.
Back to top
View user's profile Send private message 
veronicathecow


Joined: 21 Oct 2006
Posts: 560

PostPosted: Fri 20 Apr 2018, 04:10    Post subject:  

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.
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5117
Location: Ontario

PostPosted: Sat 21 Apr 2018, 14:38    Post subject:  

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

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:
savefile=direct:local


Maybe it does . I'm not sure??

You can always use

Code:
savefile=ask


That always works.

_______________________________________________
Back to top
View user's profile Send private message 
spotted

Joined: 25 Jan 2018
Posts: 9

PostPosted: Sat 28 Apr 2018, 03:58    Post subject:  

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.
Back to top
View user's profile Send private message 
woodenshoe-wi

Joined: 28 Jul 2017
Posts: 61
Location: Wisconsin

PostPosted: Sat 28 Apr 2018, 09:22    Post subject:  

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.
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5117
Location: Ontario

PostPosted: Sat 28 Apr 2018, 14:53    Post subject:  

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.
_________________________________________________
Back to top
View user's profile Send private message 
woodenshoe-wi

Joined: 28 Jul 2017
Posts: 61
Location: Wisconsin

PostPosted: Sat 28 Apr 2018, 16:02    Post subject:  

Quote:
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.
Back to top
View user's profile Send private message 
spotted

Joined: 25 Jan 2018
Posts: 9

PostPosted: Sun 06 May 2018, 03:50    Post subject:  

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.
time.png
 Description   
 Filesize   14.45 KB
 Viewed   172 Time(s)

time.png

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

Joined: 28 Jul 2017
Posts: 61
Location: Wisconsin

PostPosted: Sun 06 May 2018, 10:28    Post subject:  

'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.
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5117
Location: Ontario

PostPosted: Sun 06 May 2018, 14:49    Post subject:  

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

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

____________________________________________________
raspi-date-time-1.1.pet
Description  set time and date with date command
pet

 Download 
Filename  raspi-date-time-1.1.pet 
Filesize  5.71 KB 
Downloaded  67 Time(s) 
screenshot-raspi-date.png
 Description   interface of app
 Filesize   8.47 KB
 Viewed   142 Time(s)

screenshot-raspi-date.png

Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5117
Location: Ontario

PostPosted: Mon 07 May 2018, 13:54    Post subject:  

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=1ryN6R8HJhOmF-g0qT7HC-MA4hsIHamz8

_________________________________________
Back to top
View user's profile Send private message 
spotted

Joined: 25 Jan 2018
Posts: 9

PostPosted: Wed 09 May 2018, 08:40    Post subject:  

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?
Back to top
View user's profile Send private message 
RetroTechGuy


Joined: 15 Dec 2009
Posts: 2898
Location: USA

PostPosted: Wed 09 May 2018, 10:13    Post subject: Re: Fatdogarm for Raspberry pi3 - headless  

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)

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


Joined: 10 Mar 2010
Posts: 5117
Location: Ontario

PostPosted: Wed 09 May 2018, 14:03    Post subject:  

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.

You can try downloading the kernel from repository and install yourself..
http://distro.ibiblio.org/fatdog/arm/images/beta5/kernel-packages/raspi3-kernel.tar.gz
I'd be interested if you can make it work.

config.txt must have...
Code:

initramfs initrd.rpi3
[pi3]
kernel=vmlinuz.rpi3

-----------------------------------------------------------------------------------

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

initramfs initrd.rpi2
[pi2]
kernel=vmlinuz.rpi2


http://murga-linux.com/puppy/viewtopic.php?p=878684&sid=88ccc45285c126622b79e095526cc251#878684

__________________________________________

Quote:
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.
______________________________________________
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5117
Location: Ontario

PostPosted: Wed 09 May 2018, 14:26    Post subject:  

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.

________________________________________________________
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 3 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.0873s ][ Queries: 12 (0.0057s) ][ GZIP on ]