11-18-2019, 09:48 PM
(This post was last modified: 11-18-2019, 09:51 PM by SuburbanDad.)
(11-18-2019, 10:54 AM)martinayotte Wrote: While having inserted Armbian SDCard, did you tried to stop u-boot to get into prompt and then do "mmc list" and something like "ls mmc X" where "X" is the eMMC ?
mmc reads fine from u-boot, as long as u-boot image comes from the SD card:
Quote:=> mmc list
mmc@4020000: 0 (SD)
mmc@4022000: 1 (eMMC)
=> mmc info
Device: mmc@4022000
Manufacturer ID: 15
OEM: 100
Name: CJNB4
Bus Speed: 52000000
Mode : MMC High Speed (52MHz)
Rd Block Len: 512
MMC version 5.1
High Capacity: Yes
Capacity: 58.2 GiB
Bus Width: 1-bit
Erase Group Size: 512 KiB
HC WP Group Size: 8 MiB
User Capacity: 58.2 GiB WRREL
Boot Capacity: 4 MiB ENH
RPMB Capacity: 4 MiB ENH
=> mmc part
Partition Map for MMC device 1 -- Partition Type: DOS
Part Start Sector Num Sectors UUID Type
1 8192 2220032 795ac289-01 83
=> ls mmc 1
<DIR> 4096 .
<DIR> 4096 ..
<DIR> 16384 lost+found
<DIR> 4096 bin
<DIR> 4096 boot
<DIR> 4096 dev
<DIR> 4096 etc
<DIR> 4096 home
<DIR> 4096 lib
<DIR> 4096 media
<DIR> 4096 mnt
<DIR> 4096 opt
<DIR> 4096 proc
<DIR> 4096 root
<DIR> 4096 run
<DIR> 4096 sbin
<DIR> 4096 selinux
<DIR> 4096 srv
<DIR> 4096 sys
<DIR> 4096 tmp
<DIR> 4096 usr
<DIR> 4096 var
=> ls mmc 1 /boot
<DIR> 4096 .
<DIR> 4096 ..
<SYM> 22 Image
<SYM> 18 dtb
<SYM> 22 uInitrd
<DIR> 4096 dtb-5.1.15-sunxi64
230454 boot.bmp
0 .next
1536 armbian_first_run.txt.template
3086376 System.map-5.1.15-sunxi64
116 armbianEnv.txt
154694 config-5.1.15-sunxi64
4882 boot-desktop.png
2970 boot.cmd
3042 boot.scr
8921657 initrd.img-5.1.15-sunxi64
8921721 uInitrd-5.1.15-sunxi64
14563336 vmlinuz-5.1.15-sunxi64
=>
what is the nand-sata-install script?
EDIT: it looks like the `nand-sata-install` script requires the ability to read eMMC and SD at the same time - which so far I have not been able to do. The eMMC device shows up when I boot from SD, but as soon as I attempt to read it, the app hangs (fdisk, mount, etc)
TIA