How to install Ubuntu to eMMC and to install KDE
#31
(10-30-2019, 06:21 AM)Luke Wrote: I sometimes have the Ubuntu 18.04 + plasma act up on me and randomly crash. I have tried to trace down some obvious issue in dmesg and other logs, but found nothing.
If someone has any instight, then that would be great.

Another - minor - issue is that the battery applet doesn't work/start despite powerdevil starting up correctly.

I was running KDE via the Ubuntu repos (on microsd) and noticed it did crash occasionally, always when I was running something using sudo in a GUI, such as synaptic, so I suspect that it was linked to some permissions problem.  Switched to KDE Neon repos on a 64 bit install (again on microsd) and it seems rock solid so far (in the 6 hours I had it up and working.)
  Reply
#32
"So download all the files from here https://github.com/mrfixit2001/updates_r...filesystem and run the mrfixit_update.sh script while running from eMMC. " When I do this, I get this error message: "Syntax error: newline unexpected". I've tried v.1.1 to v1.4 with the same error. What can I do? Can't boot from microSD.
  Reply
#33
(11-08-2019, 10:21 AM)richfm Wrote: "So download all the files from here https://github.com/mrfixit2001/updates_r...filesystem and run the mrfixit_update.sh script while running from eMMC. " When I do this, I get this error message: "Syntax error: newline unexpected". I've tried v.1.1 to v1.4 with the same error. What can I do? Can't boot from microSD.

Which command you run? I run it as "sudo ./mrfixit_update.sh" and before I set the file attributes to executable.
  Reply
#34
(11-08-2019, 10:28 AM)Wizzard Wrote:
(11-08-2019, 10:21 AM)richfm Wrote: "So download all the files from here https://github.com/mrfixit2001/updates_r...filesystem and run the mrfixit_update.sh script while running from eMMC. " When I do this, I get this error message: "Syntax error: newline unexpected". I've tried v.1.1 to v1.4 with the same error. What can I do? Can't boot from microSD.

Which command you run? I run it as "sudo ./mrfixit_update.sh" and before I set the file attributes to executable.

I set the the file to executable first and ran "sudo ./mrfixit_update.sh" and got that error message. I had previously copied ubuntu with mate img file to MMC and then could not boot from microSD.
  Reply
#35
(11-08-2019, 10:34 AM)richfm Wrote:
(11-08-2019, 10:28 AM)Wizzard Wrote:
(11-08-2019, 10:21 AM)richfm Wrote: "So download all the files from here https://github.com/mrfixit2001/updates_r...filesystem and run the mrfixit_update.sh script while running from eMMC. " When I do this, I get this error message: "Syntax error: newline unexpected". I've tried v.1.1 to v1.4 with the same error. What can I do? Can't boot from microSD.

Which command you run? I run it as "sudo ./mrfixit_update.sh" and before I set the file attributes to executable.

I set the the file to executable first and ran "sudo ./mrfixit_update.sh" and got that error message. I had previously copied ubuntu with mate img file to MMC and then could not boot from microSD.

It sounds like the update script is broken somewhere from a copy/paste. Try this:


Code:
sudo apt install wget -y

wget https://gist.githubusercontent.com/foundObjects/03fa5bd07260bf92862cccdfe1407b73/raw/9c0bc5f249ccea3b0d25c67fb3262a0be53d803a/pinebookpro-fetch-uboot1-1.sh

bash ./pinebookpro-fetch-uboot1-1.sh

cd /tmp/mrfixituboot1-1
sudo ./mrfixit_update.sh
  Reply
#36
(11-10-2019, 08:36 PM)Arglebargle Wrote:
(11-08-2019, 10:34 AM)richfm Wrote:
(11-08-2019, 10:28 AM)Wizzard Wrote:
(11-08-2019, 10:21 AM)richfm Wrote: "So download all the files from here https://github.com/mrfixit2001/updates_r...filesystem and run the mrfixit_update.sh script while running from eMMC. " When I do this, I get this error message: "Syntax error: newline unexpected". I've tried v.1.1 to v1.4 with the same error. What can I do? Can't boot from microSD.

Which command you run? I run it as "sudo ./mrfixit_update.sh" and before I set the file attributes to executable.

I set the the file to executable first and ran "sudo ./mrfixit_update.sh" and got that error message. I had previously copied ubuntu with mate img file to MMC and then could not boot from microSD.

It sounds like the update script is broken somewhere from a copy/paste. Try this:


Code:
apt install wget -y

wget https://gist.githubusercontent.com/foundObjects/03fa5bd07260bf92862cccdfe1407b73/raw/9c0bc5f249ccea3b0d25c67fb3262a0be53d803a/pinebookpro-fetch-uboot1-1.sh

bash ./pinebookpro-fetch-uboot1-1.sh

cd /tmp/mrfixituboot1-1
sudo ./mrfixit_update.sh

Thanks, Arglebargle. That worked! Perhaps your comment should be incuded in the PBP wiki.
  Reply
#37
Hey guys,

I can`t get Ubuntu to boot from the eMMC. I flashed according to the tutorial, then launched gparted, which told me to increase the gpt on the eMMC to match the actual size or something similar, so I did. Then the boot partition on the eMMC was FAT32, so I wrote the SD-card boot partition over to the eMMC with
sudo dd if=/dev/mmcblk0p6 of=/dev/mmcblk1p6
I also extended the ext4-partition to consume all of the remaining free space. Now gparted looks like this on the eMMC

.png   eMMC.png (Size: 95.77 KB / Downloads: 10)
but it does not boot from eMMC with the SD-card removed. The power LED lights up orange and nothing happens. It will boot from SD when it`s inserted after a few seconds of orange LED.

What am I doing wrong?
Bjoern
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)