S32G-VNP-RDB3 sja1110

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32G-VNP-RDB3 sja1110

1,581件の閲覧回数
Quentin2022
Contributor III

Hi nxp:

I am developing sja1110 using nxp's RDB3 development board.Currently it looks like there is an error downloading the firmware,the firmware I get from Goldvip-S32G3-1.6.0, sja1110.ko,build with yocto.

So my question is what's going wrong

[ 3.874020] pfeng 46000000.pfe pfe2: Registered PTP HW clock successfully on EMAC2
[ 3.921464] sja1110 spi5.0: probing uc
[ 3.921605] sja1110 spi5.1: probing switch
[ 3.921871] sja1110 spi5.1: Could not get GPIO from device tree
[ 3.921886] sja1110 spi5.1: [sja1110_post_probe_upload_worker] Trying to initialize switch
[ 3.922266] sja1110 spi5.1: [sja1110_init_hw] loaded fw 'sja1110_switch.bin'
[ 3.922337] sja1110 spi5.1: [sja1110_pre_switch_upload] Found switch config of size 2276
[ 3.922457] sja1110 spi5.1: Uploading config...
[ 3.942160] sja1110 spi5.1: Successfully configured!
[ 3.942198] sja1110 spi5.0: [sja1110_post_probe_upload_worker] Trying to initialize uC
[ 3.942803] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 3.947115] sja1110 spi5.0: [sja1110_init_hw] loaded fw 'sja1110_uc.bin'
[ 3.947124] sja1110 spi5.0: [sja1110_pre_uc_upload] Found firmware of size 320312
[ 3.947185] sja1110 spi5.0: [sja1110_pre_uc_upload] firmware appears to be valid
[ 3.947220] sja1110 spi5.0: [sja1110_pre_uc_upload] \xc2\xb5C not ready for download (Status=0x31)
[ 3.947254] sja1110 spi5.0: [sja1110_uc_parse_status] Invalid status header (0xfb)
[ 3.947259] sja1110 spi5.0: [sja1110_uc_read_status] Parsing uC status failed with -22
[ 3.947264] sja1110 spi5.0: [sja1110_pre_uc_upload] Could not read \xc2\xb5C status
[ 3.947295] sja1110 spi5.0: [sja1110_uc_parse_status] Invalid status header (0xfb)
[ 3.947300] sja1110 spi5.0: [sja1110_uc_read_status] Parsing uC status failed with -22
[ 3.947304] sja1110 spi5.0: [sja1110_pre_uc_upload] Could not read \xc2\xb5C status
[ 3.947335] sja1110 spi5.0: [sja1110_uc_parse_status] Invalid status header (0xfb)
[ 3.947340] sja1110 spi5.0: [sja1110_uc_read_status] Parsing uC status failed with -22
[ 3.947345] sja1110 spi5.0: [sja1110_pre_uc_upload] Could not read \xc2\xb5C status
[ 3.947375] sja1110 spi5.0: [sja1110_uc_parse_status] Invalid status header (0xfb)
[ 3.947381] sja1110 spi5.0: [sja1110_uc_read_status] Parsing uC status failed with -22
[ 3.947385] sja1110 spi5.0: [sja1110_pre_uc_upload] Could not read \xc2\xb5C status
[ 3.947416] sja1110 spi5.0: [sja1110_uc_parse_status] Invalid status header (0xfb)
[ 3.947421] sja1110 spi5.0: [sja1110_uc_read_status] Parsing uC status failed with -22
[ 3.947425] sja1110 spi5.0: [sja1110_pre_uc_upload] Could not read \xc2\xb5C status
[ 3.947456] sja1110 spi5.0: [sja1110_uc_parse_status] Invalid status header (0xfb)
[ 3.947461] sja1110 spi5.0: [sja1110_uc_read_status] Parsing uC status failed with -22
[ 3.947465] sja1110 spi5.0: [sja1110_pre_uc_upload] Could not read \xc2\xb5C status
[ 3.947496] sja1110 spi5.0: [sja1110_uc_parse_status] Invalid status header (0xfb)
[ 3.947501] sja1110 spi5.0: [sja1110_uc_read_status] Parsing uC status failed with -22
[ 3.947505] sja1110 spi5.0: [sja1110_pre_uc_upload] Could not read \xc2\xb5C status
[ 3.947536] sja1110 spi5.0: [sja1110_uc_parse_status] Invalid status header (0xfb)
[ 3.947541] sja1110 spi5.0: [sja1110_uc_read_status] Parsing uC status failed with -22
[ 3.947545] sja1110 spi5.0: [sja1110_pre_uc_upload] Could not read \xc2\xb5C status
[ 3.947575] sja1110 spi5.0: [sja1110_uc_parse_status] Invalid status header (0xfb)
[ 3.947580] sja1110 spi5.0: [sja1110_uc_read_status] Parsing uC status failed with -22
[ 3.947586] sja1110 spi5.0: [sja1110_pre_uc_upload] Could not read \xc2\xb5C status
[ 3.947590] sja1110 spi5.0: checking firmware failed with -22
[ 4.517033] pfeng 46000000.pfe pfe0: configuring for fixed/sgmii link mode

0 件の賞賛
返信
2 返答(返信)

1,568件の閲覧回数
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

On which boot configuration do you have the SJA1110? This should be told by the J189, as shown under the RDB3 schematic:

DanielAguirre_0-1690998699588.png

The SJA1110 should be configured as "SDL Boot", since it will be booting from a serial interface (SPI). Once we configure the boot to be SDL, we have the following boot log:

DanielAguirre_1-1690998778269.png

Please, let us know.

0 件の賞賛
返信

1,356件の閲覧回数
y_ytao
NXP Employee
NXP Employee

Hello Daniel

     could you share the method about how to get sja1110_switch.bin and sja1110_uc.bin?   how to build it, based on what SDK?  i got one firmware binary from local FAE, but not sure what it is, i just name it as sja1110_uc.bin, and got below info:

s32g399ardb3 login: root
root@s32g399ardb3:~#
root@s32g399ardb3:~# dmesg |grep sja1110
[ 0.646777] gpio-345 (sja1110-rst-phy-t1): hogged as output/low
[ 0.652274] gpio-402 (sja1110-rst-core): hogged as output/low
[ 6.929116] sja1110: loading out-of-tree module taints kernel.
[ 6.929596] SPI driver sja1110 has no spi_device_id for nxp,sja1110-switch
[ 6.929601] SPI driver sja1110 has no spi_device_id for nxp,sja1110-uc
[ 6.929699] sja1110 spi5.0: probing uc
[ 6.929827] sja1110 spi5.1: probing switch
[ 6.930091] sja1110 spi5.1: Could not get GPIO from device tree
[ 6.930111] sja1110 spi5.1: [sja1110_post_probe_upload_worker] Trying to initialize switch
[ 6.930519] sja1110 spi5.1: Direct firmware load for sja1110_switch.bin failed with error -2
[ 6.930529] sja1110 spi5.1: request_firmware failed with -2
[ 6.930535] sja1110 spi5.0: [sja1110_post_probe_upload_worker] Trying to initialize uC
[ 6.934007] sja1110 spi5.0: [sja1110_init_hw] loaded fw 'sja1110_uc.bin'
[ 6.934016] sja1110 spi5.0: [sja1110_pre_uc_upload] Found firmware of size 126400
[ 6.934090] sja1110 spi5.0: [sja1110_pre_uc_upload] firmware appears to be valid
[ 6.934125] sja1110 spi5.0: [sja1110_pre_uc_upload] \xc2\xb5C not ready for download (Status=0x31)
[ 6.934213] sja1110 spi5.0: Uploading firmware...
[ 7.293332] sja1110 spi5.0: Upload successfully verified!
root@s32g399ardb3:~# ls /lib/firmware/
s32cc_hse_fw.bin s32g_pfe_class.fw s32g_pfe_util.fw sja1110_uc.bin
root@s32g399ardb3:~#

0 件の賞賛
返信