Part Number: TDA2EVM5777
Other Parts Discussed in Thread: DRA742
Hi,
I am trying to "Build Linux Vision SDK for Fast Boot" with TDA2EVM5777, VisionSDK 3.07.
I am working on two documents below.
- VisionSDK_Linux_UserGuide
- Linux Boot Time Optimizations on DRA7xx Devices
So I applied QSPI boot to EVM.
And for fast booting, I saved rootfs to eMMC.
=========================================
[EVM] => ums 0 mmc 1
[HOST] => sudo rsync -av --delete ../../ti_components/os_tools/linux/targetfs/ /media/XXX/rootfs/
And change the EVM SW setting
SW2: 1110 1100
SW3: 1000 0001
SW5: 0010 1000 00
SW8: 10
========================================
After reboot, Do not mount the rootfs of the eMMC.
===================================================
U-Boot SPL 2016.05-00016-gcc5b418-dirty (Apr 21 2020 - 10:35:40)
DRA752-GP ES2.0
no pinctrl for hs200_1_8v
no pinctrl for ddr_1_8v
*** Warning - bad CRC, using default environment
Trying to boot from SPI
mkimage signature not found
Error loading remotecore IPU1!,Continuing with boot ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.4.84+ (vadas@vadas-TDA2x) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #187 SMP PREEMPT Tue Apr 21 10:36:27 KST 2020
[ 0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] Machine model: TI DRA742
[ 0.000000] bootconsole [earlycon0] enabled
===================================================
If I plug in the SD card here, the rootfs in the SD card is mounted and boot.
-----------------
PLUG IN SD Card
...
[ 0.000000] bootconsole [earlycon0] enabled
mount: unknown filesystem type 'dev'
Welcome to Arago 2016.12!
[ SKIP ] Ordering cycle found, skipping alignment.service
[ OK ] Started Dispatch Password Requests to Console Directory Watch.
...
The kernel command line is shown below.
As far as I know, mmcblk1p2 is an SD card.
--------------
Kernel command line: console=ttyO0,115200n8 elevator=noop root=/dev/mmcblk1p2 rw rootwait earlyprintk fixrtc omapdrm.num_crtc=2 consoleblank=0 cma=64M rootfstype=ext4 snd.slots_reserved=1,1 loglevel=0 init=/home/root/init-demo.sh clk_ignore_unused
---------------
I think the setting is wrong, but I don't know.
I worked just like the document.
And I have another question!
When working on QSPI-Flash on HOST, The following message comes from the target, is this an error?
"request fdf2a400 was not asked to ep1-in-bulk"
Regards,
Lee.