Deutsch   English   Français   Italiano  
<vrnlvh$1499t$2@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: The Natural Philosopher <tnp@invalid.invalid>
Newsgroups: comp.os.linux.misc
Subject: Re: F2FS On USB Sticks?
Date: Sun, 23 Mar 2025 00:52:00 +0000
Organization: A little, after lunch
Lines: 45
Message-ID: <vrnlvh$1499t$2@dont-email.me>
References: <vrikv7$icpd$1@dont-email.me> <sm0v7s2spt5.fsf@lakka.kapsi.fi>
 <lYednSXFeZiM00D6nZ2dnZfqnPudnZ2d@giganews.com>
 <g520blxb3v.ln2@Telcontar.valinor> <vrkdlc$257qv$3@dont-email.me>
 <m46f8sFcqfqU2@mid.individual.net> <vrmebq$1sbl$2@dont-email.me>
 <m48g7uFme0qU3@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 23 Mar 2025 01:52:01 +0100 (CET)
Injection-Info: dont-email.me; posting-host="0aea8a9374fcd350e7099336ef4d1cc7";
	logging-data="1189181"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX185077G2ONUtWNsj0A4Z5AfxyoIqymvlEo="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:s+SI6/U3ubB6I5qi63EWllvz3oI=
Content-Language: en-GB
In-Reply-To: <m48g7uFme0qU3@mid.individual.net>
Bytes: 3133

On 22/03/2025 19:09, rbowman wrote:
> On Sat, 22 Mar 2025 13:35:54 +0000, The Natural Philosopher wrote:
> 
>> The PICO has no filesystem. IN use you hold a button down while powering
>> up and it's Flash presents itself as a USB drive. You copy a special
>> binary file of compiled code onto that 'drive', and it reboots and runs
>> it..
> 
> Okay, you hold down BOOTSEL when plugging it into the USB. Then it shows
> up on Files as RP2350.  If you click on that you see INDEX.HTM and
> INFO_UF2.TXT. If you look at Properties it reports 2 items totaling 305
> bytes and 134.1 MB free.
> 
> df -Th /dev/sda1
> Filesystem     Type  Size  Used Avail Use% Mounted on
> /dev/sda1      vfat  128M  8.0K  128M   1% /media/xxxxx/RP2350
> 
> Then you can
> 
> cp blink.uf2 /media/xxxxx/RP2350/
> 
> and, lo and behold, it starts blinking and vanishes from the file system!
> I'm lazy so after it blinks 20 times it calls
> 
> reset_usb_boot(0, 0);
> 
> and miraculously reappears mounted.  How does it do all this without a
> file system known to Ubuntu? I won't even ask why after copying the
> CircuitPython uf2 it reboots mounted as CIRCUITPYTHON and you can copy .py
> files directly.
> 
> My comment had nothing to do with the programmatic use of the flash
> memory, only how the Pico presents as a mass storage device.

Well it spoofs the disk obviously
-- 
“It is not the truth of Marxism that explains the willingness of 
intellectuals to believe it, but the power that it confers on 
intellectuals, in their attempts to control the world. And since...it is 
futile to reason someone out of a thing that he was not reasoned into, 
we can conclude that Marxism owes its remarkable power to survive every 
criticism to the fact that it is not a truth-directed but a 
power-directed system of thought.”
Sir Roger Scruton