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".
  • bsddev blog SitRep | FreeBSD developer's notebook
    FreeBSD and a couple of side aсtivities like digging into aio code from OpenSolaris Linux FreeBSD Hope to blog more regularly now Stay tuned In blog FreeBSD sitrep gonzo Posts Website NY gift from Juniper The Joy of Bugbusting 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

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

  • blog | FreeBSD developer's notebook
    prepare to celebrate buildable FreeBSD MIPS world in a couple of weeks Meanwhile I m busy with getting latest zaptel they changed name to DAHDI actually drivers to FreeBSD and a couple of side aсtivities like digging into aio code from OpenSolaris Linux FreeBSD Hope to blog more regularly now Stay tuned In blog FreeBSD sitrep Recent Posts Controlling AC power using GPIO i MX6 IPU and HDMI drivers RIoTboard

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

  • RB532 progress | FreeBSD developer's notebook
    rb532 gonzo Posts Website Mikrotik RB532 single user NY gift from Juniper One response to RB532 progress Anonymous July 17 2008 at 4 34 pm Congratulation I have a RB532A and like to install NetBSD or FreeBSD Which bootloader are you using Raphael W 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

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

  • drivers | FreeBSD developer's notebook
    sources reading IDT specs and writing my own code Task turned out easier then it appeared and 15 minutes ago I managed to mount root over NFS using kr0 interface Time to get some beer and celebrate In drivers FreeBSD mikrotik rb532 Recent Posts Controlling AC power using GPIO i MX6 IPU and HDMI drivers RIoTboard support FreeBSD on RPi 2 progress Official 7 Raspberry Pi Touchscreen Display and FreeBSD

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

  • INTR_FAST and selwakeup | FreeBSD developer's notebook
    for timing critical tasks and run in IRQ dispatcher context so no operations that may cause context switch are allowed in this code Unfortunately selwakeup 9 tries to acquire sellock that leads to a possible context switch and leaves us in a total mess My solution was handmade kernel thread that has been running through list of channels and performed all dirty work not the cleanest and easiest to maintain code Zaptel bsd take 2 utilizes taskqueue 9 interface to work around IRQ handler limitations There is handler routine static void handle selwakeup void context int pending struct selinfo sel context selwakeup sel then selinfo task structures for every channel thingy for select stuff struct selinfo sel struct task selwakup task which should be initialized during channel allocation TASK INIT chan selwakup task 0 handle selwakeup chan sel and used anytime we d like to call selwakeup taskqueue enqueue fast taskqueue fast timer selwakup task In FreeBSD taskqueue zaptel gonzo Posts Website Module kernel parameters Mikrotik RB532 single user 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

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

  • taskqueue | FreeBSD developer's notebook
    polling on a descriptor from INTR FAST IRQ handler for 7 X and later that would be interrupt filter INTR FAST interrupt filter routines are usually used for timing critical tasks and run in IRQ dispatcher context so no operations that may cause context switch are allowed in this code Unfortunately selwakeup 9 tries to acquire sellock that leads to a possible context switch and leaves us in a total mess My solution was handmade kernel thread that has been running through list of channels and performed all dirty work not the cleanest and easiest to maintain code Zaptel bsd take 2 utilizes taskqueue 9 interface to work around IRQ handler limitations There is handler routine static void handle selwakeup void context int pending struct selinfo sel context selwakeup sel then selinfo task structures for every channel thingy for select stuff struct selinfo sel struct task selwakup task which should be initialized during channel allocation TASK INIT chan selwakup task 0 handle selwakeup chan sel and used anytime we d like to call selwakeup taskqueue enqueue fast taskqueue fast timer selwakup task In FreeBSD taskqueue zaptel Recent Posts Controlling AC power using GPIO i MX6 IPU and HDMI drivers RIoTboard

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

  • FreeBSD | FreeBSD developer's notebook
    set test unset these variables using getenv setenv testenv unsetenv functions in the kernel and kenv 2 syscall or kenv 1 command in userland So if you want to set verbosity level for module you would do something like this kenv zaptel debug 1 kldload zaptel ko and then in module initialization routine static int debug 0 Hush hush char value getenv zaptel debug if value debug strtol value NULL 10 freeenv value Too much code for such a simple task don t you think Yeah like for every common task there are useful macroses defined in kernel headers you should just find them Heavy coffeinated kernel hackers knew most of them In this particular case neat code would look something like that for statically initialized variable static int debug 0 Hush hush TUNABLE INT zaptel debug debug or if debug is the member of structure or local variable sc debug 0 TUNABLE INT FETCH zaptel debug sc debug TUNABLE XXX macroses exist for INT LONG ULONG and STR types TUNABLE STR unlike the others requires third parameter maximum size of the string For a dynamic value retrieval every type has TUNABLE XXX FETCH macro defined Nota bene if there

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

  • FreeBSD developer's notebook | All Things FreeBSD
    Caches not enabled MMC CAPS 00000000 bcm2835 sdh 0 Using default environment In serial Out serial Err serial Net Net Initialization Skipped No ethernet found U Boot mmcinfo Device bcm2835 sdh Manufacturer ID 1b OEM 534d Name 00000 Tran Speed 25000000 Rd Block Len 512 SD version 2 0 High Capacity No Capacity 1 9 GiB Bus Width 4 bit U Boot fatls mmc 0 16528 bootcode bin 127 cmdline txt 314691 loader bin 2047848 start elf 181196 kernel img 5 file s 0 dir s U Boot In Uncategorized U Boot for Raspberry Pi step 7 cleanup June 17 2012 4 Comments More progress on the subject I cleaned up sources and pushed new version to github Stephen Warren submitted patches for R Pi support to U Boot mailing list here and here His version is much cleaner so I spent some time combining his patches with ported USB driver So now target is called rpi b and you should use make rpi b config instead of make raspberry pi config step when building U Boot from sources Pre built binaries are available for download here In Uncategorized U Boot for Raspberry Pi step 6 It lives June 15 2012 4 Comments And finally it works U Boot 2012 04 01 00306 gecc6e3d dirty Jun 15 2012 19 05 09 DRAM 128 MiB WARNING Caches not enabled Using default environment In serial Out serial Err serial Net No ethernet found Raspberry Pi usb start Re start USB USB Core Release 2 80a scanning bus for devices 3 USB Device s found scanning bus for ethernet devices 1 Ethernet Device s found Raspberry Pi dhcp Waiting for Ethernet connection done BOOTP broadcast 1 Unhandled DHCP Option in OFFER ACK 28 Unhandled DHCP Option in OFFER ACK 28 DHCP client bound to address 192 168 10 21 Using sms0 device TFTP from server 192 168 10 1 our IP address is 192 168 10 21 Filename kernel RPI Load address 0x700000 Loading done Bytes transferred 4597674 4627aa hex Raspberry Pi ping 192 168 10 1 Waiting for Ethernet connection done Using sms0 device host 192 168 10 1 is alive Raspberry Pi In Uncategorized U Boot on Raspberry Pi step 5 More USB stuff June 15 2012 1 Comment OK No visual progress but short SitRep I got control transfers working more stable and got bulk transfer somewhat working U Boot sends one packet and receives response then all bulk transfers end up in STALL state Investigating BOOTP broadcast 1 smsc95xx send len 342 buf 0x7e8db5e BULK 3 2 dev 3 pipe 2 buf 07e8db5e size 350 dir out 1 max hc xfer size 65535 max hc pkt count 511 xfer len 350 num packets 6 max 64 buffer 07e8db5e 07e8f490 Tx len 350 actual 350 err 0 smsc95xx recv BULK 3 1 dev 3 pipe 1 buf 07fec698 size 2048 dir out 0 max hc xfer size 65535 max hc pkt count 511 xfer len 2048 num packets 32 max

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