Posts in category Warner’s Random Hacking Blog

I\'ve been getting questions about what TBEMD means in my commits to FreeBSD head.First, I\'ll tell you the name. TBE stands for TARGET_BIG_ENDIAN. For the MIPS and ARM ports, it is an environment variable that you have to set to build these targets for big endian (otherwise they default to little endian). MD is Must Die. A few years (Re [...]

I\'ve been getting questions about what TBEMD means in my commits to FreeBSD head.First, I\'ll tell you the name. TBE stands for TARGET_BIG_ENDIAN. For the MIPS and ARM ports, it is an environment variable that you have to set to build these targets for big endian (otherwise they default to little endian). MD is Must Die. A few years (Re [...]

I spent a lot of time before the 8.1 release adding code to transparently map COMPAT_IA32 to COMPAT_FREEBSD32. I tested all kinds of different scenarios to make sure that it works, that it got error messages from old config programs, etc.Today I got a complaint that COMPAT_IA32 doesn\'t work in 8.1-RELEASE. Linux module was failing to load [...]

I spent a lot of time before the 8.1 release adding code to transparently map COMPAT_IA32 to COMPAT_FREEBSD32. I tested all kinds of different scenarios to make sure that it works, that it got error messages from old config programs, etc.Today I got a complaint that COMPAT_IA32 doesn\'t work in 8.1-RELEASE. Linux module was failing to load [...]

I finally got frustrated by the inability of /etc/resolv.conf to do what I\'d say in pseudo code:if domain==example.com; then nameserver=1.2.3.4else nameserver=4.3.2.1since I need that when I\'m on my VPN to example.com.So, round one of the hack is to tell dhclient to use my local nameserver, and do it with named.So, in /etc/dhclient.conf, I [...]

I finally got frustrated by the inability of /etc/resolv.conf to do what I\'d say in pseudo code:if domain==example.com; then nameserver=1.2.3.4else nameserver=4.3.2.1since I need that when I\'m on my VPN to example.com.So, round one of the hack is to tell dhclient to use my local nameserver, and do it with named.So, in /etc/dhclient.conf, I [...]

Hans Peter Selasky has been very busy adding support for web cams and other usb video devices. We tried a number of different cameras that we had laying around iX Systems the other day. All of them were recognized as valid video cameras. Some of them worked with pwcview and skype. Some of them had problems with the palettes, or (Read mor [...]

Hans Peter Selasky has been very busy adding support for web cams and other usb video devices. We tried a number of different cameras that we had laying around iX Systems the other day. All of them were recognized as valid video cameras. Some of them worked with pwcview and skype. Some of them had problems with the palettes, or (Read mor [...]

Here\'s a quick note on how to net boot the Cavium EBT3000 board running uboot. The Cavium kernel is still a work in progress as I restore all the fixes I made to an earlier version of this code that I was unable to release.You\'ll need to break into the boot sequence for this board. Usually that\'s just hitting (Read more...)

Here\'s a quick note on how to net boot the Cavium EBT3000 board running uboot. The Cavium kernel is still a work in progress as I restore all the fixes I made to an earlier version of this code that I was unable to release.You\'ll need to break into the boot sequence for this board. Usually that\'s just hitting (Read more...)

After hitting a dry hole with my DIR-615 REV A1, I thought I\'d try the DIR-615 REV C1 that I have. It has an Atherose AR9130 in it. This is very similar to the AR7130 that the RouterStation I have running, and I thought it would be a simple matter to use uboot to netboot this code.Again, I was (Read more...)

After hitting a dry hole with my DIR-615 REV A1, I thought I\'d try the DIR-615 REV C1 that I have. It has an Atherose AR9130 in it. This is very similar to the AR7130 that the RouterStation I have running, and I thought it would be a simple matter to use uboot to netboot this code.Again, I was (Read more...)

Yesterday I burned a couple of hours playing with the DIR-615 REV A1 that I have had for ages. FreeBSD runs on the Marvell Orion SoC that\'s inside it now and I thought I\'d netboot the box and try to put together an image that can replace my firewall since this little box uses less power and my firewall doesn\'t (Read more...)

Yesterday I burned a couple of hours playing with the DIR-615 REV A1 that I have had for ages. FreeBSD runs on the Marvell Orion SoC that\'s inside it now and I thought I\'d netboot the box and try to put together an image that can replace my firewall since this little box uses less power and my firewall doesn\'t (Read more...)

Greetings to one and all. As you have read elsewhere, I recently merged all the changes from the projects/mips branch onto head. In other reports, I\'ve made cryptic reference to the branch being damaged. I thought I\'d go through all the problems we encountered running this development effort on the projects/mips branch.First, we created [...]

Greetings to one and all. As you have read elsewhere, I recently merged all the changes from the projects/mips branch onto head. In other reports, I\'ve made cryptic reference to the branch being damaged. I thought I\'d go through all the problems we encountered running this development effort on the projects/mips branch.First, we created [...]

For years I\'ve had a love/hate relationship with my wireless card. On the one hand, it allows me to roam. On the other I like being able to plug into the wired Ethernet when I\'m sitting at my desk since I get better throughput and lower latency. So for years, I just loaded and unloaded kernel modules to make dhclient (Read more...)

For years I\'ve had a love/hate relationship with my wireless card. On the one hand, it allows me to roam. On the other I like being able to plug into the wired Ethernet when I\'m sitting at my desk since I get better throughput and lower latency. So for years, I just loaded and unloaded kernel modules to make dhclient (Read more...)

The base/projects/mips branch has been merged into base/head. The merge is complete and the sanity tests have passed. The code has booted on both a Ubiquiti RouterStation (big endian) as well as in gxemul (little endian).The branch lived for one year, minus a day, and accumulated much work:A new port to the Atheros AR71xx series of processo [...]

The base/projects/mips branch has been merged into base/head. The merge is complete and the sanity tests have passed. The code has booted on both a Ubiquiti RouterStation (big endian) as well as in gxemul (little endian).The branch lived for one year, minus a day, and accumulated much work:A new port to the Atheros AR71xx series of processo [...]