Date: Mon, 02 Oct 2017 22:04:49 +0200 From: Emmanuel Vadot <manu@bidouilliste.com> To: Russell Haley <russ.haley@gmail.com> Cc: Nomad Esst <noname.esst@yahoo.com>, Nomad Esst via freebsd-arm <freebsd-arm@freebsd.org>, owner-freebsd-arm@freebsd.org Subject: Re: FreeBSD 11 on Banana-Pi M3 A83t Message-ID: <7430cca44b8e3e14660a74ef9a1c2189@megadrive.org> In-Reply-To: <CABx9NuTS_mbDmqD4B7t63F8yUPSBiF-wnSiFyL0B7a8Y6kZcnA@mail.gmail.com> References: <312104517.10213240.1506511560284.ref@mail.yahoo.com> <312104517.10213240.1506511560284@mail.yahoo.com> <20170927161819.6e36cd53a76f9e75b782a3b3@bidouilliste.com> <1825224273.10951257.1506590142784@mail.yahoo.com> <CANCZdfqivGknN7wkcS7rSJz06m6hMNUyQ5TVK%2BrHahBsi3OuDA@mail.gmail.com> <1994395790.1688580.1506925528882@mail.yahoo.com> <CABx9NuTS_mbDmqD4B7t63F8yUPSBiF-wnSiFyL0B7a8Y6kZcnA@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
On 2017-10-02 21:50, Russell Haley wrote: > On Sun, Oct 1, 2017 at 11:25 PM, Nomad Esst via freebsd-arm > <freebsd-arm@freebsd.org> wrote: >> Hello Emmanuel >> Thanks for your previous answers. I was trying to update the u-boot, >> but I couldn't do the job. As you said >> >> "You could try updating u-boot to use the u-boot-master port >> (whichcurrently track the 2017.07 version of U-Boot)." >> Please tell me how can I do this job? How can I update u-boot. >> Thanks in advance. > > * First, I want to point out that if your u-boot is on the emmc, then > emmc support in u-boot "works fine". The output (from u-boot!) is > complaining about an MibCard with 2048 bytes of something, which would > be your ram. That means u-boot SPL loaded and a default value for the > hardware settings may be incorrect. No this is just newlines have been striped out of the email. U-Boot report 2048 MiB of ram and then that Card didn't respond. > So, if I were looking into this, I would pull ports from subversion > and create a directory under my home directory. I would then go into > the u-boot-bananapi2 port and examine the make file for details. > > I went ahead and looked at > https://svnweb.freebsd.org/ports/head/sysutils/ (*note that svnweb > pages the output. The page control is at the top of the screen and the > u-boot ports are on the second page.) > > I opened the banana pi port and the makefile points to the > u-boot-master makefile. In u-boot-master, the line that dictates the > u-boot version pulled from Github is on line 67 > UBOOT_VERSION?= 2017.07.00.1 > > Since we pull from Github.com, perhaps you can try a couple of things: > - Remove the line altogether and build u-boot. That *should* just pull > the head revision (good thing, bad thing? not sure). I am not sure how > you will check what revision was pulled and built Bad idea, this will not have the FreeBSD needed patches. > - Point it to a version that you know has the support you need > > If you were wanting to do a little more than update u-boot and hope, I > would say you need to find the name of the board configuration > directory and check the default settings. Das u-boot doesn't use DTS > does it? It should be in the board specific source code if I had to > guess. It depends, sometimes it uses DTS sometimes it just embed them. For allwinner (sunxi) it doesn't use them. > I looked briefly at the u-boot/board directory on Gituhub and I don't > see any support for allwinner or bananna pi's but I don't know what > I'm looking for. I can't run the config step here to look at the list > of supported boards. If you run the configure script (or the make) > and then look at boards.cfg (or something like that), it will tell you > what support is available and point you to the right /board/ > directory. In U-Boot (and Linux mainline) it's called sunxi. > You may also want to look at the linux-sunxi gitub repo as they have > support for development boards that may not have made it back into > u-boot head. No, everything is in u-boot mainline, and if it's not running u-boot from linux-sunxi will not help as it's tracking old u-boot with patches from Allwinner company. > Please if someone knows better, let me know cause I'm learning as I go! > HTH, > > Russ > >> >> >> On Thursday, September 28, 2017 1:05 PM, Warner Losh >> <imp@bsdimp.com> wrote: >> >> >> >> >> On Thu, Sep 28, 2017 at 3:15 AM, Nomad Esst via freebsd-arm >> <freebsd-arm@freebsd.org> wrote: >> >> Thank you EmmanuelI'm trying to install u-boot-master according to the >> instruction mentioned in Fresh ports: >> >> #cd /usr/ports/sysutils/u-boot- master/ && make install clean >> >> But I don't have this directory! I tried to install it using pkg >> install: >> >> #pkg install sysutils/u-boot-master >> >> But I get this error: >> >> Updating FreeBSD repository catalogue...FreeBSD repository is up to >> date.All repositories are up to date.pkg: No packages available to >> install matching 'sysutils/u-boot-master' have been found in the >> repositories >> Please help me solve this. >> Thanks in advance >> >> u-boot-master isn't a port that you install. It's just the place that >> you update when you want to change the u-boot version. You'd have to >> change it to point to the upstream version of u-boot rather than our >> repo, though, and that might start to get tricky.... >> Warner >> On Wednesday, September 27, 2017 5:48 PM, Emmanuel Vadot >> <manu@bidouilliste.com> wrote: >> >> >> On Wed, 27 Sep 2017 11:26:00 +0000 (UTC) >> Nomad Esst via freebsd-arm <freebsd-arm@freebsd.org> wrote: >> >>> Hello allI have created an image using Crochet build tool for my BPi >>> M3 board. I have burnt it on it's on-board 4GB EMMC. When I try to >>> boot the board, I get the following error: >>> >>> U-Boot SPL 2016.05 (Aug 13 2017 - 05:07:01)DRAM: 2048 MiBCard did not >>> respond to voltage select!Could not determine boot source >>> resetting ... >>> What should I do? >>> Thanks in advance. >> >> Our U-Boot is probably not recent enough to support the eMMC. A83T >> support is not really great even in Linux or U-Boot. >> >> You could try updating u-boot to use the u-boot-master port (which >> curently track the 2017.07 version of U-Boot). >> >> -- >> Emmanuel Vadot <manu@bidouilliste.com> <manu@freebsd.org> >> >> >> >> ______________________________ _________________ >> freebsd-arm@freebsd.org mailing list >> https://lists.freebsd.org/ mailman/listinfo/freebsd-arm >> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@ >> freebsd.org" >> >> >> >> >> _______________________________________________ >> freebsd-arm@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" -- Emmanuel Vadot <manu@bidouilliste.com> <manu@freebsd.org>home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7430cca44b8e3e14660a74ef9a1c2189>
