Skip to content

U-boot-at91 prints strange characters #31

@SimoneBongini

Description

@SimoneBongini

Hello

I'm using an ArrowElectronic Shield96 boad which based on SAMA5D27_SIP.

I was able to build:

  • at91bootstrap (4.0.5+gitAUTOINC+8fe4b67188-r0 )
  • at91 u-boot (v2022.01-at91+gitAUTOINC+76f7f55e04-r0)
  • at91 linux kernel (5.15+gitAUTOINC+5aedde3bc3-r0)
  • rootFS

obtaining a .wic image.
After flashed successfully the SDCard with balenaEtcher, I got that the U-boot print strange characters.

AT91Bootstrap 4.0.5 (2022-11-09 13:05:42) 
SD/MMC: Image: Read file u-boot.bin to 0x23f0000 
MMC: ADMA supported 
SD: Card Capacity: High or Extended 
SD: Specification Version 3.0X 
SD/MMC: Done to load image
serial_atmel serial@f8020000: pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19
 怘▒怘▒f3▒0▒▒▒▒?▒▒▒▒?▒▒<f̆▒f?▒▒▒▒f▒f▒f▒ x ▒x x ▒▒0?3▒x?
▒▒▒▒▒▒▒▒▒▒x ~ ▒▒▒▒▒▒f ▒▒▒▒▒▒03 03▒0▒f3▒▒▒ffff▒ ▒x▒0fx
▒0▒▒f▒▒▒▒▒ ▒▒▒x ▒▒▒▒fff ▒▒f▒▒▒▒f▒▒▒
...
...
 ▒▒Ø▒▒f▒x<x ▒▒▒▒▒▒
Ø▒▒3▒f3xx0▒▒▒▒▒怘▒怘▒3?<??▒▒▒~<▒▒fÆ▒f<▒???▒0303▒ 
Booting Linux on physical CPU 0x0 
Linux version 5.15.68-linux4microchip-2022.10 (oe-user@oe-host) (arm-poky-linux-gnueabi-gcc (GCC) 11.3.0, GNU ld (GNU Binutils) 2.38.20220708) #1 Wed Nov 9 12:48:42 UTC 2022
CPU: ARMv7 Processor [410fc051] revision 1 (ARMv7), cr=10c53c7d CPU: PIPT / VIPT nonaliasing data cache, VIP

Then kernel start normally.
I noticed
serial_atmel serial@f8020000: pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19

I'm using, more or less, a sama5d27_som1_ek devices tree, so it should be defined correctly.
Seems u-boot change serial baudrate. Is it possible?

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