This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM5749: Processors forum

Part Number: AM5749
Other Parts Discussed in Thread: BEAGLEBOARD-X15

Hi, 

Just sharing study note.
I saw a unsolved thread on forum.
Thus, I write down the note for someone gets the same issue.
I will close the thread tomorrow.


Board:
TMDSIDK5749
(I guess, BeagleBoard-X15 is ok, too.)

Support:
Quectel EC20/EC21 GSM modem module. 3G/4G/LTE

Code base:
ti-processor-sdk-android-am57xx-06.03.00.106

Note:
The BSP seems that disabled DataUsage funcion.
Thus, there are some of code need to modify for GSM modem.

Function test:
Ran app "WebView browser Tester" and go to "ti.com"
Ran app "WebView browser Tester" and go to "youtube.com", play live camera.


Cmd for debug:
am start -n com.android.settings/.RadioInfo
am start -n com.android.phone/.MobileNetworkSettings
am start -a android.settings.NETWORK_OPERATOR_SETTINGS
am start -a android.settings.DATA_ROAMING_SETTINGS
am start -a android.settings.APN_SETTINGS


patch usage:


copy to overlay BSP
ex:
patch at
~/ec20_21_patch
BSP at
~/dk2/ti-processor-sdk-android-am57xx-06.03.00.106
cd ~/dk2/ti-processor-sdk-android-am57xx-06.03.00.106/board-support/
cp ~/ec20_21_patch/* . -r

# if you had built the BSP, you still build linux again for new ko file.
cd ~/dk2/ti-processor-sdk-android-am57xx-06.03.00.106/
make -j8 linux
make -j8 linux-dtbs
make -j8 u-boot


export KERNELDIR=/home/gcat/dk2/ti-processor-sdk-android-am57xx-evm-06.03.00.106/board-support/linux-4.19.98+gitAUTOINC+8a8fd7ef1c-g8a8fd7ef1c/


cd ~/dk2/ti-processor-sdk-android-am57xx-06.03.00.106/board-support/aosp-9.0/
source build/envsetup.sh
lunch beagle_x15-userdebug
make -j8

Flash image:


Target:


(The target had installed android image)
to uboot and run
fastboot 0

Host:


cd ~/dk2/ti-processor-sdk-android-am57xx-06.03.00.106/board-support/aosp-9.0/out/target/product/beagle_x15/
sudo fastboot flash recovery recovery.img
sudo fastboot flash system system.img
sudo fastboot flash userdata userdata.img
sudo fastboot flash boot boot_fit.img
sudo fastboot flash vendor vendor.img
sudo fastboot reboot


Caution:
You must add your SIM card information to patch/aosp-9.0/device/ti/beagle_x15/quectel/apns-conf.xml
The patch only includes part of android framework. The file of driver/lib, please contact Quectel's area agent to get them.

The image for verifying is at github, greatcattw/beagle_x15_ec20_ec21. I will remove it a few days.