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 | Author Archives
    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 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

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


  • HDMI progress and 4DCAPE-43 support for Beaglebone Black | FreeBSD developer's notebook
    on my monitor I also got 4DCAPE 43 neat Beaglebone Black LCD cape by 4D Systems Patch download here for it is pretty minimal VT support in kernel config panel info and pins configuration in dts and one improvement in GPIO driver setting default values for OUT GPIO pins None of the other features except reset button work yet but getting GPIO keyboard working would be an interesting project by itself Here is the picture of cape in action In Uncategorized gonzo Posts Website HDMI support for Beaglebone HDMI support for Beaglebone 4 responses to HDMI progress and 4DCAPE 43 support for Beaglebone Black jeff April 24 2015 at 7 20 am Hi Gonzo I was wondering if you ve made any progress on this lately I would love to help get the HDMI LCD working Could you let me know the current status and potentially where I can get to the patches repos etc Glad to help Jeff Reply gonzo April 29 2015 at 8 12 am LCD support is already there but I m trying to switch to using TI s DTS files because we use custom timing data bindings Patch is here https reviews freebsd org D2146 HDMI is somewhat more complex I m planning to move patches to my github repo https github com gonzoua freebsd Reply Jam Ekirk August 6 2015 at 8 19 am Hi I m trying to setup a BeagleBone Black with a 4DCAPE 43 running FreeBSD 11 Current Because of the changes in DTS handling your patch of February doesn t work any more Could you please provide some information what I must do to get the LCD cape runnung Glad of your help Jam Reply gonzo August 13 2015 at 4 33 pm You no longer need that patch Just

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

  • HDMI support for Beaglebone Black: first milestone | FreeBSD developer's notebook
    yet I ll post patch when it s in readable form In Uncategorized gonzo Posts Website Qt5 for FreeBSD Pi HDMI progress and 4DCAPE 43 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 q cite strike strong

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

  • Uncategorized | FreeBSD developer's notebook
    to enumerate devices that might be used as a boot source block e g SD card or network For network device it will use BOOTP to try to obtain network boot data and then mount directory over NFS For block device it will inspect partition table and try to find suitable partition to use as a root device Once root is mounted ubldr will perform standard loader 8 magic get loader related config from boot directory and act on it There is no dedicated top level build target for ubldr so getting it compiled is a little bit tricky You need to perform whole buildworld cycle before compiling ubldr Build script would look something like this export SRCROOT src FreeBSD head export MAKESYSPATH SRCROOT share mk export TARGET arm export TARGET ARCH armv6 export MAKEOBJDIRPREFIX src FreeBSD obj make C SRCROOT buildworld buildenv make C SRCROOT buildenvvars eval buildenv make C SRCROOT sys boot clean eval buildenv make C SRCROOT sys boot obj eval buildenv make C SRCROOT sys boot UBLDR LOADADDR 0x2000000 all Meaning of UBLDR LOADADDR is the same as KERNPHYSADDR in previous post ubldr is ELF executable and can be used with bootelf command Typical boot log is something like this Starting application at 0x02000054 Consoles U Boot console Compatible API signature found 7b662a8 Number of U Boot devices 2 FreeBSD armv6 U Boot loader Revision 1 2 gonzo bsdbox Fri Apr 19 18 52 33 PDT 2013 DRAM 128MB Device disk Device net boot kernel kernel data 0x3ae624 0x2128c syms 0x4 0x71ca0 0x4 0x44075 Hit Enter to boot immediately or any other key for command prompt Booting boot kernel kernel Waiting for Ethernet connection done Using DTB provided by U Boot Kernel entry at 0x100100 Kernel args null KDB debugger backends ddb KDB current backend ddb Copyright c 1992 2013 The FreeBSD Project Copyright c 1979 1980 1983 1986 1988 1989 1991 1992 1993 1994 The Regents of the University of California All rights reserved FreeBSD is a registered trademark of The FreeBSD Foundation In Uncategorized arm netboot Netbooting ARM MIPS devices server setup February 14 2013 5 Comments I was asked to share details about my root over NFS setup so here they are I decided to split how to in two posts server kernel part and u boot part Usual components in the setup are DHCP server TFTP server NFS server NAT optional DHCP server I use net isc dhcp42 server as a server Sample dhcpd conf option root opts code 130 string NFS mount options log facility local7 subnet 192 168 10 0 netmask 255 255 255 0 server name cinderella bluezbox com server identifier 192 168 10 1 option subnet mask 255 255 255 0 option broadcast address 192 168 10 255 option domain name servers 8 8 8 8 option domain name bluezbox com next server 192 168 10 1 option routers 192 168 10 1 group host pandaboard hardware ethernet 0E 60 33 B1 46 01 fixed address 192 168 10 90 filename kernel PANDA bin option root path src FreeBSD nfs armv6 option root opts nolockd host rpi hardware ethernet b8 27 eb f6 08 83 fixed address 192 168 10 91 filename ubldr option root path src FreeBSD nfs rpi option root opts nolockd Config is pretty self explanatory I use google s 8 8 8 8 nameserver but you can change it to your very own DNS server Difference between various filename will be explained later dhcpd should be enabled in rc conf 5 dhcpd enable YES TFTP server TFTP server provides access to all files described in filename options so it s better to keep them together By default it s tftpboot directory but I have whole drive dedicated to FreeBSD development environment and mounted under src FreeBSD mountpoint So I keep everything there and my TFTP server root is src FreeBSD tftpboot TFTP server is standard FreeBSD s one and config line in inetd conf 8 looks like tftp dgram udp wait root usr libexec tftpd tftpd l s src FreeBSD tftpboot inted should be enabled in rc conf 5 inetd enable YES NFS Server NFS server is not just one daemon but several services combined So rc conf 5 part of config looks like this rpcbind enable YES rpc statd enable YES rpc lockd enable YES nfs server enable YES mountd enable YES Filesystems that are exported via NFS listed in exports 5 Mine contains following Mind mount points obj and nfs are different usr ports maproot 0 network 192 168 10 0 16 src FreeBSD head src FreeBSD nfs rpi src FreeBSD nfs armv6 src FreeBSD nfs am335x maproot 0 network 192 168 10 0 16 Note that you can join several directories into one line only if they belong to the same mount point NAT If you re planning on building ports on the device you ll need internet access on it All my devices are restricted to one LAN with laptop acting as a gateway I use pf 4 for NATing Config etc pf conf 5 ext if em0 rede 192 168 0 0 16 nat on ext if from rede to any ext if and rc conf 5 gateway enable YES pf enable YES pf rules etc pf conf pf flags Kernel config FreeBSD kernel should be properly configured in order to be suitable for mounting root over NFS options NFSCL options NFSCLIENT NFS v3 options NFS ROOT options BOOTP NFSROOT options BOOTP COMPAT options BOOTP options BOOTP NFSV3 options BOOTP WIRED TO ue0 BOOTP WIRED TO value is SoC specific If you do not have full control over your DHCP server e g it s cable modem and can t specify root path root opts you still can hardcode root location by removing BOOTP NFSROOT and adding options ROOTDEVNAME nfs 192 168 10 src FreeBSD nfs rpi Installation Depending on your boot sequence installation consists of one or two steps Normal system installation e g sudo E make TARGET

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

  • FreeBSD on RPi 2 progress | FreeBSD developer's notebook
    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 to Chetan Cancel reply Name Email Website Comment Text formatting is available via select HTML

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

  • FreeBSD on RPi 2 progress | FreeBSD developer's notebook
    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 to Chetan Cancel reply Name Email Website Comment Text formatting is available via select HTML

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

  • FreeBSD on RPi 2 progress | FreeBSD developer's notebook
    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 to Jhonny Cancel reply Name Email Website Comment Text formatting is available via select HTML

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

  • FreeBSD on RPi 2 progress | FreeBSD developer's notebook
    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 to gonzo Cancel reply Name Email Website Comment Text formatting is available via select HTML

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