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".
  • More fun with Beaglebone Black and 4DCAPE-43T | FreeBSD developer's notebook
    second class citizen comparing to FreeBSD gcc which causes some minor POSIX related incompatibility fallout But other than that it was smooth sailing patch against vendor tree is really small I ll post it later along with build instructions In addition to scfb platform support Qt console input plugins required qt5 bsd input Demo was built using cross compiled Qt 5 5 1 audio support is gstreamer Qt plugin In Uncategorized gonzo Posts Website FreeBSD BBB and 4DCAPE 43T FreeBSD BBB and 4DCAPE 43T 2 responses to More fun with Beaglebone Black and 4DCAPE 43T Brandon October 15 2015 at 12 26 pm Hey Gonzo There s a typo in your title O Have you done any work with the Intel Edison or RIoTBoard You can respond to my query via email Thanks Brandon Reply gonzo October 15 2015 at 1 35 pm Hi Brandon Thanks for pointing it out Although Baglebone would make good name for a device too IMHO I ve never worked with Edison or RIoTBoard RIoTBoard is iMX6 and FreeBSD has pretty good support for this SoC so shouldn t be much work Edison looks really interesting but more challenging though Reply Leave a Reply Cancel

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


  • Qt5 for FreeBSD/Pi | FreeBSD developer's notebook
    opensource confirm license optimized qmake release prefix usr local Qt5 no pch nomake tests nomake examples plugin sql sqlite gmake j sysctl n hw ncpu sudo gmake install You need BSD specific plugins to enable mouse and keyboard input in EGLFS mode cd src git clone https github com gonzoua qt5 bsd input git cd qt5 bsd input src qt5 qtbase bin qmake gmake sudo gmake install Build application you d like run and install it I use one of the examples here cd src qt5 qtbase examples opengl cube src qt5 qtbase bin qmake gmake sudo gmake install Unmount SD card boot Pi make sure vchiq is loaded root raspberry pi kldload Start application root raspberry pi usr local Qt5 examples opengl cube cube plugin bsdkeyboard plugin bsdsysmouse If you see something like this EGL Error Could not create the egl surface error 0x3003 Or this QOpenGLFramebufferObject Framebuffer incomplete attachment It means you need to increase GPU memory by setting gpu mem in config txt Amount depends on framebuffer resolution 128Mb works for me on 1920 1080 display bsdsysmouse plugin uses dev sysmouse by default so you either should have moused running or specify actual mouse device e g root raspberry pi cube plugin bsdkeyboard plugin bsdsysmouse dev ums0 bsdkeyboard uses STDIN as input device so if you re trying to start app from serial console it should be something like this root raspberry pi cube plugin bsdkeyboard plugin bsdsysmouse In FreeBSD freebsd qt5 raspberry pi vchiq gonzo Posts Website Update on ioquake ARM for HDMI support for Beaglebone Trackbacks and Pingbacks More fun with Baglebone Black and 4DCAPE 43T FreeBSD developer s notebook October 9 2015 More than 10 years ago you could run it on Linux ARM on Sharp Zaurus and now you can run it on

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

  • FreeBSD, BBB and 4DCAPE-43T | FreeBSD developer's notebook
    dev gpioc1 18 1 gpiokeys is somewhat more complex thing and still WIP there are some pieces missing in HEAD I had to hack around to make them work And I haven t started research on touchscreen yet In FreeBSD gonzo Posts Website FDT overlays in FreeBSD More fun with Beaglebone No Comments Be the first to start the conversation Leave a Reply Cancel reply Name Email Website Comment Text

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

  • FreeBSD | FreeBSD developer's notebook
    In ARM FreeBSD audio freebsd vchiq Update on FreeBSD armv6 in QEMU June 29 2013 5 Comments QEMU support in FreeBSD armv6 regressed since I tried it last time few months back Changes in FreeBSD kernel and in QEMU itself revealed bugs that were masked by previous behaviour In FreeBSD it was r248467 the way memory IO resources are activated on FDT bus has been changed and it triggered bug in versatile pci c The other issue is more complex It seems that PCI IRQ routing in QEMU was out of sync with real hardware So after commit 66a96d7018b9cbabb73c9b87b62a37e4cc46580a IRQ numbers assigned to PCI devices by FreeBSD kernel by default were invalid Authors of QEMU eventually added compatibility knob to fall back to previous logic So if you re using QEMU 1 5 or later add this option to your command line global versatile pci broken irq mapping 1 In ARM FreeBSD Raspberry Pi console June 24 2013 Leave a comment Quick hint If you did not disable device sc in kernel config all the message from kernel go to video console But if something bad happened after kernel started and before framebuffer driver is activated all you ll see would be Kernel args null message on serial console which is not very helpful So in order to debug this problem and have kernel boot messages on both monitor and serial port without recompiling kernel just add following line to boot loader rc on SD card set boot multicons YES In FreeBSD Work in Progress LCD driver for AM335x evaluation module May 5 2013 Leave a comment I m trying to wrap up some project I started working on quite some time ago and this is first chunk of clean up Patch contains Kernel config for AM335x EVM dts file for AM335x EVM with TFT panel info LCD controller driver with some functionality missing only 24 32 bit depth and only TFT mode is supported Really simple PWM driver LCD backlight is controlled through eCAS submodule of PWMSS0 module I tested it only on evaluation module although I think with proper panel pinmux configuration it should work with BeagleBone s LCD caps too Parts missing adjusting clock to proper pixel frequency proper allocation of framebuffer memory In FreeBSD FDT driver skeleton generator May 3 2013 Leave a comment Writing new driver for FDT based device always involves several simple steps writing generic newbus driver skeleton Checking for compatibility of node in probe routine Allocate memory IRQ resources in attach routine I can t say for other developers but I just copy existing driver remove all device specific stuff and rewrite generic stuff Which is less time consuming then writing it from scratch but time consuming it is Being huge fan of automation of any kind I decided to let computer do all this dumb work and leave creative part copy pasting registers definition from spec to code to myself the result is this script Developer feeds driver description in YAML

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

  • FDT overlays in FreeBSD | FreeBSD developer's notebook
    after applying overlay re run newbus probe attach On the other hand loader level support is quite straightforward and involves nothing but DTB modifications and it s a natural first step to adding FDT overlays to FreeBSD Proposed solution is to add fdt overlays variable that contains coma separated list of dtbo files e g bbb no hdmi dtbo bbb 4dcape 43 dtbo This variable can be defined either as a loader 8 variable or as a u boot env variable During the boot ubldr load base DTB and right before passing control to the kernel it would go through files load them from boot dtb direсtory on root partition and apply to the base blob Final DTB would be passed to kernel You can find patch and review comments to it on Differential site D3180 It contains Extension to dtc to generate dynamic symbols and fixup info ubldr fdt overlays support As Warner Losh mentioned it s not clear yet how to deal with dynamic symbols support patch It s not part of official dtc tree though it s accepted by RPi and BBB communities In FreeBSD gonzo Posts Website HDMI support for Beaglebone FreeBSD BBB and 4DCAPE 43T

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

  • HDMI support for Beaglebone Black | FreeBSD developer's notebook
    Video output works but the colors are changed If I do a listing using ls G the directories are shown in a brown color tda0 TDA19988 Vendor ENC Product 1764 L578 Serial number 21394015 Manufactured 2005 Week 4 EDID Version 1 3 EDID Comment Video Input 80 Digital Gamma 2 20 Max Size 34 cm x 27 cm Features ea DPMS standby DPMS suspend DPMS active off RGB Preferred timing Chroma Info Red X 0 639 Red Y 0 639 Grn X 0 299 Grn Y 0 599 Blu X 0 150 Blu Y 0 059 Wht X 0 313 Wht Y 0 329 Range Horizontal 31 64 kHz Vertical 59 61 Hz Max Dot Clock 110 MHz Video modes 720 400 70Hz 28320 738 846 900 412 414 449 H V 640 480 60Hz 25175 656 752 800 490 492 525 H V 800 600 60Hz 40000 840 968 1056 601 605 628 H V 1024 768 60Hz 65000 1048 1184 1344 771 777 806 H V 1280 1024 60Hz 108000 1328 1440 1688 1025 1028 1066 H V Preferred mode 1280 1024 60Hz Number of extension blocks 0 fb0 detected videomode 1280 1024 60KHz fbd0 on fb0 VT

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

  • FreeBSD developer's notebook | All Things FreeBSD
    upstream code and fixing some stupid bugs in my codebase So I partially merged things back spent some time on fixing more bugs introduced by yours truly merged userland bits from latest Broadcom s bits and fixing some bugs introduced by them And as a result VCHIQ got stable enough to run ioquake3d on raspberry pi Well you can t play it because there is no sound and no mouse support and keyboard support is severely crippled but you can navigate menus and watch demoes Here is short summary of how to get it running Get latest HEAD that includes r276794 Get latest crochet freebsd Create configuration file for RasspberryPi make sure that it s configured for 2Gb SD card and has VideoCore enabled i e it contains option ImageSize 1950mb for 2 Gigabyte card option VideoCore Build RPi image and flash to SD card mount FreeBSD partition e g mount dev mmcsd0s2a mnt Copy Quake3 PAK files to baseq3 directory on SD card Download http people freebsd org gonzo arm ioquake3 arm tar gz and copy so files to baseq3 and ioqake3 arm to usr bin on SD card Unmount FreeBSD partition and mount boot partiotion e g mount msdosfs dev mmcsd0s1 mnt Edit config txt and change gpu mem value to 64 Unmount SD card and boot it on your Pi Load vchiq module kldload vchiq Start Quake3 ioqake3 arm set s initsound 0 Keyboard support is really broken TAB and ENTER works so you can navigate menus But that s pretty much it ioquake3 codebase with my minor changes located here https github com gonzoua quake3 I provide pre compiled binaries because for some reason ioquake3 built with xdev tools crash in qsort libc incompatibilities so I use make buildenv to build it And here is photo of demo in action there are RaspberryPi and ZedBoard on it too yay In ARM Raspberry Pi freebsd raspberry pi vchiq State of FreeBSD MIPS emulation September 4 2013 1 Comment A week ago Adrian Chadd asked me to take a loot at FreeBSD MIPS emulation So last week I ve been busy tidying up stuff in that department and looking up bits of information on various emulators This morning I finally committed last changeset so now is the time to write up summary Emulators There are two widely used MIPS emulatoes that FreeBSD supports QEMU and GXemul Both of them support numerous MIPS devices but we re interested in only two MALTA is more or less standard for MIPS emulation and supported by both emulators QEMU supports 32 and 64 bit variants with both big and little endian byte order So four modes in total Also for MALTA machine QEMU provides PCNet NIC emulation GXemul supports 32 and 64 bit modes of MALTA but only for little endian byte order Big endian byte order is not supported due to incomplete PCI controller implementation No NIC support for MALTA machine Also Gxemul provides so called oldtestmips emulation mode generic implementation

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

  • FreeBSD developer's notebook › Log In
    FreeBSD developer s notebook Username Password Remember Me Lost your password Back to FreeBSD developer s notebook

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