Proper way to use mrfixit update
#1
I'm not booting from sd card. Tried copying and pasting the updat_sh in terminal after downloading the files but still not working. Am I doing something wrong.
Apparently my uboot is fine. Used etcher on a windows pc to make an sd and worked fine. For some reason dd/of isn't working maybe? Progress in terminal shows like it's doing something, so I'm not sure what the issue is.
#2
What is the exact command syntax you used?
#3
(09-29-2020, 11:09 AM)KC9UDX Wrote: What is the exact command syntax you used?
Code:
xzcat <path to .img.xz file> | sudo dd of=<device path> bs=4M status=progress
#4
Right, but unless you had either of those parameters wrong, it shouldn't fail.

If this is on the Pinebook, 64k might be faster that 4m. At least that's what I found with the SD cards that I've used so far.
#5
(09-29-2020, 12:44 PM)KC9UDX Wrote: Right, but unless you had either of those parameters wrong, it shouldn't fail.

If this is on the Pinebook, 64k might be faster that 4m.  At least that's what I found with the SD cards that I've used so far
Not in front of the machine but I think I used /dev/mmcblk2 for sd card. And I just clicked and dropped the file path in. I can try 64k.
#6
I presume that would work. But something went wrong somewhere. `dd` is as down-to-Earth as it gets. All it does is blindly copy from one place to the other, block by block. So long as you feed it good parameters and the data stream is correct, it really can't go wrong.

bs=64k should be faster from what I've seen, but shouldn't affect the data success.

What will slow you down is doing the unxz in advance. But I would do that just to simplify it further.
#7
So just extract then in terminal I can just do dd? Still learning Linux and terminal so I thought I would be a hot shot and use terminal for everything.
#8
xzcat should work OK, saves wear and tear on SD (writing extracted image),,
bs speed depends on a lot of things, I would say 64k is minimum for good performance,
somebody did a test and results were hardly determinate
Not surprising, there are about 4 variables
iozone gives a good clue
of= should be to ENTIRE block device, right?,, not to a partition
(and you do have to be root, or sudo both sides of pipe)

and what's the thing about mrfixit_update.sh,, you know that is ONLY for that distro?
#9
(09-29-2020, 02:59 PM)wdt Wrote: xzcat should work OK, saves wear and tear on SD (writing extracted image),,
bs speed depends on a lot of things, I would say 64k is minimum for good performance,
somebody did a test and results were hardly determinate
Not surprising, there are about 4 variables
iozone gives a good clue
of= should be to ENTIRE block device, right?,, not to a partition
(and you do have to be root, or sudo both sides of pipe)

and what's the thing about mrfixit_update.sh,, you know that is ONLY for that distro?
No! I guess I missed that somehow.

Oh sudo on both sides. Ok. I'll try again tonight.
#10
So it doesn't interrupt pipeline to ask password, sudo for xzcat is not neccessary,
but then won't ask password for sudo dd
mrfixit_update.sh not only updates uboot and kernel, also changes extlinux.conf to point to new kernel
For any other distro, this would not work out well


Possibly Related Threads…
Thread Author Replies Views Last Post
  Locked out after update Shylocked 5 500 09-13-2024, 07:40 AM
Last Post: tophneal
  Brand new Pinebook Pro doesn't boot after Manjaro update johnboiles 8 3,723 12-15-2023, 02:11 PM
Last Post: wdt
  After update, multiple problems, pinebook pro. jd50i 1 1,490 09-16-2023, 09:41 AM
Last Post: jd50i
  Metis package can't update Mangustis 1 1,464 02-22-2023, 03:23 PM
Last Post: robocone
  Keyboard/Touchpad update SH61F83 IC zaphod80013 4 4,195 09-14-2022, 03:56 AM
Last Post: Carl
Big Grin EASY SOLUTION for Manjaro "Missing Keys" Update and Install Failure Zoroaster-Z 0 1,736 08-14-2022, 09:01 PM
Last Post: Zoroaster-Z
  Ring around screen following update tylerjohnson3208 2 2,575 05-10-2022, 01:52 AM
Last Post: diyagabriel
  Wont charge when powered off, and update question pineymousepad 7 7,293 12-11-2021, 09:50 PM
Last Post: pineymousepad
  Issues with External Display After Recent Update reundo 0 1,664 11-18-2021, 06:37 PM
Last Post: reundo
Bug Wrong FN keys after keyboard FW update j4n3z 2 3,070 10-19-2021, 01:57 AM
Last Post: j4n3z

Forum Jump:


Users browsing this thread: 1 Guest(s)