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.
  Reply
#2
What is the exact command syntax you used?
  Reply
#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
  Reply
#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.
  Reply
#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.
  Reply
#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.
  Reply
#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.
  Reply
#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?
  Reply
#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.
  Reply
#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
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Safe to Update? BluBombr64 6 1,001 12-18-2020, 11:59 AM
Last Post: BluBombr64
  Trackpad firmware update Luke 255 147,564 12-15-2020, 12:51 PM
Last Post: tuaris
Bug [Fixed] Issue with mesa-git (Manjaro ARM Stable Update 2020-09-22)) JasonG-FR 20 5,235 12-12-2020, 05:09 AM
Last Post: mogwai
  For sale: Pinebook Pro from the first batch, with the 128 Gb update Linux-Rob 8 3,065 10-07-2020, 12:03 PM
Last Post: Linux-Rob
  Do I need the touchpad update? Paulie420 3 1,268 09-22-2020, 06:40 PM
Last Post: Paulie420
  brick after firmware update on emms sashka_amur 4 1,268 09-22-2020, 02:24 AM
Last Post: sashka_amur
  Default OS update log Luke 194 127,649 06-11-2020, 11:25 PM
Last Post: xmixahlx
  Mr. Fixit Script Manual Update + MicroSD Boot help SageFox 12 5,186 04-17-2020, 03:30 AM
Last Post: mlentink
  unresponsive trackpad after firmware update mamboman777 6 2,465 03-30-2020, 03:35 PM
Last Post: akirakyle
  PineBook Pro Status Update Page? LittleWalter 19 6,830 02-26-2020, 11:07 PM
Last Post: LittleWalter

Forum Jump:


Users browsing this thread: 1 Guest(s)