Hello all:
Recently I've struggle developing a new kernel with USB FTDI support. (FRWY-LS1012A-PB)
I followed the guide to build the kernel. It seems like FTDI missed with my new-building kernel.
I followed the guide here : https://docs.nxp.com/bundle/GUID-C3A436DA-E944-4F73-9811-2335DEBD04D6/page/GUID-77D94036-40F3-4A4C-A...
Please check my build steps , git branch and deploy process and point out where I've did wrong.
1. prepare an clean ubuntu 18.04 in Virtual Box, and do sudo apt-install update
2. download flexbuild_lsdk2004.tgz and flexbuild_lsdk2004_update_290520.tgz, and run:
$ tar xvzf flexbuild_lsdk2004.tgz
$ cd ~/Desktop/flexbuild_lsdk2004
$ tar xvzf flexbuild_lsdk2004_update_290520.tgz --strip-components 1 -C ~/Desktop/flexbuild_lsdk2004
$ source setup.env
$ flex-builder -h
3. prepare kernel:
$ flex-builder -c linux:custom -a arm64
(this will pop out a config menu, I select Device Driver--> USB support --> USB Serial Converter support --> USB FTDI single Port Serial Driver )
$ flex-builder -c linux -a arm64
(continue to build kernel)
4. deploy Kernel into board SD card
I need to restart my VM to plug in SD card reader, and my flex-builder setting is lost.
So I did
$ cd ~/Desktop/flexbuild_lsdk2004
$ source setup.env
$ flex-builder -h
5. proceed to generate boot partition and rootfs:
$ flex-builder -i mkbootpartition -a arm64
$ flex-builder -i merge-component -a arm64
$ flex-builder -i packrfs -a arm64
6. After step 5, I've got :
bootpartition_LS_arm64_lts_5.4_202009300934.tgz rootfs_lsdk2004_ubuntu_main_arm64_202009301055.tgz
in directory : ~/Desktop/flexbuild_lsdk2004/build/images
7. use command :
flex-installer -b bootpartition_LS_arm64_lts_5.4_202009300934.tgz -r rootfs_lsdk2004_ubuntu_main_arm64_202009301055.tgz -d /dev/sde
to deploy it to SD card, I've check the SD card section with lsblk, so the deploy target location should be fine.
After I plug in SD card and rebooting the board, the board get into the kernel successfully , but there's no USB FTDI support.
Any helps would be appreciated, Thanks.
Ming