-
Notifications
You must be signed in to change notification settings - Fork 560
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[do not merge]build/tools/amebasmart/image_tool: Support USB download and external … #6260
base: master
Are you sure you want to change the base?
Conversation
@r-prabu could you verify this and let us know result? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any specific reason about changing flashloader name?
If there is no change except name of floader binary, would you please use floader_rtl8730e.bin
name?
If the name is different, we need to change the signing script in the server.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, as the base version of this download tool has upgraded its floader name, so I synced it in the SDA customized version. We can keep the name as floader_rtl8730e.bin
for your convenience.
The name in the latest commit has been changed back to floader_rtl8730e.bin
, please test and verify again.
7eaa654
to
34be977
Compare
34be977
to
4cd059b
Compare
Hi @jiangxiaoyunjoy , We are trying to download using USB, but it is failing. Could you please explain what are the things needed to download? |
|
… and external flash download 1. Fix chip erase function in the floader and remove manifest 2. Tested with rtl8730e->loadable_ext configuration To test USB download feature, use command "sudo ./os/dbuild.sh download port=ttyACM0 ALL" 3. common_download.sh, board_metadata.txt, defconfig are modified to test external flash download feature, and it is for test only. Scripts for external flash will be provided by Samsung. 4. Download time is about 14s on Linux, while it is 12s on Windows for loadable_ext configuration. 5. Redundant log will be removed in the final version.
4cd059b
to
29af669
Compare
hi @Tirtha-Samsung, Pls try the test flow as below: It seems the transmission of the flash loader was failed, could you try more times and let me know the reproduce rate? Thank you~ |
$ sudo ./dbuild.sh download port=ttyACM0 ALL
Check Docker Image
Docker Image Version : tizenrt/tizenrt:2.0.0
Port ttyACM0 is selected
############################################
WARNINGS:
1. Make sure the board is in DOWNLOAD MODE.
2. Make sure NO other application like putty,
is occupying ttyACM0.
############################################
================================ < Flash Partition Information > ================================
NAME : bl1 reserved ftl ss kernel app1 app2 kernel app1 app2 userfs reserved bootparam external
SIZE(in KB): 60 40 12 400 1844 4808 384 1844 4808 384 512 1280 8 120
Addr : 0x8000000 0x800F000 0x8019000 0x801C000 0x8080000 0x824D000 0x86FF000 0x875F000 0x892C000 0x8DDE000 0x8E3E000 0x8EBE000 0x8FFE000 0x9000000
=================================================================================================
==========================
Checking flash size(PASS)
==========================
Starting Download...
==========================
Downloading bl1 binary
==========================
Save info to setting.txt
==========================
Downloading kernel binary
==========================
Save info to setting.txt
==========================
Downloading app1 binary
==========================
Save info to setting.txt
==========================
Downloading app2 binary
==========================
Save info to setting.txt
==========================
Downloading userfs binary
==========================
rtl8730e_smartfs.bin not present
==========================
Downloading bootparam binary
==========================
Save info to setting.txt
==========================
Downloading external binary
==========================
Save info to setting.txt
==========================
Start USB download
Tue Jul 2 09:32:55 UTC 2024
==========================
Number of images: 6
Found ACM device ...... OK
Open serial port ...... OK
USB download...
Close serial port ...... OK
Open serial port ...... OK
Close serial port ...... OK
Open serial port ...... OK
USB Prepare ...... OK
Flash protection ...... OK
===================================================
km4_boot_all.bin download to 0x8000000
===================================================
USB erase ...... OK
USB download ...... OK
USB checksum ...... OK
Image download ...... OK
===================================================
kernel_rtl8730e_200204.trpk download to 0x8080000
===================================================
USB erase ...... OK
USB download ...... OK
USB checksum ...... OK
Image download ...... OK
===================================================
app1_rtl8730e_190412.trpk download to 0x824d000
===================================================
USB erase ...... OK
USB download ...... OK
USB checksum ...... OK
Image download ...... OK
===================================================
app2_rtl8730e_190412.trpk download to 0x86ff000
===================================================
USB erase ...... OK
USB download ...... OK
USB checksum ...... OK
Image download ...... OK
===================================================
bootparam.bin download to 0x8ffe000
===================================================
USB erase ...... OK
USB download ...... OK
USB checksum ...... OK
Image download ...... OK
===================================================
rtk_ext_flash_data.bin download to 0x9000000
===================================================
USB erase ...... OK
USB download ...... OK
USB checksum ...... OK
Image download ...... OK
EVB reset ...... OK
Close serial port ...... OK
Complete USB download
Tue Jul 2 09:33:09 UTC 2024
Download COMPLETE!
|
@jiangxiaoyunjoy we are also following the same above steps, but we are facing the issue always. Not able to download even once. |
Verified! But need to check build issue with latest public code.
|
…flash download