archive-org.com » ORG » K » KERNELNOMICON.ORG

Total: 311

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • FreeBSD developer's notebook | All Things FreeBSD
    We need hw fdt console in loader conf because riotboard s DTS file does not have stdout path property in chosen node In this case FreeBSD falls back to serial0 node but user accessible UART on RIoTboard is UART2 so as a result no kernel output visible on serial port echo hw fdt console soc aips bus 02100000 serial 021e8000 tmp loader conf cat tmp fstab tmp rc conf Unmount UFS and mount FAT partition sudo umount MNTDIR FAT DEV dev MDUNIT s1 sudo mount t msdosfs FAT DEV MNTDIR Build and install ubldr unmount FAT partition buildenv make C SRCROOT TARGET ARCH armv6 buildenvvars eval buildenv make C SRCROOT sys boot m MAKESYSPATH obj eval buildenv make C SRCROOT sys boot m MAKESYSPATH clean eval buildenv make C SRCROOT sys boot m MAKESYSPATH depend eval buildenv make C SRCROOT sys boot m MAKESYSPATH UBLDR LOADADDR 0x12000000 all sudo cp MAKEOBJDIRPREFIX arm armv6 SRCROOT sys boot arm uboot ubldr MNTDIR sudo umount MNTDIR Download and install u boot riotboard port Then flash u boot to the image sudo dd if usr local share u boot u boot riotboard u boot imx of DEV bs 1k oseek 1 conv sync Detach md device sudo mdconfig d u MDUNIT Configure boot switch selector on board to boot from SD card as described in this document Insert SD card to either SD slot or uSD slot When powered up you should see u boot prompt Boot command would look something like fatload mmc 0 loadaddr ubldr bootelf For SD slot mmc unit is 0 for uSD it s probably 1 I didn t test Boot log here Next step for me is to get my imx6 video branch up to date and see if I can commit it to HEAD In Uncategorized FreeBSD on RPi 2 progress November 9 2015 4 Comments Quick update on progress in FreeBSD s support of Raspberry Pi VCHIQ driver was updated to the latest vendor code and bunch of FreeBSD specific problems was fixed locking handling of non cacheline aligned data Raspberry Pi userland code was updated to the latest vendor code Mikael Urankar created misc raspberrypi userland for userland libraries utilities Mikael also created multimedia omxplayer port for OMXPlayer video player developed for RPi It s also used in Kodi player on Pi I created misc ioquake pi port to make it easier for people to try it out I put together all this stuff on my brand new Pi 2 and recorded demo that showcases OpenGL Quake3 omxplayer camera and audio I hope all these ports will be committed updated before next round of armv6 packages build In Uncategorized Official 7 Raspberry Pi Touchscreen Display and FreeBSD October 23 2015 5 Comments Received yesterday and had to assembly it first thing today Display part works like a charm without any system modifications Haven t researched touchscreen part though In Uncategorized FreeBSD BBB and 4DCAPE 43T touchscreen October 16 2015 3 Comments And yet another demo

    Original URL path: http://kernelnomicon.org/ (2016-02-01)
    Open archived version from archive


  • Controlling AC power using GPIO | FreeBSD developer's notebook
    s user manual Just in case you don t know and it s not in manual pin 1 on the port marked with white triangle if you look at port so that pin 1 is in top left corner next to it on the right is pin 2 and right under it is pin 3 So it goes like 1 2 3 4 5 6 and so on I used GPIO4 16 pin 5 You need to connect GND and GPIO pin to relay s control port Polarity does not matter in this case For port control you can use gpioctl utility But first we need to identify this pin on FreeBSD s side For each GPIO bank FreeBSD has dev gpiocX device node where X starts from zero But it s not uncommon for SoC vendors to start numbering GPIO banks from 1 riotboard s vendor is one of them so GPIO4 is actually controlled through dev gpioc3 By default pin 16 is configured as input so you need to change it to out gpioctl f dev gpioc3 c 16 OUT and then you can start giving orders to relay gpioctl f dev gpioc3 16 0 gpioctl f dev

    Original URL path: http://kernelnomicon.org/?p=592 (2016-02-01)
    Open archived version from archive

  • Uncategorized | FreeBSD developer's notebook
    j enable S 4194304 UFS PART Turn on NFSv4 ACLs tunefs N enable UFS PART mdconfig d u MDUNIT Mount UFS partition MDUNIT sudo mdconfig a f IMG DEV dev MDUNIT UFS DEV dev MDUNIT s2a sudo mount UFS DEV MNTDIR Install world kernel sudo E make C SRCROOT installworld DDB FROM SRC DESTDIR MNTDIR sudo E make C SRCROOT distribution DDB FROM SRC DESTDIR MNTDIR sudo E make C SRCROOT installkernel DESTDIR MNTDIR Install come configuration We need hw fdt console in loader conf because riotboard s DTS file does not have stdout path property in chosen node In this case FreeBSD falls back to serial0 node but user accessible UART on RIoTboard is UART2 so as a result no kernel output visible on serial port echo hw fdt console soc aips bus 02100000 serial 021e8000 tmp loader conf cat tmp fstab tmp rc conf Unmount UFS and mount FAT partition sudo umount MNTDIR FAT DEV dev MDUNIT s1 sudo mount t msdosfs FAT DEV MNTDIR Build and install ubldr unmount FAT partition buildenv make C SRCROOT TARGET ARCH armv6 buildenvvars eval buildenv make C SRCROOT sys boot m MAKESYSPATH obj eval buildenv make C SRCROOT sys boot m MAKESYSPATH clean eval buildenv make C SRCROOT sys boot m MAKESYSPATH depend eval buildenv make C SRCROOT sys boot m MAKESYSPATH UBLDR LOADADDR 0x12000000 all sudo cp MAKEOBJDIRPREFIX arm armv6 SRCROOT sys boot arm uboot ubldr MNTDIR sudo umount MNTDIR Download and install u boot riotboard port Then flash u boot to the image sudo dd if usr local share u boot u boot riotboard u boot imx of DEV bs 1k oseek 1 conv sync Detach md device sudo mdconfig d u MDUNIT Configure boot switch selector on board to boot from SD card as described in this document Insert SD card to either SD slot or uSD slot When powered up you should see u boot prompt Boot command would look something like fatload mmc 0 loadaddr ubldr bootelf For SD slot mmc unit is 0 for uSD it s probably 1 I didn t test Boot log here Next step for me is to get my imx6 video branch up to date and see if I can commit it to HEAD In Uncategorized FreeBSD on RPi 2 progress November 9 2015 4 Comments Quick update on progress in FreeBSD s support of Raspberry Pi VCHIQ driver was updated to the latest vendor code and bunch of FreeBSD specific problems was fixed locking handling of non cacheline aligned data Raspberry Pi userland code was updated to the latest vendor code Mikael Urankar created misc raspberrypi userland for userland libraries utilities Mikael also created multimedia omxplayer port for OMXPlayer video player developed for RPi It s also used in Kodi player on Pi I created misc ioquake pi port to make it easier for people to try it out I put together all this stuff on my brand new Pi 2 and recorded demo that showcases OpenGL Quake3 omxplayer

    Original URL path: http://kernelnomicon.org/?cat=1 (2016-02-01)
    Open archived version from archive

  • i.MX6 IPU and HDMI drivers | FreeBSD developer's notebook
    management requires more sophisticated timers framework that is being work on as a part of Jetson TK1 port In Uncategorized gonzo Posts Website RIoTboard support Controlling AC power using No Comments Be the first to start the conversation Leave a Reply Cancel reply Name Email Website Comment Text formatting is available via select HTML a href title abbr title acronym title b blockquote cite cite code del datetime em i

    Original URL path: http://kernelnomicon.org/?p=589 (2016-02-01)
    Open archived version from archive

  • RIoTboard support | FreeBSD developer's notebook
    1 DEV newfs msdos L BOOT F 16 FAT DEV Create UFS partition UFS DEV dev MDUNIT s2 gpart add t freebsd DEV gpart create s BSD UFS DEV gpart add t freebsd ufs a 64k UFS DEV UFS PART dev MDUNIT s2a newfs UFS PART Turn on Softupdates tunefs n enable UFS PART tunefs j enable S 4194304 UFS PART Turn on NFSv4 ACLs tunefs N enable UFS PART mdconfig d u MDUNIT Mount UFS partition MDUNIT sudo mdconfig a f IMG DEV dev MDUNIT UFS DEV dev MDUNIT s2a sudo mount UFS DEV MNTDIR Install world kernel sudo E make C SRCROOT installworld DDB FROM SRC DESTDIR MNTDIR sudo E make C SRCROOT distribution DDB FROM SRC DESTDIR MNTDIR sudo E make C SRCROOT installkernel DESTDIR MNTDIR Install come configuration We need hw fdt console in loader conf because riotboard s DTS file does not have stdout path property in chosen node In this case FreeBSD falls back to serial0 node but user accessible UART on RIoTboard is UART2 so as a result no kernel output visible on serial port echo hw fdt console soc aips bus 02100000 serial 021e8000 tmp loader conf cat tmp fstab tmp rc conf Unmount UFS and mount FAT partition sudo umount MNTDIR FAT DEV dev MDUNIT s1 sudo mount t msdosfs FAT DEV MNTDIR Build and install ubldr unmount FAT partition buildenv make C SRCROOT TARGET ARCH armv6 buildenvvars eval buildenv make C SRCROOT sys boot m MAKESYSPATH obj eval buildenv make C SRCROOT sys boot m MAKESYSPATH clean eval buildenv make C SRCROOT sys boot m MAKESYSPATH depend eval buildenv make C SRCROOT sys boot m MAKESYSPATH UBLDR LOADADDR 0x12000000 all sudo cp MAKEOBJDIRPREFIX arm armv6 SRCROOT sys boot arm uboot ubldr MNTDIR sudo umount MNTDIR Download and install u boot

    Original URL path: http://kernelnomicon.org/?p=572 (2016-02-01)
    Open archived version from archive

  • FreeBSD on RPi 2 progress | FreeBSD developer's notebook
    on Pi I created misc ioquake pi port to make it easier for people to try it out I put together all this stuff on my brand new Pi 2 and recorded demo that showcases OpenGL Quake3 omxplayer camera and audio I hope all these ports will be committed updated before next round of armv6 packages build In Uncategorized gonzo Posts Website Official 7 Raspberry Pi RIoTboard support 4 responses to FreeBSD on RPi 2 progress Chetan December 6 2015 at 7 20 am Hi Gonzo I am not able to find the omxplayer in the ports as of 6Dec 2015 Reply Chetan December 6 2015 at 7 46 am I got the isue I had not updated the ports I did a portsnap fetch and portsnap update Reply Jhonny December 30 2015 at 10 30 am OT where has the qemu kernel versatilepb gone Reply gonzo December 30 2015 at 10 35 am It s still in sources https svnweb freebsd org base head sys arm conf VERSATILEPB view log You can build image for qemu manually or using crochet tool Reply Leave a Reply Cancel reply Name Email Website Comment Text formatting is available via select HTML a

    Original URL path: http://kernelnomicon.org/?p=565 (2016-02-01)
    Open archived version from archive

  • Official 7″ Raspberry Pi Touchscreen Display and FreeBSD | FreeBSD developer's notebook
    at 4 26 pm FreeBSD supports Beaglebone Black Still Pi is a lot of fun So far it s the only device FreeBSD has GPU support Reply Arto Pekkanen October 25 2015 at 1 03 pm Does it have full hardware acceleration for graphics in X org How about OpenGL RPi CPU includes the proprietary VideoCore video accelerator to offload video decoding does that work too It also has OpenSource driver https wiki matthiasbock net index php Hardware accelerated video playback on the Raspberry Pi Reply gonzo October 26 2015 at 2 36 am Not sure about Xorg but it supports OpenGL ES I created FreeBSD port of ioquake3 some time ago http kernelnomicon org p 427 Als I was able to run Qt5 with eglfs driver http kernelnomicon org p 461 Video decoder is supported too video playback demo in opt vc works I haven t tried any real life media software like gstreamer I haven t checked this functionality recently but I m planning on testing all this stuff soon Reply Arto Pekkanen October 26 2015 at 4 50 pm Awesome I will be following your blog for progress This is very interesting news for FreeBSD embedded application

    Original URL path: http://kernelnomicon.org/?p=540 (2016-02-01)
    Open archived version from archive

  • FreeBSD, BBB, and 4DCAPE-43T: touchscreen | FreeBSD developer's notebook
    were changed comparing to stock one I added bsd raw input plugin to communicate with kernel and rewrote framebuffer related routines Code is in 4dcape 43t branch in my work in progress GitHub repo and in freebsd branch of tslib fork In Uncategorized gonzo Posts Website More fun with Beaglebone Official 7 Raspberry Pi 3 responses to FreeBSD BBB and 4DCAPE 43T touchscreen Frank Harvey October 17 2015 at 12 44 pm Gonzo thanks for this I am looking at the 4D 4 3 LCD and this helps a bunch Keep up all the great hacking Loving the HDMI support you added to the Beaglebone Reply Arto Pekkanen November 5 2015 at 4 18 am Btw have you been following the developments of the graphics and input stack Relevant article https wiki freebsd org 201510DevSummit GraphicsStack It seems like EvDev will be ported to FreeBSD followed by LibInput to get xf86 input evdev to handle all input in X org Does any Linux for RPi like Raspian use EvDev LibInput and xf86 input evdev to enable external touch screen support in X org Would this be the future software stack to enable external touch screen support in X org with FreeBSD on RPi compatible devices or are there other alternatives Reply gonzo November 5 2015 at 11 46 am I wasn t aware of this effort Thanks for pointing me to it Having evdev would mean a lot of software can work on FreeBSD without major modification Like Qt I think raspbian uses official 7 touchscreen as a mouse through evdev at least that s how I read code I already have driver for it for FreeBSD only missing piece is userland integration in HEAD my hack does not count evdev would be this missing link Reply Leave a Reply

    Original URL path: http://kernelnomicon.org/?p=534 (2016-02-01)
    Open archived version from archive