Skip to content

[Bug] RT-Thread 2.0.1 FinSH shell shows errors on FH8630D board #11188

@alikms07

Description

@alikms07

RT-Thread Version

2.01

Hardware Type/Architectures

fh8630

Develop Toolchain

GCC
arm-2013.11-24-arm-none-eabi-i686-pc-linux-gnu

Describe the bug

Hello RT-Thread community,

I'm trying to run FinSH shell on my FH8630D board with RT-Thread 2.0.1.
When I boot the RT-Thread binary via U-Boot:

go 0xA0000000

I see the shell prompt:

finsh />

But when I type commands:

ls
help
cd

I get errors like:

Invalid token
Unknown symbol
-1610418204, 0xa002f7e4

My RT-Thread configuration:

#define RT_USING_FINSH
#define FINSH_USING_SYMTAB
#define FINSH_USING_DESCRIPTION
#define FINSH_THREAD_STACK_SIZE (4096 * 2)

Board memory:

DDR start: 0xA0000000
Heap: RT_TICK_PER_SECOND=100
Stack sizes: init thread 10 KB, finsh 8 KB

The kernel was loaded at 0xA0008000, entry point 0xA0008000.
U-Boot version: 2021.04
CPU: ARM1176
Board: FH8630D

I suspect it might be a memory mapping / image type issue.

Has anyone encountered similar behavior with FinSH shell on RT-Thread 2.0.1 on FH8630D?

Thank you.

Image

Image
Image

Other additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions