Jump to content

Recommended Posts

Posted (edited)

Is there a github repo for armbian-install? On the RockPi-S with both eMMC and SD cards installed, it's showing the devices backwards or un-named in the menu. I'd like to open an issue report to see if it can be fixed.

Edited by Meestor_X
Posted

Can someone explain these lines?

	# find real mmcblk device numbered 0, 1, 2 for eMMC, SD
	for ret in $(find /dev -name 'mmcblk[0-2]' -and -type b)
	do
		if [ -b ${ret}boot0 ];then
			emmc_dev=$ret
		else
			sd_dev=$ret
		fi
	done


On the RockPi-S, $ret would equal mmcblk0 and mmcblk1 which are the eMMC and SD card, respectively. There's no device called "mmcblk0boot0" or "mmcblk1boot0".

Posted
16 часов назад, Meestor_X сказал:

Is there a github repo for armbian-install? On the RockPi-S with both eMMC and SD cards installed, it's showing the devices backwards or un-named in the menu. I'd like to open an issue report to see if it can be fixed.

Please post the output of the df -h and lsblk commands here.

Which image are you using and which version of u-boot is running on your board? (this can be seen in the UART console)

Posted
df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            159M     0  159M   0% /dev
tmpfs            47M  4.8M   42M  11% /run
/dev/mmcblk1p1   58G  3.4G   53G   7% /
tmpfs           234M   76K  233M   1% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           234M  4.0K  234M   1% /tmp
/dev/zram1       47M  2.4M   42M   6% /var/log
/dev/mmcblk0p1  3.4G  2.0G  1.3G  62% /media/emmc
tmpfs            47M     0   47M   0% /run/user/0
 

 

lsblk
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
mmcblk1     179:0    0  59.6G  0 disk 
└─mmcblk1p1 179:1    0    59G  0 part /var/log.hdd
                                      /
mmcblk0     179:32   0   3.6G  0 disk 
└─mmcblk0p1 179:33   0   3.5G  0 part /media/emmc
zram0       252:0    0 233.1M  0 disk [SWAP]
zram1       252:1    0    50M  0 disk /var/log
zram2       252:2    0     0B  0 disk 

 

lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Armbian 25.8.1 bookworm
Release:	12
Codename:	bookworm

uname -r
6.12.44-current-rockchip64

 

I don't have an easy way to do the serial terminal thing to check U-Boot. I have updated it to the "latest" using armbian-install, however...

Posted
1 час назад, Meestor_X сказал:
mmcblk1     179:0    0  59.6G  0 disk 
└─mmcblk1p1 179:1    0    59G  0 part /var/log.hdd

Is this your SD card?

 

1 час назад, Meestor_X сказал:
mmcblk0     179:32   0   3.6G  0 disk 
└─mmcblk0p1 179:33   0   3.5G  0 part /media/emmc

This is your eMMC just 3.6G in size.
This is the first time I have met this variant.
We need to think about whether it is possible to add an exception for this case.

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines