summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade/config.c
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2011-11-24 07:37:19 +0000
committeradrian <adrian@FreeBSD.org>2011-11-24 07:37:19 +0000
commit7bd7f439e43efc036edfedca5a6056196c168aa3 (patch)
tree8cbc25ede8812b87acb6c8f8813e26d37dea3c45 /usr.sbin/sade/config.c
parent9afec72347739944d952fe6435d76eb9e38651b9 (diff)
downloadFreeBSD-src-7bd7f439e43efc036edfedca5a6056196c168aa3.zip
FreeBSD-src-7bd7f439e43efc036edfedca5a6056196c168aa3.tar.gz
Now that I've brought up FreeBSD via flash, I've discovered that
the second-last 64k seems to be the default firmware board configuration area. Since I have no idea whether uboot uses it or not - and it's prefixed with an atheros eeprom signature (0xaa55), I figure the safest thing to do is mark it as read-only. I've modified my local tplink firmware building program to generate a board configuration section - which is separate to this partition. It's located in the 64k _before_ this particular 64k. The firmware build program from OpenWRT never initialises those values and the firmware images from tplink also leave it 0x0, so I don't currently know what the exact, correct details should be.
Diffstat (limited to 'usr.sbin/sade/config.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud