Go to advanced search

by jharris1993
Thu May 20, 2021 3:00 pm
Forum: General discussion
Topic: STICKY: PINN - An enhanced version of NOOBS.
Replies: 1557
Views: 543246

Re: STICKY: PINN - An enhanced version of NOOBS.

Google turned up this -> https://unix.stackexchange.com/questions/109636/is-there-a-linux-deep-diff-tool-that-also-compares-file-attributes Thanks! That's one of the fundamental problems with web searches - what you call things can have a drastic effect on how many, or even what, is returned. This ...
by jharris1993
Sun May 16, 2021 4:39 pm
Forum: General discussion
Topic: Latest update removes vscode repo?
Replies: 70
Views: 7930

Re: Latest update removes vscode repo?

P.S.

If I decide that I WANT to install VS-Code from the Raspberry Pi repo's, how do I get it and what is the package called?
by jharris1993
Sun May 16, 2021 4:34 pm
Forum: General discussion
Topic: Latest update removes vscode repo?
Replies: 70
Views: 7930

Re: Latest update removes vscode repo?

Greetings! After reading through this thread, and the other thread about the Microsoft GPG key, I feel compelled to add a few things: 1. I have learned to hate religious wars with an unbridled passion. I've spent too much of my life dealing with Atari vs Commodore, Mac vs PC, Open Source vs Closed s...
by jharris1993
Thu May 13, 2021 7:59 am
Forum: General discussion
Topic: STICKY: PINN - An enhanced version of NOOBS.
Replies: 1557
Views: 543246

Re: STICKY: PINN - An enhanced version of NOOBS.

A corollary question: Given: A file structure with numerous sub-directories. Assume a second copy that should be identical. Is it possible to somehow compare the two structures to see if they are in fact identical? And if not, exactly what the differences are? (File differences? Permission differenc...
by jharris1993
Wed May 12, 2021 4:05 pm
Forum: General discussion
Topic: STICKY: PINN - An enhanced version of NOOBS.
Replies: 1557
Views: 543246

Re: STICKY: PINN - An enhanced version of NOOBS.

Simply, bsdtar cannot be used on PINN to tar files due to buildroot limitations of using uclibc, although it can untar files. Likewise, I use gzip instead of xz to compress archives on the Pi due to memory and performance constraints (think PiZero). Xz is used on a PC for ultimate compression, but ...
by jharris1993
Wed May 12, 2021 10:25 am
Forum: General discussion
Topic: STICKY: PINN - An enhanced version of NOOBS.
Replies: 1557
Views: 543246

Re: STICKY: PINN - An enhanced version of NOOBS.

OK. I get it. BSD tar handles a wider range of attributes and permissions than the "stock" GNU tar does, and it's needed to package the more escoteric distributions. (This was mentioned in the packaging instructions, BTW.) But that still doesn't answer the question of why you used GNU tar ...
by jharris1993
Tue May 11, 2021 1:17 pm
Forum: General discussion
Topic: STICKY: PINN - An enhanced version of NOOBS.
Replies: 1557
Views: 543246

Re: STICKY: PINN - An enhanced version of NOOBS.

Different topic, functional question: When PINNifying a file, the directions say to use BSD tar because of some particular advantage it has over the regular, plain-vanilla GNU tar, and these advantages are, apparently critical to making a good PINNified package. So critical in fact that procount act...
by jharris1993
Mon May 10, 2021 10:20 pm
Forum: General discussion
Topic: STICKY: PINN - An enhanced version of NOOBS.
Replies: 1557
Views: 543246

Re: STICKY: PINN - An enhanced version of NOOBS.

i think the biggest improvement procount could do, is auto-generate an autoboot.txt like yours, from a GUI so you just tell pinn what pin should boot into each os, it creates the config for you, and boom your done! That might be nice, but procount has so much on his plate as it is. You wanna take a...
by jharris1993
Mon May 10, 2021 9:47 pm
Forum: Troubleshooting
Topic: (Bug?) "start_x=1" (and possibly other commands/directives) do not work in an "included" config.txt file.
Replies: 39
Views: 1759

Re: (Bug?) "start_x=1" (and possibly other commands/directives) do not work in an "included" config.txt file.

I have run some experiments and I can confirm that (for all intents and purposes), after the autoboot.txt file transfers control to the selected boot partition, the effect is as if the device had actually booted into that partition as if it were the original boot partition. I did not test includes, ...
by jharris1993
Mon May 10, 2021 9:21 pm
Forum: General discussion
Topic: STICKY: PINN - An enhanced version of NOOBS.
Replies: 1557
Views: 543246

Re: STICKY: PINN - An enhanced version of NOOBS.

@cleverca22 - interesting. I never knew that. It will make Jim's project easier. Thanks for posting. I just tested this out by creating the following autoboot.txt file and "dotting out", (marking hidden), the pinn_init.conf file: # autoboot.txt file to automatically boot based on a GPIO p...
by jharris1993
Mon May 10, 2021 7:25 pm
Forum: Troubleshooting
Topic: (Bug?) "start_x=1" (and possibly other commands/directives) do not work in an "included" config.txt file.
Replies: 39
Views: 1759

Re: (Bug?) "start_x=1" (and possibly other commands/directives) do not work in an "included" config.txt file.

first, bootcode.bin will parse autoboot.txt, and find the boot_partition=, if not found, it defaults to the first fat32 then it will parse config.txt from the "boot" fat32 partition (which can be different from where autoboot.txt lives) while parsing config.txt, it doesnt support include ...
by jharris1993
Mon May 10, 2021 5:35 pm
Forum: Troubleshooting
Topic: (Bug?) "start_x=1" (and possibly other commands/directives) do not work in an "included" config.txt file.
Replies: 39
Views: 1759

Re: (Bug?) "start_x=1" (and possibly other commands/directives) do not work in an "included" config.txt file.

autoboot.txt only supports boot_partition and the conditional flags, nothing else As they say in the play George Washington Slept Here : "Now I'm REALLY confused!" You said before that certain directives like "start_x=1" are ONLY executed when the binary blob makes its first pas...
by jharris1993
Mon May 10, 2021 4:37 pm
Forum: Troubleshooting
Topic: (Bug?) "start_x=1" (and possibly other commands/directives) do not work in an "included" config.txt file.
Replies: 39
Views: 1759

Re: (Bug?) "start_x=1" (and possibly other commands/directives) do not work in an "included" config.txt file.

the reboot mechanism, is only in place for when you decide which fat32 partition, "too late" in the boot process, after start.elf has fully started - it resets the whole SoC, and then boots again, from the "right" fat32 partition noobs/pinn are making that choice too late in the...
by jharris1993
Mon May 10, 2021 9:52 am
Forum: Troubleshooting
Topic: (Bug?) "start_x=1" (and possibly other commands/directives) do not work in an "included" config.txt file.
Replies: 39
Views: 1759

Re: (Bug?) "start_x=1" (and possibly other commands/directives) do not work in an "included" config.txt file.

As I understand it, PINN selects the OS to boot by executing a "reboot [x]" where "x" is the partition to boot through. The mechanism is essentially the same as loading the "magic" register and rebooting, whereupon it completely restarts, executes first-boot from the se...
by jharris1993
Mon May 10, 2021 9:45 am
Forum: Troubleshooting
Topic: (Bug?) "start_x=1" (and possibly other commands/directives) do not work in an "included" config.txt file.
Replies: 39
Views: 1759

Re: (Bug?) "start_x=1" (and possibly other commands/directives) do not work in an "included" config.txt file.

So, this is equivalent to the second boot step, right?

That being the case, I'd have to put directives that start[x].elf doesn't read into the initial config.txt.

Or am I misunderstanding something?
by jharris1993
Mon May 10, 2021 8:26 am
Forum: General discussion
Topic: STICKY: PINN - An enhanced version of NOOBS.
Replies: 1557
Views: 543246

Re: STICKY: PINN - An enhanced version of NOOBS.

@cleverca22 - interesting. I never knew that. It will make Jim's project easier. Thanks for posting. internally, bootconf.txt (spi flash), config.txt, and autoboot.txt are all ran thru the exact same parsing function, and the only difference is the array detailing what options are valid Is it possi...
by jharris1993
Sun May 09, 2021 7:25 pm
Forum: Troubleshooting
Topic: (Bug?) "start_x=1" (and possibly other commands/directives) do not work in an "included" config.txt file.
Replies: 39
Views: 1759

Re: (Bug?) "start_x=1" (and possibly other commands/directives) do not work in an "included" config.txt file.

Reading all of this, both here and on the PINN sticky, makes me ask one important question: When you go through the "boot_partition=[x]" - does it reboot through the partition, making the execution in that partition the same as first-boot in the root partition ( i.e. it reloads the binary ...
by jharris1993
Sun May 09, 2021 7:14 pm
Forum: General discussion
Topic: STICKY: PINN - An enhanced version of NOOBS.
Replies: 1557
Views: 543246

Re: STICKY: PINN - An enhanced version of NOOBS.

all of the usual conditional statements (that bootcode.bin supports) work in autoboot.txt! so you could program autoboot.txt to always boot into say raspi-os, on the first boot (skip loading pinn, then rebooting to raspi-os) but if a given gpio pin is in a certain state, it will instead load pinn ....
by jharris1993
Sun May 09, 2021 4:30 pm
Forum: Troubleshooting
Topic: (Bug?) "start_x=1" (and possibly other commands/directives) do not work in an "included" config.txt file.
Replies: 39
Views: 1759

Re: (Bug?) "start_x=1" (and possibly other commands/directives) do not work in an "included" config.txt file.

while looking at rpi firmware today, i found an undocumented boot_partition option, and after some experimentation, confirmed how it works: [root@system76:~]# cat /mnt/autoboot.txt gpio=26=ip,pu [gpio26=0] boot_partition=2 [gpio26=1] boot_partition=3 it appears to use the same mechanism as PINN, an...
by jharris1993
Sat May 08, 2021 10:56 am
Forum: Troubleshooting
Topic: (Bug?) "start_x=1" (and possibly other commands/directives) do not work in an "included" config.txt file.
Replies: 39
Views: 1759

Re: (Bug?) "start_x=1" (and possibly other commands/directives) do not work in an "included" config.txt file.

in the case of the rpi4, the bootcode.bin is held in SPI flash and is the same no matter which SD card you insert so on the 2nd boot, it will behave exactly as if that secondary /boot was the only fat32 partition on the card (as far as firmware is concerned) I am sorry, but I am not exactly sure wh...
by jharris1993
Sat May 08, 2021 10:37 am
Forum: General discussion
Topic: STICKY: PINN - An enhanced version of NOOBS.
Replies: 1557
Views: 543246

Re: STICKY: PINN - An enhanced version of NOOBS.

Hello @procount Is there a fresh image of ubuntu as it wont boot for me, Im going to try build 21 and copy its boot and root manually over the pinn installed ubuntu.. Using rpi4 8gh with latest April eeprom Have you tried re-installing the Ubuntu image from online? Sometimes, very seldom but it doe...
by jharris1993
Fri May 07, 2021 5:30 pm
Forum: General discussion
Topic: STICKY: PINN - An enhanced version of NOOBS.
Replies: 1557
Views: 543246

Re: STICKY: PINN - An enhanced version of NOOBS.

Procount, This is a suggestion that you can implement if and when you choose: Suggestion: Place in your signature a link that ALWAYS points to whatever the very latest-and-greatest PINN release happens to be. This way if someone, (like me!), decided to download a shiny, new, and fresh copy of The La...
by jharris1993
Fri May 07, 2021 3:06 pm
Forum: Troubleshooting
Topic: (Bug?) "start_x=1" (and possibly other commands/directives) do not work in an "included" config.txt file.
Replies: 39
Views: 1759

Re: (Bug?) "start_x=1" (and possibly other commands/directives) do not work in an "included" config.txt file.

even if it is closed source, you can still decompile the binary, and depending on your skill and tools, you can get things into a state where you can read what its doing Isn't "reverse engineering" forbidden by the Broadcomm license? in this case, i just did a dumb search for "includ...
by jharris1993
Fri May 07, 2021 2:24 pm
Forum: Troubleshooting
Topic: (Bug?) "start_x=1" (and possibly other commands/directives) do not work in an "included" config.txt file.
Replies: 39
Views: 1759

Re: (Bug?) "start_x=1" (and possibly other commands/directives) do not work in an "included" config.txt file.

This thread (and at least one other) hasn't arisen from one config.txt that'll work on many Pi. It's ceem from a desire to have an SD card with one boot partition and several root partitions then using a GPIO filter in config.txt to switch between them at boot time. Knida like noobs/pinn but headle...
by jharris1993
Thu May 06, 2021 8:23 pm
Forum: Troubleshooting
Topic: (Bug?) "start_x=1" (and possibly other commands/directives) do not work in an "included" config.txt file.
Replies: 39
Views: 1759

Re: (Bug?) "start_x=1" (and possibly other commands/directives) do not work in an "included" config.txt file.

it sounds like your just re-inventing noobs/pinn, which does the same thing maybe you should have a look at those projects first? Very similar, but with a slightly different boot paradigm. I have already done this with PINN and I am not happy with the way PINN backs up and restores operating system...

Go to advanced search