心若在梦就在

心若在梦就在

4个粉丝

10

问答

0

专栏

0

资料

心若在梦就在  发布于  2023-08-28 17:05:04
采纳率 50%
10个问答
558

进不来系统,一直在循环

在kernel下char目录下增加了一个简单的打印字符串的驱动程序,然后单独编译kernel后,重新烧入后进不了Linux系统,看串口一直在循环

System startup

Uncompress Ok!

U-Boot 2020.01 (Aug 18 2023 - 09:48:40 +0800)ss928v100

DRAM: Relocation Offset is: 17728000
Relocating to 5ff28000, new gd at 5fe87df8, sp at 5fe87de0
SPI Nor: Boot Media isn’t SPI Nor
NAND: fmc_ip_ver_check(34): Check Flash Memory Controller v100 …fmc_ip_ver_check(40): Found
SPI Nand ID Table Version 2.7
SPI Nand(cs 0) ID: 0xc2 0x90 Name:”MX35UF1G14AC”
Block:128KB Page:2KB OOB:64B ECC:4bit/512
Chipsize:128 MiB
Loading Environment from SPI Flash… Boot Media isn’t SPI Nor
* Warning - spi_flash_probe() failed, using default environment

Loading Environment from NAND… OK
In: serial
Out: serial
Err: serial

Net: gmac0
Error: gmac0 address not set.

Hit any key to stop autoboot: 0

NAND read: device 0 offset 0x100000, size 0xc00000
Skipping bad block 0x005e0000
12582912 bytes read: OK
tee distable int otp

Booting kernel from Legacy Image at 42000000 …

Image Name: Linux-4.19.90
Image Type: AArch64 Linux Kernel Image (uncompressed)
Data Size: 10444800 Bytes = 10 MiB
Load Address: 00080000
Entry Point: 00080000
Loading Kernel Image
Image too large: increase CONFIG_SYS_BOOTM_LEN
Must RESET board to recover
resetting …

System startup

Uncompress Ok!

U-Boot 2020.01 (Aug 18 2023 - 09:48:40 +0800)ss928v100

DRAM: Relocation Offset is: 17728000
Relocating to 5ff28000, new gd at 5fe87df8, sp at 5fe87de0
SPI Nor: Boot Media isn’t SPI Nor
NAND: fmc_ip_ver_check(34): Check Flash Memory Controller v100 …fmc_ip_ver_check(40): Found
SPI Nand ID Table Version 2.7
SPI Nand(cs 0) ID: 0xc2 0x90 Name:”MX35UF1G14AC”
Block:128KB Page:2KB OOB:64B ECC:4bit/512
Chipsize:128 MiB
Loading Environment from SPI Flash… Boot Media isn’t SPI Nor
* Warning - spi_flash_probe() failed, using default environment

Loading Environment from NAND… OK
In: serial
Out: serial
Err: serial

Net: gmac0
Error: gmac0 address not set.

Hit any key to stop autoboot: 0

NAND read: device 0 offset 0x100000, size 0xc00000
Skipping bad block 0x005e0000
12582912 bytes read: OK
tee distable int otp

Booting kernel from Legacy Image at 42000000 …

Image Name: Linux-4.19.90
Image Type: AArch64 Linux Kernel Image (uncompressed)
Data Size: 10444800 Bytes = 10 MiB
Load Address: 00080000
Entry Point: 00080000
Loading Kernel Image
Image too large: increase CONFIG_SYS_BOOTM_LEN
Must RESET board to recover
resetting …
请问是啥原因,看生成的image也就大了3k不到。

我来回答
回答7个
时间排序
认可量排序

心若在梦就在

4个粉丝

10

问答

0

专栏

0

资料

心若在梦就在 2023-08-28 17:29:47
认可0

是变小了24K左右

UncleRoderick

32个粉丝

14

问答

1

专栏

14

资料

UncleRoderick 2023-08-28 17:53:17
认可0

编译生成的内核不能直接用,需要处理下才行,具体参考osdrv目录的Makefile

心若在梦就在

4个粉丝

10

问答

0

专栏

0

资料

心若在梦就在 2023-08-29 10:05:20 已获得 1.00 E币
认可0

引用 @UncleRoderick “编译生成的内核不能直接用,需要处理下才行”

看makefile文件没有对生成的image进行处理,是要再编译atf一起生成fip.bin,然后kernel烧入这个fip.bin吗?还请指教,谢谢

心若在梦就在

4个粉丝

10

问答

0

专栏

0

资料

心若在梦就在 2023-08-29 11:07:25
认可0

本来一开始是在osdrv下make all进行编译,但编译错误:
make -C /home/vm/Desktop/GK76081/source/SS928V100_SDK_V2.0.2.1/open_source/u-boot/u-boot-2020.01 CROSS_COMPILE=aarch64-mix210-linux- ss928v100_defconfig
make[2]: Entering directory ‘/home/vm/Desktop/GK76081/source/SS928V100_SDK_V2.0.2.1/open_source/u-boot/u-boot-2020.01’
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
YACC scripts/kconfig/zconf.tab.c
LEX scripts/kconfig/zconf.lex.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
Kconfig:620: can’t open file “fs/Kconfig”
scripts/kconfig/Makefile:128: recipe for target ‘ss928v100_defconfig’ failed
make[3]: [ss928v100_defconfig] Error 1
Makefile:541: recipe for target ‘ss928v100_defconfig’ failed
make[2]:
[ss928v100_defconfig] Error 2
make[2]: Leaving directory ‘/home/vm/Desktop/GK76081/source/SS928V100_SDK_V2.0.2.1/open_source/u-boot/u-boot-2020.01’
Makefile:36: recipe for target ‘all’ failed
make[1]: [all] Error 2
make[1]: Leaving directory ‘/home/vm/Desktop/GK76081/source/SS928V100_SDK_V2.0.2.1/open_source/u-boot’
Makefile:238: recipe for target ‘boot’ failed
make:
[boot] Error 2
这个文件fs/Kconfig也是存在的,不知道为啥can’t open

wzzz

2个粉丝

1

问答

0

专栏

5

资料

wzzz 2023-08-29 11:44:31
认可0

查看spl有没有更新

心若在梦就在

4个粉丝

10

问答

0

专栏

0

资料

心若在梦就在 2023-08-29 14:15:06
认可0

引用 @wzzz “查看spl有没有更新”

怎样查看有没有更新呢?

易百纳用户53690

2个粉丝

7

问答

21

专栏

3

资料

易百纳用户53690 2023-08-30 09:37:57
认可0

编译成fip.bin试试

或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
+ 添加网盘链接/附件

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
相关问答
无更多相似问答 去提问
举报反馈

举报类型

  • 内容涉黄/赌/毒
  • 内容侵权/抄袭
  • 政治相关
  • 涉嫌广告
  • 侮辱谩骂
  • 其他

详细说明

易百纳技术社区