Пункты: 568
Регистрация: 31.10.2015
Как воспроизвести ошибку:
1. Берём нераспакованный SK-iMX6D-SODIMM.
2. Вставляем в отладку SK-iMX6-MB-SODIMM.
3. Запускаем, вставляем карточку microSD - всё отлично работает, карточка определяется, ошибок нет, в dmesg только:
Код
ehci_fsl_bus_suspend begins, Host 1
ehci_fsl_bus_suspend ends, Host 1
mmc1: new high speed SDHC card at address 0001
mmcblk1: mmc1:0001 00000 3.69 GiB
mmcblk1: p1
4. Скачиваем виртуалку для сборки образа.
5. Делаем в ней только:
Код
> make clean
> make imx6sk_gst_defconfig
> make menuconfig
В menuconfig меняем только тип борды в ниспадающем меню «Starterkit i.MX6 board».
> make
> sudo ./mk-sd.sh /dev/sdb
6. Образ успешно заливается, борда загружается, вставляем ту же карточку microSD, получаем ошибки прямо в Debug UART:
Код
Welcome to Buildroot
buildroot login: root
Password:
# mmc1: host does not support reading read-only switch. assuming write-enable.
mmc1: new high speed SDHC card at address 0001
mmcblk1: mmc1:0001 00000 3.69 GiB
mmcblk1: p1
mmcblk1: error -84 transferring data, sector 7741040, nr 8, cmd response 0x900,0
mmcblk1: retrying using single block read
mmcblk1: error -84 transferring data, sector 7741044, nr 4, cmd response 0x900,0
end_request: I/O error, dev mmcblk1, sector 7741044
Buffer I/O error on device mmcblk1, logical block 967630
mmcblk1: error -84 transferring data, sector 7740848, nr 8, cmd response 0x900,0
mmcblk1: retrying using single block read
mmcblk1: error -84 transferring data, sector 7740848, nr 8, cmd response 0x900,0
end_request: I/O error, dev mmcblk1, sector 7740848
mmcblk1: error -84 transferring data, sector 7740849, nr 7, cmd response 0x900,0
end_request: I/O error, dev mmcblk1, sector 7740849
mmcblk1: error -84 transferring data, sector 7740850, nr 6, cmd response 0x900,0
end_request: I/O error, dev mmcblk1, sector 7740850
Buffer I/O error on device mmcblk1, logical block 967606
mmcblk1: error -84 transferring data, sector 7740848, nr 8, cmd response 0x900,0
mmcblk1: retrying using single block read
mmcblk1: error -84 transferring data, sector 7740853, nr 3, cmd response 0x900,0
end_request: I/O error, dev mmcblk1, sector 7740853
Buffer I/O error on device mmcblk1, logical block 967606
mmcblk1: error -84 transferring data, sector 128, nr 384, cmd response 0x900, c0
mmcblk1: retrying using single block read
mmcblk1: error -84 transferring data, sector 134, nr 378, cmd response 0x900, c0
end_request: I/O error, dev mmcblk1, sector 134
Buffer I/O error on device mmcblk1, logical block 16
mmcblk1: error -84 transferring data, sector 172, nr 340, cmd response 0x900, c0
end_request: I/O error, dev mmcblk1, sector 172
Buffer I/O error on device mmcblk1, logical block 21
mmcblk1: error -84 transferring data, sector 176, nr 336, cmd response 0x900, c0
end_request: I/O error, dev mmcblk1, sector 176
Buffer I/O error on device mmcblk1, logical block 22
mmcblk1: error -84 transferring data, sector 186, nr 326, cmd response 0x900, c0
end_request: I/O error, dev mmcblk1, sector 186
Buffer I/O error on device mmcblk1, logical block 23
mmcblk1: error -84 transferring data, sector 243, nr 269, cmd response 0x900, c0
end_request: I/O error, dev mmcblk1, sector 243
mmcblk1: error -84 transferring data, sector 244, nr 268, cmd response 0x900, c0
Buffer I/O error on device mmcblk1, logical block 30
mmcblk1: error -84 transferring data, sector 249, nr 263, cmd response 0x900, c0
Buffer I/O error on device mmcblk1, logical block 31
mmcblk1: error -84 transferring data, sector 259, nr 253, cmd response 0x900, c0
Buffer I/O error on device mmcblk1, logical block 32
mmcblk1: error -84 transferring data, sector 264, nr 248, cmd response 0x900, c0
mmcblk1: error -84 transferring data, sector 311, nr 201, cmd response 0x900, c0
mmcblk1: error -84 transferring data, sector 465, nr 47, cmd response 0x900, ca0
mmcblk1: error -84 transferring data, sector 480, nr 32, cmd response 0x900, ca0
mmcblk1: error -84 transferring data, sector 483, nr 29, cmd response 0x900, ca0
mmcblk1: error -84 transferring data, sector 184, nr 8, cmd response 0x900, car0
mmcblk1: retrying using single block read
mmcblk1: error -84 transferring data, sector 240, nr 8, cmd response 0x900, car0
mmcblk1: retrying using single block read
mmcblk1: error -84 transferring data, sector 242, nr 6, cmd response 0x900, car0
mmcblk1: error -84 transferring data, sector 304, nr 8, cmd response 0x900, car0
mmcblk1: retrying using single block read
mmcblk1: error -84 transferring data, sector 800, nr 8, cmd response 0x900, car0
mmcblk1: retrying using single block read
mmcblk1: error -84 transferring data, sector 804, nr 4, cmd response 0x900, car0
mmcblk1: error -84 transferring data, sector 800, nr 8, cmd response 0x900, car0
mmcblk1: retrying using single block read
mmcblk1: error -84 transferring data, sector 880, nr 8, cmd response 0x900, car0
mmcblk1: retrying using single block read
mmcblk1: error -84 transferring data, sector 888, nr 8, cmd response 0x900, car0
mmcblk1: retrying using single block read
mmcblk1: error -84 transferring data, sector 968, nr 8, cmd response 0x900, car0
mmcblk1: retrying using single block read
mmcblk1: error -84 transferring data, sector 131072, nr 8, cmd response 0x900, 0
mmcblk1: retrying using single block read
mmcblk1: error -84 transferring data, sector 131072, nr 8, cmd response 0x900, 0
mmcblk1: error -84 transferring data, sector 131074, nr 6, cmd response 0x900, 0
mmcblk1: error -84 transferring data, sector 131075, nr 5, cmd response 0x900, 0
mmcblk1: error -84 transferring data, sector 131072, nr 8, cmd response 0x900, 0
mmcblk1: retrying using single block read
mmcblk1: error -84 transferring data, sector 131073, nr 7, cmd response 0x900, 0
mmcblk1: error -84 transferring data, sector 131078, nr 2, cmd response 0x900, 0
mmcblk1: error -84 transferring data, sector 8192, nr 8, cmd response 0x900, ca0
mmcblk1: retrying using single block read
mmcblk1: error -84 transferring data, sector 16384, nr 64, cmd response 0x900, 0
mmcblk1: retrying using single block read
mmcblk1: error -84 transferring data, sector 16407, nr 41, cmd response 0x900, 0
mmcblk1: error -84 transferring data, sector 8224, nr 24, cmd response 0x900, c0
mmcblk1: retrying using single block read
mmcblk1: error -84 transferring data, sector 8320, nr 384, cmd response 0x900, 0
mmcblk1: retrying using single block read
mmcblk1: error -84 transferring data, sector 8369, nr 335, cmd response 0x900, 0
mmcblk1: error -84 transferring data, sector 8399, nr 305, cmd response 0x900, 0
mmcblk1: error -84 transferring data, sector 8447, nr 257, cmd response 0x900, 0
mmcblk1: error -84 transferring data, sector 8456, nr 248, cmd response 0x900, 0
mmcblk1: error -84 transferring data, sector 8487, nr 217, cmd response 0x900, 0
mmcblk1: error -84 transferring data, sector 8513, nr 191, cmd response 0x900, 0
mmcblk1: error -84 transferring data, sector 8550, nr 154, cmd response 0x900, 0
mmcblk1: error -84 transferring data, sector 8582, nr 122, cmd response 0x900, 0
mmcblk1: error -84 transferring data, sector 8617, nr 87, cmd response 0x900, c0
mmcblk1: error -84 transferring data, sector 8699, nr 5, cmd response 0x900, ca0
mmcblk1: error -84 transferring data, sector 9064, nr 8, cmd response 0x900, ca0
mmcblk1: retrying using single block read
mmcblk1: error -84 transferring data, sector 9072, nr 8, cmd response 0x900, ca0
mmcblk1: retrying using single block read
mmcblk1: error -84 transferring data, sector 9088, nr 8, cmd response 0x900, ca0
mmcblk1: retrying using single block read
mmcblk1: error -84 transferring data, sector 9089, nr 7, cmd response 0x900, ca0
mmcblk1: error -84 transferring data, sector 9160, nr 8, cmd response 0x900, ca0
mmcblk1: retrying using single block read
mmcblk1: error -84 transferring data, sector 139264, nr 8, cmd response 0x900, 0
mmcblk1: retrying using single block read
mmcblk1: error -84 transferring data, sector 139264, nr 8, cmd response 0x900, 0
mmcblk1: error -84 transferring data, sector 139266, nr 6, cmd response 0x900, 0
mmcblk1: error -84 transferring data, sector 139270, nr 2, cmd response 0x900, 0
mmcblk1: error -84 transferring data, sector 139271, nr 1, cmd response 0x900, 0
mmcblk1: error -84 transferring data, sector 139264, nr 8, cmd response 0x900, 0
mmcblk1: retrying using single block read
mmcblk1: error -84 transferring data, sector 139265, nr 7, cmd response 0x900, 0
# cat /dev/mmcblk
mmcblk0 mmcblk0boot1 mmcblk0rpmb mmcblk1p1
mmcblk0boot0 mmcblk0p1 mmcblk1
# mount
rootfs on / type rootfs (rw)
/dev/root on / type ext4 (rw,relatime,data=ordered)
devtmpfs on /dev type devtmpfs (rw,relatime,size=350944k,nr_inodes=87736,mode=7)
proc on /proc type proc (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw,relatime,mode=777)
tmpfs on /tmp type tmpfs (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
#
7. Загружаем на тот же процессорный модуль исходную прошивку (до этого скопировал её целиком при помощи dd, сейчас заливаю через dd), загружаем плату, вставляем карточку - всё отлично, как и было с нераспакованным модулем.
Попробовал с двумя модулями и двуми разными microSD карточками. Попробовал применить изменения отсюда (хотя и не уверен, что относится к моей проблеме):
http://www.starterkit.ru/html/index.php?name=forum&op=view&id=25172&num=2#25961 - не помогло.
Два вопроса:
1. В чем может быть проблема?
2. Как вы собираете тот образ, который сами зашиваете в модули?