Re: Raspberry Pi camera under NetBSD current
On Monday 01 Nov 2021 09:42:57 Michael van Elst wrote: > dty...@anduin.org.uk (Dave Tyson) writes: > >> Trying to access the camera with raspistill however ends in a crash > >> in the vchiq driver. > > > >Thanks for the data point. I guess there may be significant differences in > >the microcode files between the RPI1B and RPI3b+, but at least the kernel > >loaded OK for you so the sdcard driver works. I have turned on debugging > >for the broadcom sdcard hooks and got a few hints as to where the problem > >lies - but need to look closely at the source to pin point the failure. Of > >course, even if I can get further I may still suffer the same crash with > >raspistill. FreeBSD works OK and I can get pictures, so I know it is > >achievable. > I had a little success now with the camara and raspistill. > > http://ftp.netbsd.org/pub/NetBSD/misc/mlelstv/cam.jpg > > The file is slightly corrupted (truncated?) but can be displayed. I pulled down the latest snapshot produced by Jun Ebihara on 6th November. This boots fine on a Raspberry 1B & Pi zero but not on a Pi zero 2. The snapshot does not include start_x.elf and start_db.elf and associated fixup files so I used the 4 sets of start/fixup versions shipped with raspian and the system booted OK with start_x=1 in the config file. The good news is raspistill worked fine with the --nopreview option and I could capture a reasonable image OK. (if you omit the --nopreview option it succeeds in displaying the image but crashes shortly after) I tried to get it to take a sequence of still shots at a rate of 10/sec (using -tl 100) and that seemed to work OK, but after a while the kernel reports: dwc2_host_complete: unknown error status -54 a couple of times and then a slew of usb devices detach including the ethernet, keyboard etc. and that seems to be game over :-( Still at least its progress. I notice that there is an open source camera stack for Raspberry Pi using libcamera - might have a play with that under raspian and see if it can be ported to NetBSD. https://www.raspberrypi.com/news/an-open-source-camera-stack-for-raspberry-pi-using-libcamera/ Dave
Automated report: NetBSD-current/i386 build failure
This is an automatically generated notice of a NetBSD-current/i386 build failure. The failure occurred on babylon5.netbsd.org, a NetBSD/amd64 host, using sources from CVS date 2021.11.16.21.02.06. An extract from the build.sh output follows: --- attributes.po --- # compile libcurses/attributes.po /tmp/build/2021.11.16.21.02.06-i386/tools/bin/i486--netbsdelf-gcc -O2 -std=gnu99-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wsystem-headers -Wno-traditional -Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow -Werror -fPIE --sysroot=/tmp/build/2021.11.16.21.02.06-i386/destdir -I/tmp/build/2021.11.16.21.02.06-i386/src/lib/libcurses -I/tmp/build/2021.11.16.21.02.06-i386/src/lib/libterminfo -I. -DHAVE_WCHAR -c -DGPROF -DPROF-pg -fPIC /tmp/build/2021.11.16.21.02.06-i386/src/lib/libcurses/attributes.c -o attributes.po.o --- ins_wstr.o --- /tmp/build/2021.11.16.21.02.06-i386/src/lib/libcurses/ins_wstr.c: In function 'wins_nwstr': /tmp/build/2021.11.16.21.02.06-i386/src/lib/libcurses/ins_wstr.c:138:6: error: unused variable 'i' [-Werror=unused-variable] 138 | int i, width, len, lx, sx, x, y, tx, ty, cw, pcw, newx, tn, w; | ^ --- cchar.o --- /tmp/build/2021.11.16.21.02.06-i386/tools/bin/nbctfconvert -g -L VERSION -o cchar.o cchar.o.o && rm -f cchar.o.o --- underscore.o --- The following commits were made between the last successful build and the failed build: 2021.11.16.20.42.47 rillig src/games/caesar/caesar.c,v 1.24 2021.11.16.21.00.50 blymn src/lib/libcurses/ins_wstr.c,v 1.19 2021.11.16.21.01.05 rillig src/usr.bin/xlint/lint1/cgram.y,v 1.370 2021.11.16.21.01.05 rillig src/usr.bin/xlint/lint1/ckbool.c,v 1.9 2021.11.16.21.01.05 rillig src/usr.bin/xlint/lint1/debug.c,v 1.5 2021.11.16.21.01.05 rillig src/usr.bin/xlint/lint1/externs1.h,v 1.140 2021.11.16.21.01.05 rillig src/usr.bin/xlint/lint1/func.c,v 1.126 2021.11.16.21.01.05 rillig src/usr.bin/xlint/lint1/init.c,v 1.210 2021.11.16.21.01.05 rillig src/usr.bin/xlint/lint1/lint1.h,v 1.131 2021.11.16.21.01.05 rillig src/usr.bin/xlint/lint1/mem1.c,v 1.55 2021.11.16.21.01.05 rillig src/usr.bin/xlint/lint1/tree.c,v 1.395 2021.11.16.21.01.06 rillig src/tests/usr.bin/xlint/lint1/d_c99_bool_strict.c,v 1.34 2021.11.16.21.01.06 rillig src/tests/usr.bin/xlint/lint1/d_c99_bool_strict.exp,v 1.32 2021.11.16.21.02.06 blymn src/tests/lib/libcurses/check_files/Makefile,v 1.9 2021.11.16.21.02.06 blymn src/tests/lib/libcurses/check_files/ins_wstr3.chk,v 1.1 2021.11.16.21.02.06 blymn src/tests/lib/libcurses/check_files/ins_wstr4.chk,v 1.1 2021.11.16.21.02.06 blymn src/tests/lib/libcurses/check_files/ins_wstr5.chk,v 1.1 2021.11.16.21.02.06 blymn src/tests/lib/libcurses/check_files/wins_wstr3.chk,v 1.1 2021.11.16.21.02.06 blymn src/tests/lib/libcurses/check_files/wins_wstr4.chk,v 1.1 2021.11.16.21.02.06 blymn src/tests/lib/libcurses/check_files/wins_wstr5.chk,v 1.1 2021.11.16.21.02.06 blymn src/tests/lib/libcurses/tests/ins_wstr,v 1.2 2021.11.16.21.02.06 blymn src/tests/lib/libcurses/tests/wins_wstr,v 1.2 Logs can be found at: http://releng.NetBSD.org/b5reports/i386/commits-2021.11.html#2021.11.16.21.02.06
Re: Raspberry Pi camera under NetBSD current
From: Dave Tyson Subject: Re: Raspberry Pi camera under NetBSD current Date: Tue, 16 Nov 2021 20:34:32 + >> I had a little success now with the camara and raspistill. >> http://ftp.netbsd.org/pub/NetBSD/misc/mlelstv/cam.jpg >> The file is slightly corrupted (truncated?) but can be displayed. > I pulled down the latest snapshot produced by Jun Ebihara on 6th November. > This boots fine on a Raspberry 1B & Pi zero but not on a Pi zero 2. The > snapshot does not include start_x.elf and start_db.elf and associated fixup > files so I used the 4 sets of start/fixup versions shipped with raspian and > the system booted OK with start_x=1 in the config file. Update image with start/fixups http://mail-index.netbsd.org/port-arm/2021/11/17/msg007495.html rpi$ ls start* start.elfstart4cd.elf start4x.elf start_db.elf start4.elf start4db.elf start_cd.elf start_x.elf rpi$ ls fix* fixup.datfixup4cd.dat fixup4x.dat fixup_db.dat fixup4.dat fixup4db.dat fixup_cd.dat fixup_x.dat rpi$ ls dtb bcm2708-rpi-b-plus.dtbbcm2710-rpi-cm3.dtb bcm2835-rpi-b.dtb bcm2708-rpi-b-rev1.dtbbcm2710-rpi-zero-2-w.dtb bcm2835-rpi-cm1-io1.dtb bcm2708-rpi-b.dtb bcm2710-rpi-zero-2.dtbbcm2835-rpi-zero-w.dtb bcm2708-rpi-cm.dtbbcm2711-rpi-4-b.dtb bcm2835-rpi-zero.dtb bcm2708-rpi-zero-w.dtbbcm2711-rpi-400.dtb bcm2836-rpi-2-b.dtb bcm2708-rpi-zero.dtb bcm2711-rpi-cm4.dtb bcm2837-rpi-3-a-plus.dtb bcm2709-rpi-2-b.dtb bcm2835-rpi-a-plus.dtbbcm2837-rpi-3-b-plus.dtb bcm2710-rpi-2-b.dtb bcm2835-rpi-a.dtb bcm2837-rpi-3-b.dtb bcm2710-rpi-3-b-plus.dtb bcm2835-rpi-b-plus.dtbbcm2837-rpi-cm3-io3.dtb bcm2710-rpi-3-b.dtb bcm2835-rpi-b-rev2.dtb Thanx! -- Jun Ebihara
daily CVS update output
Updating src tree: P src/bin/echo/echo.c P src/bin/pwd/pwd.c P src/bin/sh/cd.c P src/bin/sh/eval.c P src/bin/sh/exec.c P src/bin/sh/miscbltin.c P src/bin/sh/nodetypes P src/bin/sh/parser.c P src/bin/sh/redir.c P src/bin/sh/sh.1 P src/distrib/sets/lists/tests/mi P src/external/mit/xorg/bin/xterm/Makefile P src/external/mit/xorg/lib/freetype/Makefile P src/external/mit/xorg/lib/libX11/dynamic/Makefile P src/external/mit/xorg/lib/libX11/static/Makefile P src/external/mit/xorg/lib/libXfont/Makefile P src/external/mit/xorg/lib/libXfont2/Makefile P src/external/mit/xorg/lib/libXpm/Makefile P src/external/mit/xorg/server/xorg-server/Makefile.common P src/external/mit/xorg/server/xorg-server/Makefile.serverlib P src/external/mit/xorg/server/xorg-server/Makefile.servermod P src/external/mit/xorg/server/xorg-server/hw/xfree86/Xorg/Makefile P src/games/caesar/caesar.c P src/lib/libcurses/ins_wstr.c P src/share/man/man4/options.4 P src/sys/arch/evbmips/conf/MIPSSIM P src/sys/arch/evbmips/mipssim/machdep.c P src/sys/arch/mips/include/cpuregs.h P src/sys/arch/mips/mips/cpu_subr.c P src/sys/arch/mips/mips/mips_emul.c P src/sys/arch/playstation2/playstation2/machdep.c P src/sys/dev/ic/nvme.c P src/sys/dev/ic/nvmevar.h P src/sys/net/lagg/files.lagg P src/sys/net/lagg/if_lagg_lacp.c P src/tests/bin/sh/t_redir.sh P src/tests/bin/sh/t_syntax.sh P src/tests/lib/libcurses/check_files/Makefile U src/tests/lib/libcurses/check_files/ins_wstr3.chk U src/tests/lib/libcurses/check_files/ins_wstr4.chk U src/tests/lib/libcurses/check_files/ins_wstr5.chk U src/tests/lib/libcurses/check_files/wins_wstr3.chk U src/tests/lib/libcurses/check_files/wins_wstr4.chk U src/tests/lib/libcurses/check_files/wins_wstr5.chk P src/tests/lib/libcurses/tests/ins_wstr P src/tests/lib/libcurses/tests/wins_wstr P src/tests/usr.bin/xlint/lint1/d_c99_bool_strict.c P src/tests/usr.bin/xlint/lint1/d_c99_bool_strict.exp P src/tests/usr.bin/xlint/lint1/expr_precedence.c P src/usr.bin/xlint/lint1/cgram.y P src/usr.bin/xlint/lint1/ckbool.c P src/usr.bin/xlint/lint1/debug.c P src/usr.bin/xlint/lint1/externs1.h P src/usr.bin/xlint/lint1/func.c P src/usr.bin/xlint/lint1/init.c P src/usr.bin/xlint/lint1/lex.c P src/usr.bin/xlint/lint1/lint1.h P src/usr.bin/xlint/lint1/mem1.c P src/usr.bin/xlint/lint1/tree.c P src/usr.bin/xlint/lint2/chk.c P src/usr.bin/xlint/lint2/emit2.c P src/usr.bin/xlint/lint2/externs2.h P src/usr.bin/xlint/lint2/hash.c P src/usr.bin/xlint/lint2/main2.c P src/usr.bin/xlint/lint2/read.c Updating xsrc tree: Killing core files: Updating release-8 src tree (netbsd-8): Updating release-8 xsrc tree (netbsd-8): Updating release-9 src tree (netbsd-9): Updating release-9 xsrc tree (netbsd-9): Updating file list: -rw-rw-r-- 1 srcmastr netbsd 48442051 Nov 17 03:11 ls-lRA.gz
Automated report: NetBSD-current/i386 build success
The NetBSD-current/i386 build is working again. The following commits were made between the last failed build and the successful build: 2021.11.17.04.33.26 kre src/distrib/sets/lists/tests/mi,v 1.1165 Logs can be found at: http://releng.NetBSD.org/b5reports/i386/commits-2021.11.html#2021.11.17.04.33.26