From: Sergio de Almeida Lenzi Date: Tue, 24 Sep 2019 22:33:36 -0300 Subject: [U-Boot] help with serial on the rockchip64 In-Reply-To: References: <092a637281e47139ebd855ffba6ef516270256ca.camel@k1.com.br> Message-ID: <3b808b8474151935e45e97384190d17d11274a0d.camel@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: u-boot@lists.denx.de Em ter, 2019-09-24 =C3=A0s 18:08 -0400, Simon South escreveu: > This is output from Rockchip's binary-only loader, which always resets th= e UART speed to 1.5Mbps. But it should be running before > the U-Boot SPL, not after it. I use NetBSD-9 and pkgsrc to build the u-boot The NetBSD builds a fat32 partition starting at offset 32768 with 80Mb that= holds the u-boot and boot logic for the rockchip > How are you building the microSD-card image? Here are the commands I've b= een using to build working images for the ROCK64: I burn the image on the sd card, and than I write the u-boot imgfile using the command: dd if=3D/usr/pkg/share/u-boot/rock64/rksd_loader.img of= =3D/dev/rsd0d seek=3D64 conv=3Dsync note that NetBSD only uses ONE boot file... In the fat32 partition there are 2 config files=20 cmdline.txt: root=3Dld0a console=3Dfb config.txt: arm_64bit=3D1 kernel=3Dnetbsd.img kernel_address=3D0x200000 enable_uart=3D1 force_turbo=3D0 You said: Rockchip's binary-only loaderalways resets the UART speed to 1.5M= bps So the binary-only loader is it within the rockchip or makes part of the u-= boot code??? why does the Rockchip's binary-only loader is unable to detect the serial = once I change the baud rate??? Thanks for your help Sergio