by
zip0box » Wed Aug 15, 2018 4:35 pm
I have same problem with Nano Pi Neo Air, I flashed nanopi-neo-air_eflasher_4.14.52_20180628 with eflasher to emmc, with empty TF card slot - it boots and works just fine, BUT when non bootable sd card is inserted it does not start.
I connected RX and TX, the output with the non bootable flash is the next:
Code: Select all
U-Boot SPL 2017.11 (Jun 28 2018 - 17:47:00)
DRAM: 512 MiB(408MHz)
CPU Freq: 408MHz
memory test: 1
Pattern 55aa Writing...Reading...OK
Trying to boot from MMC1
Boot device: sd
U-Boot 2017.11 (Jun 28 2018 - 17:47:00 +0800) Allwinner Technology
CPU: Allwinner H3 (SUN8I 1680)
Model: FriendlyElec NanoPi H3
DRAM: 512 MiB
CPU Freq: 1008MHz
MMC: SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Net: No ethernet found.
BOARD: nanopi-neo-air
starting USB...
No controllers found
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
starting USB...
No controllers found
USB is stopped. Please issue 'usb start' first.
starting USB...
No controllers found
No ethernet found.
missing environment variable: pxeuuid
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm-sunxi
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default
No ethernet found.
Config file not found
starting USB...
No controllers found
No ethernet found.
No ethernet found.
Where are the settings to disable booting from sd card or some boot priority configuration?
Upd:
seems issue is reported before
https://www.olimex.com/forum/index.php?topic=5933.0 the problem seems that if sd card inserted it is assigned as mmcblk0 and boot is set to start from mmcblk0.
In the link above for kernel 3.4 it could be solved by converting /boot/script.bin file to fex and modifying parameter sdc_detmode = 1 , but we do not have such script.bin in boot now. Where to set now this parameter in linux 4.x ???