Manjaro ARM for Pinebook
#81
(10-12-2020, 02:13 PM)Corkonian Wrote: I was using 20.06 and 20.08 from here https://osdn.net/projects/manjaro-arm/st...de-plasma/
20.04? Can't find it...

It appears they may have removed those images, it also appears that the reason you didn't get Manjaro to install when you botted from the SD, is that the images provided here are not the Manjaro SD>eMMC installer images. They're likely only making those for the PBP. These would have to written to the eMMC manually.

You've already got it on SD, so you could boot that SD, copy the .img you used to make the SD to a USB drive, plug that in while booted from the SD, and write it to your eMMC.
  Reply
#82
(10-13-2020, 06:43 AM)tophneal Wrote:
(10-12-2020, 02:13 PM)Corkonian Wrote: I was using 20.06 and 20.08 from here https://osdn.net/projects/manjaro-arm/st...de-plasma/
20.04? Can't find it...

It appears they may have removed those images, it also appears that the reason you didn't get Manjaro to install when you botted from the SD, is that the images provided here are not the Manjaro SD>eMMC installer images. They're likely only making those for the PBP. These would have to written to the eMMC manually.

You've already got it on SD, so you could boot that SD, copy the .img you used to make the SD to a USB drive, plug that in while booted from the SD, and write it to your eMMC.
So download the image, flash it to micro SD, flash it to USB, start from SD, have the SD set up, reboot and then dd if=/dev/usbsomething of=/path_to_eMMC ? What about uBoot?
  Reply
#83
(10-13-2020, 06:57 AM)Corkonian Wrote: So download the image, flash it to micro SD, flash it to USB, start from SD, have the SD set up, reboot and then dd if=/dev/usbsomething of=/path_to_eMMC ? What about uBoot?

Don't flash the USB, just copy the .img to it, so you can write that to the eMMC. Otherwise, yes. No need to worry about uboot. Those img files are pretty self contained, they hold uboot at the appropriate location already, which will be written to your drive when you run dd.
  Reply
#84
(10-13-2020, 06:59 AM)tophneal Wrote:
(10-13-2020, 06:57 AM)Corkonian Wrote: So download the image, flash it to micro SD, flash it to USB, start from SD, have the SD set up, reboot and then dd if=/dev/usbsomething of=/path_to_eMMC ? What about uBoot?

Don't flash the USB, just copy the .img to it, so you can write that to the eMMC. Otherwise, yes. No need to worry about uboot. Those img files are pretty self contained, they hold uboot at the appropriate location already, which will be written to your drive when you run dd.
so dd if=path_to_img_on usb of=/dev/mmcblk0
Or do I have no make a partition and dd if=path_to_img of=/dev/mmcblk0p1
  Reply
#85
(10-13-2020, 07:23 AM)Corkonian Wrote: so dd if=path_to_img_on usb of=/dev/mmcblk0
Or do I have no make a partition and dd if=path_to_img of=/dev/mmcblk0p1

Bingo! No partitions, b/c the img already contains them. A dd of the img will provide all the needed partitions. Just to be safe, run lsblk before running dd, to make sure you've properly identified which is the emmc.
  Reply
#86
(10-13-2020, 07:31 AM)tophneal Wrote:
(10-13-2020, 07:23 AM)Corkonian Wrote: so dd if=path_to_img_on usb of=/dev/mmcblk0
Or do I have no make a partition and dd if=path_to_img of=/dev/mmcblk0p1

Bingo! No partitions, b/c the img already contains them. A dd of the img will provide all the needed partitions. Just to be safe, run lsblk before running dd, to make sure you've properly identified which is the emmc.
Okay... well, then here we go... Wish me luck!
  Reply
#87
(10-13-2020, 08:26 AM)Corkonian Wrote: Okay... well, then here we go... Wish me luck!

Good luck! Wink
  Reply
#88
(10-13-2020, 08:26 AM)Corkonian Wrote:
(10-13-2020, 07:31 AM)tophneal Wrote:
(10-13-2020, 07:23 AM)Corkonian Wrote: so dd if=path_to_img_on usb of=/dev/mmcblk0
Or do I have no make a partition and dd if=path_to_img of=/dev/mmcblk0p1

Bingo! No partitions, b/c the img already contains them. A dd of the img will provide all the needed partitions. Just to be safe, run lsblk before running dd, to make sure you've properly identified which is the emmc.
Okay... well, then here we go... Wish me luck!

Edit: Worked. Got the old Pinebook running again. Now that it has swap, it's still useable for lightweight stuff like Office, Web ... 
  Reply
#89
I will share my story, maybe it will be useful to someone. This is about manjaro and u-boot. After installing manjaro, I couldn't boot properly if the pinebook had a microSD card installed. The boot always hung up until the manjaro logo appeared. The boot was successfuly only if removing the microSD card, or after 3-4 reboots. The problem was solved simply, but I found a solution a year later.

1) Prepare a bootable USB flash drive with manjaro using the "balena etcher". I used a USB flash drive, not a microSD card. But you can also use a microSD card
2) Insert the flash drive and turn on pinebook.
3) You need to type several commands during u-boot.
a) if you use a flash drive, then type
    printenv
In the output log, we look for something like "bootcmd_usb". I have this "bootcmd_usb0".
If the command is found, type
    run <your_bootcmd_command>
In my case, this is
    run bootcmd_usb0
Next, the boot is the same as from a microSD card
b) If you use a microSD card, type "mmcinfo" and see which mmc device number corresponds to your microSD card. Next, type
    mmc dev <your_SD_card_number>
In my case, this is
mmc dev 0
And boot with the "boot" command
4) All this is necessary in order to boot from the manjaro live-cd and edit the partitions on your eMMC drive. There was only one partition on my eMMC disk after installing manjaro. But to save the u-boot settings correctly, we need a second partition with the FAT32 file system at the end of the disk. I create it about 50 MB. I was only able to create a partition correctly using the 'gnome-disk-utility' (You need to type this in live-cd terminal:
    sudo pacman -S gnome-disk-utility
). In the utility itself, change the size of the main partition and then add the second one at the end of the disk.

After all these manipulations, manjaro began to boot without problems, even with the inserted microSD card. Also now I have the ability to boot from a usb flash drive  Smile
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Slarm64 on Pinebook [Slackware Arm - 64 bit] KRT 19 4,511 11-16-2020, 10:38 AM
Last Post: KRT
  Pinebook is going the way of Betamax? trigger 10 2,807 11-01-2020, 02:02 PM
Last Post: leperotero
  Plasma-wayland on Manjaro tophneal 2 1,492 09-01-2020, 06:48 AM
Last Post: tophneal
  Pinebook Pro (i3 WM): Confirm Shutdown on Power Button etothepii 3 1,069 08-14-2020, 06:03 AM
Last Post: loblik
  Manjaro sway profile for pinebook e-minguez 3 840 07-21-2020, 03:25 PM
Last Post: jezek
  Reset User or Factory Reset PineBook Linux 11.6" pittman64 1 928 07-07-2020, 11:26 PM
Last Post: tllim
  pinebook black screen when booting with "different power mode than last used" penzoiders 12 3,973 04-27-2020, 06:27 AM
Last Post: tophneal
  Kali Linux for the Pinebook Luke 1 1,198 03-03-2020, 05:01 AM
Last Post: e-minguez
  Anyway to run Teamviewer for ARM/Pinebook? Ekkaia 8 5,609 01-16-2020, 08:51 PM
Last Post: dhosh
  Pinebook Wlan Driver does not work properly matze79 2 873 12-15-2019, 02:50 AM
Last Post: matze79

Forum Jump:


Users browsing this thread: 1 Guest(s)