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/Pi setup HowTo | FreeBSD developer's notebook
    Now I have decided to run FreeBSD on my pi this long weekend I just got the new git tree and tried to apply patch http people freebsd org gonzo arm rpi rpi head 20120825 diff but many of the changes seem to have already been applied i e its not patching cleanly Also looking at the build script changes you just mentioned SRCROOT src FreeBSD head I do not have such dir anywhere SRCROOT should point to the git tree location Thanks for the continuous help Reply hari September 1 2012 at 3 16 pm should I get latest base from freebsd org and apply the patch you mentioned i e http svn freebsd org base head patch http people freebsd org gonzo arm rpi rpi head 20120825 diff I am doing that now will let you know how that goes Reply gonzo September 1 2012 at 3 27 pm Actually working bits of RPI code is in HEAD So you don t need whole this patch Just bits of it Try first vanilla head to see if serial framebuffer works for you Meanwhile I ll prepare new patch Reply hari September 2 2012 at 1 34 am Yeah so with latest head the patch doesn t apply cleanly and buildkernel fails thanks Reply hari September 2 2012 at 10 48 am My bad latest kernel builds with the patch but the build script fails just on the start Makefile inc1 line 147 Unknown target armv6 arm kernel toolchain Error code 1 Stop in usr home hari git stuff freebsd pi Reply gonzo September 2 2012 at 10 54 am For git tree use TARGET arm TARGET ARCH arm for svn TARGET arm TARGET ARCH armv6 Reply hari September 2 2012 at 10 57 am Thanks for the quick reply I am afraid that I do not understand the difference between these 2 you mentioned Don t we just have to play with the git tree gonzo September 2 2012 at 11 03 am I started merging Raspberry Pi stuff to subversion At the moment you can build bootable RPI B kernel from http svn freebsd org base head No SD card support though git tree is based on older projects armv6 tree and will be removed after I got all the changes merged back to HEAD But for now you can use it for experiments Just use this script without any patches applied ezyclie August 27 2012 at 12 50 am Hi Btw is there any timeline for FreeBSD Raspberry Pi development Are you planning to release the img here since no one doing so for FreeBSD arm ports Reply gonzo August 30 2012 at 1 50 pm No there is no proper timeline I work on it in my free time so development schedule is somewhat hectic Reply ph enigma August 31 2012 at 1 36 pm Very cool I have no u boot experience and I am just beginning to explore it I would like to dhcp tftp boot the rpi with a linux kernel though I was wondering if you know would booting a linux kernel be as simple as substituting the linux kernel for a bsd kernel you are using in this example Thanks I m looking at as many u boot resources as I can find but I m still a little lost Reply Tim Kientzle October 13 2012 at 8 54 pm You should ask this on a Linux RaspberryPi forum since Linux and FreeBSD booting are really quite different Reply hari September 2 2012 at 11 04 am Continuing http kernelnomicon org p 164 comment 918 Here is how my build script looks bin sh set e export TARGET arm export TARGET ARCH arm export SRCROOT home hari git stuff freebsd pi export MAKEOBJDIRPREFIX usr home hari obj export KERNCONF RPI B make C SRCROOT kernel toolchain make C SRCROOT KERNCONF KERNCONF WITH FDT yes buildkernel make C SRCROOT MALLOC PRODUCTION yes buildworld IMG bsd pi img rm f IMG dd if dev zero of IMG bs 128M count 8 MDFILE mdconfig a f bsd pi img gpart create s MBR MDFILE gpart add s 32m t 12 MDFILE gpart add s 896m t 12 MDFILE gpart set a active i 1 MDFILE newfs msdos L boot F 16 dev MDFILE s1 newfs dev MDFILE s2 mount msdosfs dev MDFILE s1 mnt tar x v z C mnt f freebsd pi uboot 20120806 sd tar gz cp KERNEL BIN mnt umount mnt mount dev MDFILE s2 mnt make C SRCROOT DESTDIR mnt installworld make C SRCROOT DESTDIR mnt distribution Minimal config echo hostname freebsd pi mnt etc rc conf echo dev mmcsd0s2 ufs rw 1 1 mnt etc fstab umount mnt mdconfig d u MDFILE Reply gonzo September 2 2012 at 11 08 am Just replace make C SRCROOT MALLOC PRODUCTION yes buildworld with make C SRCROOT MALLOC PRODUCTION yes TARGET CPUTYPE armv6 buildworld and it should work Also make sure you did git checkout rpi after git clone No need to apply any patches for this tree Reply hari September 2 2012 at 12 28 pm Sorry for the iterations we are going through but it still fails Here is what I have 1 this is my kernel uname a FreeBSD xxxxx 10 0 CURRENT FreeBSD 10 0 CURRENT 3 r239996M Sun Sep 2 01 45 39 PDT 2012 root xxxxx usr obj usr src head sys GENERIC amd64 2 I checked out the git tree git clone git github com gonzoua freebsd pi git cd freebsd pi git checkout rpi 3 here is the buildscript bin sh set e export TARGET arm export TARGET ARCH arm export SRCROOT home hari git stuff freebsd pi export MAKEOBJDIRPREFIX usr home hari obj export KERNCONF RPI B make C SRCROOT kernel toolchain make C SRCROOT KERNCONF KERNCONF WITH FDT yes buildkernel make C SRCROOT MALLOC PRODUCTION yes TARGET CPUTYPE armv6 buildworld IMG bsd pi img rm f IMG dd if dev zero

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


  • Packages(*) for Rasberry Pi(**) | FreeBSD developer's notebook
    PI Reply gonzo January 12 2013 at 2 08 am Not yet I m not sure if there is hardware accelerated driver for xorg though I had preliminary port of OpenGL stuff three or four months ago but it s rotten since then and now I m working on new port Hope to get it finished next week ray is also working on generic framebuffer xorg driver Reply Vlad January 12 2013 at 7 05 am Glad to see how the necessary building blocks start to appear and the whole ecosystem takes shape Good work Reply David Quattlebaum January 22 2013 at 8 39 am How can we add packages that we ve built on the Pi to this repo Is there a place to ftp them Reply ezyclie January 22 2013 at 5 53 pm You can build your own repo here is the good start https glenbarber us 2012 06 11 Maintaining Your Own pkgng Repository html Reply David Quattlebaum January 26 2013 at 8 52 am mkdir usr local etc echo PACKAGESITE http people freebsd org gonzo arm pkg usr local etc pkg conf pkg update The package management tool is not yet installed on your system Do you want to fetch and install it now y N y Bootstrapping pkg please wait http tcp pkg FreeBSD org pkg Error fetching http pkg FreeBSD org freebsd 10 arm 32 el oabi softfp latest Latest pkg txz Not Found Is this supposed to work when running pkg the first time Reply David Quattlebaum January 26 2013 at 10 28 am After a bit of research I found this tip fetch o pkg txz http people freebsd org gonzo arm pkg pkg 1 0 4 1 txz tar xf pkg txz s g pkg static pkg static add pkg txz This worked for me Reply Shiv July 16 2013 at 8 13 am Thanks David This helped me install pkg on my Beaglebone board Reply gonzo January 28 2013 at 3 49 pm You have to intsall pkg manually I did it from ports but this package should be OK I believe http people freebsd org gonzo arm pkg pkg 1 0 4 1 txz Reply dave February 9 2013 at 5 48 am You mentioned running via NFSroot here Would love to get a little more info on how you re doing that I m following the guide http www freebsd org doc handbook network pxe nfs html and adjusting for the Pi but which files need to go in tftpboot get FreeBSD install boot Reply gonzo February 10 2013 at 12 17 am I ll post detailed instruction tomorrow This instruction is not really relevant to this case Reply ezyclie March 5 2013 at 5 31 am If you would like to try hiawatha web server http www freebsdarm org pkg Reply XiaoQI Ge August 1 2013 at 4 35 am Hello is there eabi packages is Reply indonezja August 13 2013 at 5 29 am It

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

  • Packages(*) for Rasberry Pi(**) | FreeBSD developer's notebook
    PI Reply gonzo January 12 2013 at 2 08 am Not yet I m not sure if there is hardware accelerated driver for xorg though I had preliminary port of OpenGL stuff three or four months ago but it s rotten since then and now I m working on new port Hope to get it finished next week ray is also working on generic framebuffer xorg driver Reply Vlad January 12 2013 at 7 05 am Glad to see how the necessary building blocks start to appear and the whole ecosystem takes shape Good work Reply David Quattlebaum January 22 2013 at 8 39 am How can we add packages that we ve built on the Pi to this repo Is there a place to ftp them Reply ezyclie January 22 2013 at 5 53 pm You can build your own repo here is the good start https glenbarber us 2012 06 11 Maintaining Your Own pkgng Repository html Reply David Quattlebaum January 26 2013 at 8 52 am mkdir usr local etc echo PACKAGESITE http people freebsd org gonzo arm pkg usr local etc pkg conf pkg update The package management tool is not yet installed on your system Do you want to fetch and install it now y N y Bootstrapping pkg please wait http tcp pkg FreeBSD org pkg Error fetching http pkg FreeBSD org freebsd 10 arm 32 el oabi softfp latest Latest pkg txz Not Found Is this supposed to work when running pkg the first time Reply David Quattlebaum January 26 2013 at 10 28 am After a bit of research I found this tip fetch o pkg txz http people freebsd org gonzo arm pkg pkg 1 0 4 1 txz tar xf pkg txz s g pkg static pkg static add pkg txz This worked for me Reply Shiv July 16 2013 at 8 13 am Thanks David This helped me install pkg on my Beaglebone board Reply gonzo January 28 2013 at 3 49 pm You have to intsall pkg manually I did it from ports but this package should be OK I believe http people freebsd org gonzo arm pkg pkg 1 0 4 1 txz Reply dave February 9 2013 at 5 48 am You mentioned running via NFSroot here Would love to get a little more info on how you re doing that I m following the guide http www freebsd org doc handbook network pxe nfs html and adjusting for the Pi but which files need to go in tftpboot get FreeBSD install boot Reply gonzo February 10 2013 at 12 17 am I ll post detailed instruction tomorrow This instruction is not really relevant to this case Reply ezyclie March 5 2013 at 5 31 am If you would like to try hiawatha web server http www freebsdarm org pkg Reply XiaoQI Ge August 1 2013 at 4 35 am Hello is there eabi packages is Reply indonezja August 13 2013 at 5 29 am It

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

  • VCHI driver, part 2 | FreeBSD developer's notebook
    this neat OS abstraction wrapper so overall porting process was quite simple implement synch primitives physical pages management driver specific initialization and you re done But The layer was lost with driver update in October The reason for it OS compatibility shims are banned from Linux mainline kernel So now I face two options create complete port of VCHI driver by replacing linux specific parts with freebsd specific code Or create Linux compatibility shims and try to keep sources as close as possible to upstream I m going to try latter approach in order to minimize maintenance work If it doesn t work out I ll fall back to the former But with any of these approaches code difference with upstream will be too significant to go to contrib tree and most likely driver will be distributed as a port In Uncategorized gonzo Posts Website FreeBSD armv6 what s new and Packages for Rasberry 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 Recent

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

  • Broadcom switches vchiq to dual license | FreeBSD developer's notebook
    good news Reply gonzo December 17 2012 at 10 55 pm Yes Instead of creating separate port for vchiq driver it can be included in FreeBSD tree Also it means there is first fully BSD licensed OpenGL ES stack for FreeBSD Reply 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

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

  • U-Boot env variables iterator | FreeBSD developer's notebook
    Uncategorized gonzo Posts Website FreeBSD Pi update FreeBSD on Pi more stuff 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 Recent Posts Controlling AC power using GPIO i MX6 IPU and HDMI drivers

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

  • FreeBSD/Pi update | FreeBSD developer's notebook
    see FreeBSD images among others fully supporting Rpi Reply cantona October 30 2012 at 3 08 am great job next step is VPU Reply cantona October 30 2012 at 8 28 am ethernet mac address is random on every bootup do you have idea thanks Reply Patrick Gibson October 30 2012 at 9 21 am Awesome Just ordered a Raspberry Pi and can t wait to try this out Reply matthewf November 1 2012 at 2 15 am I can not get the kernel to boot from SD or SDHC card I ve tried 2 different branded SanDisk 2GB and 8GB cards U boot gives Unable to use mmc 0 1 for fatload U Boot mmc part Unknown partition table Now I can switch the card to usb issue a usb start and fatload the kernel from there but not from MMC Is this how I m writing the SD card I m just dd of dev rdisk3 if image bs 1m on OSX Otherwise I ve managed to go multiuser and ssh tty in Why is it necessary to use u boot I have managed to just boot the kernel directly but not from the latest head build but it had no functional USB support Reply gonzo November 2 2012 at 1 06 am I ll test image writing on OS X U boot is optional you re right It s just my personal preference Reply Ingmar Hupp November 2 2012 at 2 17 pm Use dev disk on OS X Don t forget to diskutil unmountDisk before that OS X will automount the FAT partition on insertion and diskutil eject afterwards Reply benben159 November 2 2012 at 10 51 am nice work sir i ll try build this with clang devel on 8 3 RELEASE Reply Finn Espen

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

  • projects/armv6 branch is no more | FreeBSD developer's notebook
    about Beagleboard XM Reply gonzo August 20 2012 at 7 00 pm Aleksander Dutkowski works on it as a part of Google Summer of Code project https socsvn freebsd org socsvn soc2012 aleek beaglexm armv6 Reports http lists freebsd org pipermail soc status 2012 August thread html Reply ezyclie August 20 2012 at 9 55 pm Cool Thanks How about Pandaboard ES Reply gonzo August 20 2012 at 9 59 pm Actually it s ES model I mentioned in the post I just forgot to specify I did all the testing on Pandaboard ES multiuser mode USB ethernet SD card GPIO Reply ezyclie August 30 2012 at 7 48 am Do you have test report for this Does all peripheral works without any issue Reply gonzo August 30 2012 at 1 52 pm There is not much to test now SD card driver is not stable yet and supports only PIO mode at the moment Once we ll have better support for peripheral I ll post update on this blog Reply ezyclie August 30 2012 at 10 18 pm How about test report for Pandaboard ES multiuser mode USB ethernet SD card GPIO All works without any issue Reply gonzo August 31 2012 at 11 14 pm Worked stable enough to survive make buildkernel with root over NFS I didn t do thorough testing though And performance still sucks due to unresolved cache issue Roberth Sjonøy August 20 2012 at 2 57 pm It was the raspberry pi that hadin mind can you please keep this blog updated avout this progress Reply gonzo August 20 2012 at 5 59 pm Sure I ll post updates about the project s progress Reply camilito August 25 2012 at 10 16 pm Good to know I ll keep tracking this Reply Roberth Sjonøy

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