Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2019 21:54:23 +0100
From:      Bernd Walter <ticso@cicely7.cicely.de>
To:        Klaus =?iso-8859-1?Q?K=FCchemann?= <maciphone2@googlemail.com>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: Choose between Raspberry Pi 4B 4GB and ROCKPro64
Message-ID:  <20191113205422.GW43404@cicely7.cicely.de>
In-Reply-To: <1573677464044-0.post@n6.nabble.com>
References:  <20191112124539.GM43404@cicely7.cicely.de> <1573571378957-0.post@n6.nabble.com> <20191112221610.GN43404@cicely7.cicely.de> <20191112225251.GB4552@funkthat.com> <20191113075343.GP43404@cicely7.cicely.de> <20191113164800.GS43404@cicely7.cicely.de> <20191113183722.GD4552@funkthat.com> <1573674941654-0.post@n6.nabble.com> <20191113205935.fcb4383214e3a2f02ddde5bb@bidouilliste.com> <1573677464044-0.post@n6.nabble.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Nov 13, 2019 at 01:37:44PM -0700, Klaus Küchemann via freebsd-arm wrote:
> Emmanuel Vadot-7 wrote
> > Hi Klaus,
> > 
> > On Wed, 13 Nov 2019 12:55:41 -0700 (MST)
> > Klaus Küchemann via freebsd-arm &lt;
> 
> > freebsd-arm@
> 
> > &gt; wrote:
> > 
> >> well,  after installing
> >> https://www.freshports.org/sysutils/u-boot-rockpro64/
> >> just for testing 
> >> I see u-boot.itb is missing(which is really needed). there are
> >> boot.img/trust.img/README& idbloader.img .
> >> as said, I have no problems booting the RockPro64 but I use a hacked
> >> version
> >> of 2019.10 -
> >> sysutils/u-boot-rockpro64 should be updated if there's really no
> >> u-boot.itb
> >> available .
> >> Also a 2019.10 - version with 115200 should help most users with cheap
> >> USB-dongles if they don't have another SBC available to connect UART .
> > 
> >  First of all, could you quote on your answer, it's really hard to
> > follow a discussion if you don't.
> > 
> >  And there is u-boot.itb :
> > 
> > manu@skull> sudo pkg install
> > u-boot-rockpro64 Updating FreeBSD repository catalogue...
> > FreeBSD repository is up to date.
> > All repositories are up to date.
> > The following 1 package(s) will be affected (of 0 checked):
> > 
> > New packages to be INSTALLED:
> >         u-boot-rockpro64: 2019.10 [FreeBSD]
> > 
> > Number of packages to be installed: 1
> > 
> > The process will require 1 MiB more space.
> > 303 KiB to be downloaded.
> > 
> > Proceed with this action? [y/N]: y
> > [1/1] Fetching u-boot-rockpro64-2019.10.txz: 100%  303 KiB 310.4kB/s
> > 00:01 Checking integrity... done (0 conflicting)
> > [1/1] Installing u-boot-rockpro64-2019.10...
> > [1/1] Extracting u-boot-rockpro64-2019.10: 100%
> > manu@skull> ls
> > -l /usr/local/share/u-boot/u-boot-rockpro64/ total 3
> > -rw-r--r--  1 root  wheel  473933 Nov  9 19:37 idbloader.img
> > -rw-r--r--  1 root  wheel     368 Nov  9 19:37 README
> > -rw-r--r--  1 root  wheel  824140 Nov  9 19:37 u-boot.itb
> > 
> >  How did you test the port ?
> 
> 
> Hi Emmanuel,
> 
> yes, I see now u-boot.itb available if installing on aarch64(RockPro64
> itself).
> root@generic:~ # uname -a                                                       
> root@generic:~ # uname -a
> FreeBSD generic 13.0-CURRENT FreeBSD 13.0-CURRENT #0
> f4c44436d92-c263877(master)..04:30:47 UTC 2019    
> root@generic:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC-4
> 
> root@generic:~ #  ls /usr/local/share/u-boot/u-boot-rockpro64                   
> README          idbloader.img   u-boot.itb       
> -
> 
> installed on AMD64(maybe compiled from ports, don't remember) I saw this :
> --
> root@freebsd:~ # uname -a
> FreeBSD freebsd 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC amd64
> root@freebsd:~ #  ls /usr/local/share/u-boot/u-boot-rockpro64
> README        idbloader.img trust.img     uboot.img

I just installed the package:
[72]cicely7# pkg info | grep rock
u-boot-rockpro64-2019.10       Cross-build das u-boot for model rockpro64
[73]cicely7# uname -a
FreeBSD cicely7.cicely.de 12.0-STABLE FreeBSD 12.0-STABLE r343219 GENERIC  amd64
[74]cicely7# ls /usr/local/share/u-boot/u-boot-rockpro64
README          idbloader.img   u-boot.itb

> --
> well, booting the now created uSD created with files from sysutils I see
> garbled output on 115200( as Walter said) :
> 
> --
> Press CTRL-A Z for help on special keys
>         ???c???NOTICE:  BL31: v2.1(release):
> NOTICE:  BL31: Built : 01:47:33, Oct 24 2019
> i?Q????e???(?8????????.????h?????????0U8?????h?? q????*????? (?
> ???????9-??+????????????
> --
> which seems to mean that it's set to 1500000 what most of cheap USB-UARTs
> can't handle.

Since I also see garbled output with two different CH340G adapters at 1.5Mbps,
as well as a PL2303, I assume there is something fishy.
I will see what happens with the anlyzer.

> Should be better to provide a 2019.10-version which can handle 115200..

I agree, since many adapters arn't capable of doing 1.5Mbps.
Not to mention the byte losses.

-- 
B.Walter <bernd@bwct.de> http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20191113205422.GW43404>