gerotmf

Members
  • Content Count

    3
  • Joined

  • Last visited

About gerotmf

  • Rank
    Newbie

Recent Profile Visitors

200 profile views
  1. Well i've finally found time to fiddle with emmc storage. Upgrade did corrupt boot script, so what i did is basically just copied everything from my usb flash to /dev/mmcblk1p1 including /boot .. then fixed /boot/armbianEnv.txt so that root points to correct uuid and also /etc/fstab so that root fs can be mounted rw.. I also removed usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u line from armbianEnv.txt (not sure what that does, but it was not on sd card and i guess emmc isn't usb so .. ). so basically, boot up with sd card or usb flash (i had running system on flash drive) do blkid .. /dev/mmcblk1p1: UUID="c93833b4-8c9a-46b2-ad43-46d286ba9a10" TYPE="ext4" PARTUUID="e0788fc1-01" .. to get UUID of mmcblk1p1 mkdir /tmp/mmc mount /dev/mmcblk1p1 /tmp/mmc rsync -avx / /tmp/mmc vi /tmp/mmc/boot/armbianEnv.txt change root UUID to the one of /dev/mmcblk1p1 from blkid command save changes vi /tmp/mmc/etc/fstab change first line, use same UUID as above save changes umount /mnt/tmp poweroff then remove usb flash (for me) i guess sd card for you, and press reset button .. I can confirm that 5.59 works on orangepi pc plus from emmc.
  2. Yep i have very old distribution (Armbian_5.30_Orangepipcplus_Debian_jessie_default_3.4.113), so i've just installed new one on usb and i'm booting from there (needed to print with OctoPrint asap, so i just left it as is), will play with it later, Thanks for reply.
  3. Hi, Is there a way to fix emmc booting problem from uboot itself, i've updated armbian and now orangepi pc+ doesn't boot, i've connected uart and i see that it reads /boot/boot.scr from mmc 1, but then tries to load stuff from mmc 0, so i guess my boot.scr got overwritten by default one .. or something. boot shows this => boot switch to partitions #0, OK mmc1(part 0) is current device Scanning mmc 1:1... Found U-Boot script /boot/boot.scr 3565 bytes read in 6 ms (580.1 KiB/s) ## Executing script at 43100000 U-boot loaded from eMMC or secondary SD Boot script loaded from mmc MMC: no card present ** Bad device mmc 0 ** MMC: no card present ... and then BOOTP load If it's possible to fix from uart console, it would be nice, but i guess i'll have to go search for some sd card or usb key to boot