On Sun, Nov 10, 2024 at 07:49:09AM -0500, gene heskett wrote:
> I have just spent the better part of the night trying to copy a 37k
> firmware.bin file to an sd card. file generated on a bananapi-m5 but getting
> no perms responses.
> 

Gene,

Exactly WHAT did you do. Do you have a command history which shows the
exact commands you ran?

What are you trying to do: are you trying to add a firmware file to an
existing image? [In other words: what was there on the card before you 
started? ]

How are you mounting the card on the other machine / printer or whatever?

> I copyed the file to my /home/gene partition, mkdir .local/sdb1 (which is
> what dmesg calls it when the 32G micro-sd in inserted into the card reader)
> Spent 20 minutes verifying I owned the whole path, chowned the file to me,
> then finally was able copy it to the micro0-sd. unmounted the card and took
> it to the printer. Printer didn't take it, still has marlin firmware in it.
> Shut it of, bring card back to reader and its blanked!!! The file should not
> be erased, but to prevent loops, s/b upper-cased to indicate its been read.
> 2 reboots later the printer card still idents as running marlin, not
> klipper.
> 

If you have a micro-SD card, place it in one of the larger adapters,
Place that directly in the machine or in a USB-SD card reader
As you plug the card in, what does dmesg say?

> Something is fubar someplace as even sudo has very low success at fixing
> this. And I did the bookworm kernel update along with 122 other files and
> rebooted about 21:00 last before starting this. uname -a confirms it
> gene@coyote:~$ uname -a
> Linux coyote 6.1.0-27-rt-amd64 #1 SMP PREEMPT_RT Debian 6.1.115-1
> (2024-11-01) x86_64 GNU/Linux
> 
For bookworm up to date: /etc/debian_version should show 12.8
/etc/os-release will just show 12 and bookworm

> Whats wrong?
> 

We have too few details of what you've actually done?

> Cheers, Gene Heskett, CET.

Cheers and all the best, as ever,

Andy

> -- 
> "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author, 1940)
> If we desire respect for the law, we must first make the law respectable.
>  - Louis D. Brandeis
> 

Reply via email to