Comments (15)
TizenRT is loaded in KM4 region. It has 0xE........ address.
from tizenrt.
TizenRT is loaded in KM4 region. It has 0xE........ address.
Yes, I see,the problem is that it will trigger a bus fault, PC is 0x0e0013a6, I further debug and found that a bus fault t occurred during IPC sendrequest, I used to command "make download ALL" to download image. I don't know how to compile KM0.Is it related to the lack of KM0 image. Thanks for your reply
from tizenrt.
I don't know how to compile KM0.
We use prebuilt KM0, not to dynamically compile.
Is it related to the lack of KM0 image.
I don't think so. Your codes cause the issue. There is no issue on current version with RTL8721CSM.
We usually meet a busfault with null dereference.
from tizenrt.
I don't know how to compile KM0.
We use prebuilt KM0, not to dynamically compile.
Is it related to the lack of KM0 image.
I don't think so. Your codes cause the issue. There is no issue on current version with RTL8721CSM. We usually meet a busfault with null dereference.
Which defconfig are you using? I used cxxtest. My test steps below list:
./tools/configure.sh rtl8721csm/cxxtest
make
make download ALL port=ttyUSB0
I can use the defconfig you tested to verify if there are any issues.
from tizenrt.
Which defconfig are you using? I used cxxtest. My test steps below list:
./tools/configure.sh rtl8721csm/cxxtest
make
make download ALL port=ttyUSB0I can use the defconfig you tested to verify if there are any issues.
Ok.
@prabu-r Could you check rtl8721csm/cxxtest
?
from tizenrt.
Hello @Jan9401 , we have verified it on our side with the same config (rtl8721csm/cxxtest
) on the latest commit (846ea71) and there is no issue.
[MODULE_BOOT-LEVEL_INFO]:Start NonSecure @ 0xe000d0c ...
BOOT_IMG3: BSS [10078600~10079e2c] SEC: 1
[MODULE_BOOT-LEVEL_INFO]:IMG2 PSRAM_NS:[0xe0fb9b8:988:0x2000000]
[MODULE_BOOT-LEVEL_INFO]:IMG3 PSRAM_S:[0x23c0000:129792:0x8192840]
REG_HS_RFAFE_IND_VIO1833 (0 is 1.8V): 1
mpu_showtype: Unified MPU Regions: data=8 instr=0
up_allocate_kheap: start = 0x1005c0e0 size = 110368
up_add_kregion: start = 0x2001f1c size = 3924196
Manufacturer : 161 memory type : 64 capacity : 23
/dev/smart0p7 is mounted successfully @ /mnt
se_ameba_hal_init: [AMEBA_WRAPPER]ameba/security_ameba_wrapper_tz.c:59
The key slot is empty
Failed to decrypt 1st secure storage key
System Information:
Version:
Platform: 3.1 Binary: 200204
Commit Hash: 846ea71
Build User: root@=
Build Time: 2023-08-29 09:37:34 IST
System Time: 06 Dec 2011, 00:00:00 [s] UTC
TASH>>Hello, World!!
TASH>>cxxtest
TASH>>
============ Test ofstream ==============================
from tizenrt.
@Jan9401, could you please share the toolchain version being used? Could you also please share the details of the board being used? We also support build using docker (https://hub.docker.com/r/tizenrt/tizenrt) and it can be triggered using ./dbuild.sh menu
. If possible could you please try the build with docker?
from tizenrt.
@Jan9401, could you please share the toolchain version being used? Could you also please share the details of the board being used? We also support build using docker (https://hub.docker.com/r/tizenrt/tizenrt) and it can be triggered using
./dbuild.sh menu
. If possible could you please try the build with docker?
My gcc version :gcc version 10.3.1 20210824 (release) (GNU Arm Embedded Toolchain 10.3-2021.10).
I used to RTL8720csm board, In theory, there should be no other difference between 8720csm and 8721csm except for the pins, But I saw log, I found that there were still differences in FLASh( Manufacturer : 161 memory type : 64 capacity : 23) . can you share your toolchain and complete testing steps?
from tizenrt.
@Jan9401 We use ARM GCC 6.3.1, but we recommend to use docker instead of using ARM GCC directly. (TizenRT docker image contains it) Testing steps are just building, downloading and booting. That's it. After installing the docker, you can use it through ./dbuild.sh menu
at os folder. Please refer https://github.com/samsung/tizenrt#environment-setup.
from tizenrt.
@Jan9401 We use ARM GCC 6.3.1, but we recommend to use docker instead of using ARM GCC directly. (TizenRT docker image contains it) Testing steps are just building, downloading and booting. That's it. After installing the docker, you can use it through
./dbuild.sh menu
at os folder. Please refer https://github.com/samsung/tizenrt#environment-setup.
I download ARM GCC 6.31, I foud that there is no issue.I am not familiar with gcc, so I am not sure how this bus fault was generated.
from tizenrt.
I encountered another issue, I entered reboot and prompted 'All OTA addresses not valid, recovery failed'.
from tizenrt.
@Jan9401 It's impossible to give any guidance with this information. Could you leave your logs?
from tizenrt.
I download ARM GCC 6.31, I foud that there is no issue.I am not familiar with gcc, so I am not sure how this bus fault was generated.
Because of that, we provide a script to use the TizenRT docker. When you use it, you don't need to install any tool including ARM GCC. When we update a version of installed tool or request a new tool installation, you can do that with docker version change (And docker version change will be done by our script.).
from tizenrt.
@Jan9401 It's impossible to give any guidance with this information. Could you leave your logs?
sorry for less information. I get complete log show below:
#[MODULE_BOOT-LEVEL_INFO]:IMG1 ENTER ROMSUB:2
bootloader_version km0_bootloader_ver_07729b9_2022/01/18-14:40:05
#utoboot in 50 milliseconds
Normal boot
BP1 data valid, version:1
BP2 version invalid
BP1 CRC32 match, attached CRC: 0x9730a7bd, calculated CRC: 0x9730a7bd
BP1 ota2 address invalid
Both BP invalid
Recovery start
[MODULE_BOOT-LEVEL_INFO]:OTA1 USE, version: 200204
[MODULE_BOOT-LEVEL_INFO]:IMG2 DATA[0xc010cc0:5840:0x85000]
[MODULE_BOOT-LEVEL_INFO]:IMG2 SIGN[RTKWin(8500c)]
[MODULE_BOOT-LEVEL_INFO]:IMG2 ENTRY[0x85000:0xc00d63d]
[MODULE_BOOT-LEVEL_INFO]:KM0 BOOT_IMG2 BOOT REASON: 0
bootloader_version km0_application_ver_963c433_2023/04/06-16:40:45
calibration_ok:[2:19:11]
bootloader_version km4_bootloader_ver_1275267_2021/12/15-21:10:03
[MODULE_BOOT-LEVEL_INFO]:IMG1 ENTER MSP:[1007fffc]
IMG2 SBOOT OFF
[MODULE_BOOT-LEVEL_INFO]:IMG3 RAM_S:[0x10077000:5632:0x8191020]
[MODULE_BOOT-LEVEL_INFO]:IMG3 NSC:[0x1007b000:480:0x8192640]
[MODULE_BOOT-LEVEL_INFO]:IMG2 DATA[0xe0d4f38:157760:0x10005000]
[MODULE_BOOT-LEVEL_INFO]:IMG2 SIGN[RTKWin(1000500c)]
[MODULE_BOOT-LEVEL_INFO]:IMG2 ENTRY[0x10005000:0xe000cd9]
[MODULE_BOOT-LEVEL_INFO]:Start NonSecure @ 0xe000cd8 ...
BOOT_IMG3: BSS [10078600~10079e2c] SEC: 1
[MODULE_BOOT-LEVEL_INFO]:IMG2 PSRAM_NS:[0xe0fb798:988:0x2000000]
[MODULE_BOOT-LEVEL_INFO]:IMG3 PSRAM_S:[0x23c0000:129792:0x8192840]
REG_HS_RFAFE_IND_VIO1833 (0 is 1.8V): 1
mpu_showtype: Unified MPU Regions: data=8 instr=0
up_allocate_kheap: start = 0x1005c140 size = 110272
up_add_kregion: start = 0x2001f1c size = 3924196
Manufacturer : 28 memory type : 112 capacity : 21
smartfs_partno: 7, romfs_partno: 0
se_ameba_hal_init: [AMEBA_WRAPPER]ameba/security_ameba_wrapper_tz.c:59
The key slot is empty
Failed to decrypt 1st secure storage key
System Information:
Version:
Platform: 3.1 Binary: 200204
Commit Hash: 5e87c59
Build User: root@xiaoming-Mi-Laptop-Pro-15
Build Time: 2023-08-29 15:07:04 CST
System Time: 06 Dec 2011, 00:00:00 [s] UTC
TASH>>Hello, World!!
TASH>>
TASH>>reboot
boardctl: Board will Reboot now.
#[MODULE_BOOT-LEVEL_INFO]:IMG1 ENTER ROMSUB:0
bootloader_version km0_bootloader_ver_07729b9_2022/01/18-14:40:05
#utoboot in 50 milliseconds
Normal boot
BP1 data valid, version:1
BP2 version invalid
BP1 CRC32 match, attached CRC: 0x9730a7bd, calculated CRC: 0x9730a7bd
BP1 ota2 address invalid
Both BP invalid
Recovery start
All OTA addresses not valid, recovery fail
I reboot system, it tips OTA address not valid .I do not see any information about OTA.
from tizenrt.
I don't have this log. "dev/smart0p7 is mounted successfully @ /mnt"
I would like to know the type of the flash you are using. such as which vendor.
(161 memory type : 64 capacity : 23)
from tizenrt.
Related Issues (20)
- ARTIK055s programmer's manual HOT 12
- ESP32 Fails to boot: both esp32_DevKitC/tash_wlan and esp32_DevKitC/hello_with_tash configs HOT 2
- Does tizenrt support fpclassify ? HOT 6
- Build failed for QEMU
- lwIP mbox synchronization issue
- lwIP mbox synchronization issue
- Artik055s build failures HOT 3
- Security: Privacy leakage in function cyassl_connect_step2()
- Security: DoS vulnerability in function createDB()
- Security: DoS vulnerability in function createDB()
- Security: Malfunction in function l2_packet_receive_timeout()
- How can I use GMock external library in sample apps ?
- Security: task_terminate_unloaded function lack of sched_lock() will lead to race condition HOT 5
- Many kernel task handle function lack of permission check when calling it HOT 3
- There is no NULL check in lwip sockets HOT 3
- Compile error on stm32: '_sint_heap_start' undeclared HOT 2
- Build issues HOT 4
- master line network driver can't be compiled through HOT 5
- rtl8271csm, how to run nettest?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tizenrt.