Port-RISCV archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Allwinner D1
On Tue, Mar 31, 2026 at 09:24:20PM +0000, John Klos wrote:
> > > It works, too.
> > > Other sunxi* drivers would be added soon.
> >
> > Also, ehci, ohci and motg can work -
> > https://github.com/picohive/netbsd-mangopi-mq-pro/blob/main/boot.log
>
> Nice! I'm going to give this a go. However, it seems that
> pkgsrc/wip/u-boot-mangopi-mq-pro is broken:
>
> MKIMAGE spl/sunxi-spl.bin
> BINMAN all
> Traceback (most recent call last):
> File "/usr/pkgsrc/wip/u-boot-mangopi-mq-pro/work/u-boot-d1-2022-10-31/./tools/binman/binman", line 46, in <module>
> from binman import control
> File "/usr/pkgsrc/wip/u-boot-mangopi-mq-pro/work/u-boot-d1-2022-10-31/tools/binman/control.py", line 11, in <module>
> import pkg_resources
> ModuleNotFoundError: No module named 'pkg_resources'
> gmake: *** [Makefile:1133: all] Error 1
> *** Error code 2
>
>
> It looks like it hasn't been updated in a while, so I suppose I've just
> grabbed the u-boot block from a binary package, but we don't build binary
> packages from pkgsrc-wip.
>
> Does anyone know where one gets pkg_resources in Python, or does anyone have
> a u-boot-d1-2022-10-31 package to share?
I build it on NetBSD 10.0 amd64 -
picohive: {/usr/pkgsrc/wip/u-boot-mangopi-mq-pro} make
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for u-boot-d1-2022-10-31.tar.gz
=> Checksum SHA512 OK for u-boot-d1-2022-10-31.tar.gz
===> Installing dependencies for u-boot-mangopi-mq-pro-2022.10
==========================================================================
The following variables will affect the build process of this package,
u-boot-mangopi-mq-pro-2022.10. Their current value is shown below:
* PYTHON_VERSION_DEFAULT = 312
Based on these variables, the following variables have been set:
* PYPACKAGE = python312
You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing. Be sure to run
`/usr/bin/make clean' after the changes.
==========================================================================
=> Tool dependency cross-riscv64-none-elf-gcc-[0-9]*: found cross-riscv64-none-elf-gcc-13.2.0nb1
=> Tool dependency dtc>=1.4.2: found dtc-1.7.0nb1
=> Tool dependency swig3>=3.0.12: found swig3-3.0.12nb5
=> Tool dependency py312-setuptools-[0-9]*: found py312-setuptools-75.8.0
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency bison>=1.0: found bison-3.8.2nb1
=> Tool dependency gawk>=3.1.1: found gawk-5.3.0
=> Tool dependency m4>=1.4: found m4-1.4.19nb1
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency gsed>=3.0.2: found gsed-4.9nb1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.2.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency opensbi-sun20i-d1>=1.4: found opensbi-sun20i-d1-1.4
=> Build dependency python312>=3.12.0: found python312-3.12.8nb2
[...]
/usr/pkg/cross-riscv64-none-elf/bin/riscv64-none-elf-ld.bfd: warning: u-boot-spl has a LOAD segment with RWX permissions
OBJCOPY spl/u-boot-spl-nodtb.bin
SYM spl/u-boot-spl.sym
CAT spl/u-boot-spl-dtb.bin
COPY spl/u-boot-spl.bin
MKIMAGE spl/sunxi-spl.bin
BINMAN all
/usr/builds/work/wip/u-boot-mangopi-mq-pro/work.x86_64/u-boot-d1-2022-10-31/tools/binman/etype/section.py:25: SyntaxWarning: invalid escape sequence '\('
"""Entry that contains other entries
*** Please use pkgtools/verifypc to sanity check dependencies.
The bin file is uploaded here -
https://github.com/picohive/netbsd-mangopi-mq-pro/blob/main/u-boot-sunxi-with-spl.bin
-rxg
Home |
Main Index |
Thread Index |
Old Index