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.

[参考译文] AM623:从系统中请求删除与 EEPROM 相关的日志消息

Guru**** 2486505 points
Other Parts Discussed in Thread: AM623

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1444246/am623-request-to-remove-eeprom-related-log-messages-from-system

器件型号:AM623

工具与软件:

您好!

我们在项目中使用 AM623定制电路板、但我们的电路板设计不包含 EEPROM 组件。 尽管如此、我们在引导过程或操作期间会观察到与 EEPROM 相关的日志消息。 这些日志在我们的设置中是不必要的、会在调试过程中引起混淆。

您能否指导我们如何从系统日志中抑制或删除这些与 EEPROM 相关的消息? 如果需要更改配置、修改内核或更新设备树、请提供详细说明。

U-Boot SPL 2023.04-ti-gf9b966c67473 (Mar 19 2024 - 20:31:40 +0000)
SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.7--v09.02.07 (Kool Koala)')
SPL initial stack usage: 1856 bytes
** Bad device specification mmc 1 **
Couldn't find partition mmc 1:1
Error: could not access storage.
Trying to boot from MMC1
Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted


U-Boot 2023.04-ti-gf9b966c67473 (Mar 19 2024 - 20:31:40 +0000)

SoC:   AM62X SR1.0 GP
Model: Texas Instruments AM625 SK
EEPROM not available at 80, trying to read at 81
Reading on-board EEPROM at 0x51 failed -121
DRAM:  no bloblist found!2 GiB
Core:  65 devices, 30 uclasses, devicetree: separate
MMC:   mmc@fa10000: 0
Loading Environment from nowhere... OK
In:    serial
Out:   serial
Err:   serial
EEPROM not available at 80, trying to read at 81
Reading on-board EEPROM at 0x51 failed -121
Net:   eth0: ethernet@8000000port@1
Hit any key to stop autoboot:  0
switch to partitions #2, OK
mmc0(part 2) is current device

此致、vikash

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Vikash:

    如果启用了配置选项 TI_I2C_Board_detect、U-boot 代码会显示 EEPROM 的状态。

    #if CONFIG_IS_ENABLED(TI_I2C_BOARD_DETECT)
    int do_board_detect(void)
    {
    	int ret;
    
    	ret = ti_i2c_eeprom_am6_get_base(CONFIG_EEPROM_BUS_ADDRESS,
    					 CONFIG_EEPROM_CHIP_ADDRESS);
    	if (ret) {
    		printf("EEPROM not available at 0x%02x, trying to read at 0x%02x\n",
    		       CONFIG_EEPROM_CHIP_ADDRESS, CONFIG_EEPROM_CHIP_ADDRESS + 1);
    		ret = ti_i2c_eeprom_am6_get_base(CONFIG_EEPROM_BUS_ADDRESS,
    						 CONFIG_EEPROM_CHIP_ADDRESS + 1);
    		if (ret)
    			pr_err("Reading on-board EEPROM at 0x%02x failed %d\n",
    			       CONFIG_EEPROM_CHIP_ADDRESS + 1, ret);
    	}
    
    	return ret;
    }

    请检查此配置的使用位置、并将其删除。

    Re -构建 U-boot 源代码、然后重试。

    此致、
    Aparna