PINE64
Building a new SD card - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: ROCKPRO64 (https://forum.pine64.org/forumdisplay.php?fid=98)
+--- Forum: Linux on RockPro64 (https://forum.pine64.org/forumdisplay.php?fid=101)
+--- Thread: Building a new SD card (/showthread.php?tid=9747)



Building a new SD card - linuxha - 04-26-2020

I'm trying to get my RockPro64 onto a new SD card. Under Linux, as root I run:

7z x ./Armbian_20.02.1_Rockpro64_buster_legacy_4.4.213.7z
./balenaEtcher-1.5.70-x64.AppImage ./Armbian_20.02.1_Rockpro64_buster_legacy_4.4.213.img

When done, my SD looks like this:

root@mozart:/home/njc/dev/taz# fdisk -l /dev/sdc
Disk /dev/sdc: 14.9 GiB, 15931539456 bytes, 31116288 sectors
Disk model: Card  Reader    
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x019a33bc

Device     Boot Start     End Sectors  Size Id Type
/dev/sdc1       32768 2899967 2867200  1.4G 83 Linux
root@mozart:/home/njc/dev/taz# 

I then put it into the RockPro64, power it up and I see nothing. I have no WiFi and the console doesn't spit out anything.

The old SD card that still boots (but with an OS that is very unstable) has:

njc@taz:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            1.9G     0  1.9G   0% /dev
tmpfs           388M  5.4M  383M   2% /run
/dev/sda2       1.8T   35G  1.7T   2% /
tmpfs           1.9G     0  1.9G   0% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           1.9G     0  1.9G   0% /sys/fs/cgroup
/dev/mmcblk0p6  112M  4.0K  112M   1% /boot/efi
tmpfs           388M     0  388M   0% /run/user/1001
njc@taz:~$ 

Is this enough information to figure out what is wrong?

I've upgraded SDs with x86, Pi and Toradex but the RockPro64 is giving me no end of fits.


RE: Building a new SD card - mabs - 04-26-2020

Hi,

are you sure your new SD ist not broken.
Why not make a copy using dd or ddrescue of
The good SD to a file for backup purpose and
copy the new OS on that SD, maybe that works.

M


RE: Building a new SD card - linuxha - 04-27-2020

(04-26-2020, 11:12 PM)mabs Wrote: Hi,

are you sure your new SD ist not broken.
Why not make a copy using dd or ddrescue of
The good SD to a file for backup purpose and
copy the new OS on that SD, maybe that works.

M

Nope, 100% positive, SD is good, computer is also good.

I was poking around the site when I noticed on the front page (who read that ... ;-) ) and found that there is an official version of Debian. So I followed the links, zcat'd the images together and etcher'd the image to the same SD card. Not only did it boot, I now have serial port access at 1500000 (1.5Mbaud - sure beat the 110 baud I started out with decades ago).

Official Debian support
https://forum.pine64.org/showthread.php?tid=9744