Commit Graph

634 Commits

Author SHA1 Message Date
christos
1cc8b68d4b the bogus number police 2013-04-27 21:43:10 +00:00
christos
dc14ae835f remove confusing numeric locators where they are unused. 2013-04-27 18:19:19 +00:00
kiyohara
cd4f72f266 Fix hangup to interrupt on cascading PIC.
tested on bebox and evbppc/OPENBLOCKS600.
2013-04-21 15:42:11 +00:00
christos
2c1aa36c3d Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it. 2013-03-02 02:42:07 +00:00
joerg
e240adbd0b Retire OSI network stack. OK core@ 2013-03-01 18:25:13 +00:00
phx
fd320b596a Implement real hardware power-off for DSM-G600 using the "ZWC" command.
It seems that not all microcontrollers support the command, though, so
the old solution to flash the power LED is still present as a fallback.
2013-02-19 15:58:19 +00:00
phx
c97d3b4ef3 QNAP V200 boards have no EEPROM for the MAC address, so all devices default
to the same address (00:e0:4c:69:20:01).
Now we read the real MAC address from the flash ROM. It is stored at the
beginning of a 512-byte block in ASCII format. Some QNAP's have a broken
ext2 file system, so we cannot look for the file ETH0.MAC_ADDR therein,
but have to search the whole flash in 512-byte steps for candidates...
2012-12-25 17:07:06 +00:00
phx
eed17668b3 Add a DEBUG function to search the Flash for byte-streams, as U-Boot usually
doesn't offer a search function.
2012-12-25 17:02:35 +00:00
phx
5bb0fdf44e Add another NH-231 clone to the list: Vibe NS-349-S 2012-11-26 17:56:17 +00:00
apb
f3929b106b Add "options COMPAT_60" to all kernel configuration files
that already had "options COMPAT_50".
2012-10-17 14:48:07 +00:00
mlelstv
8ce4433821 Do not call setroot() from MD code and from MI code, which has
unwanted sideeffects in the RB_ASKNAME case. This fixes PR/46732.

No longer wrap MD cpu_rootconf(), as hp300 port stores reboot information
as a side effect. Instead call MI rootconf() from MD code which makes
rootconf() now a wrapper to setroot().

Adjust several MD routines to set the global booted_device,booted_partition
variables instead of passing partial information to setroot().

Make cpu_rootconf(9) describe the calling order.
2012-07-29 18:05:39 +00:00
matt
927b8a6c6e Fix -fno-common fallout. 2012-07-28 23:08:56 +00:00
dsl
6a03bb6b37 Remove the code that tries to load the "ffs" kernel module during boot.
This is in line with the core decision than even modular kernels should
  contain the ffs code.
I've left in the code that tries to load "nfs" and "ext2fs", but it
  isn't clear that is necessary.
Removes a warning message that (usually) flashes past to fast to read.
AFAICT all the relevant kernels contain ffs (and nfs for that matter).
2012-05-21 21:34:16 +00:00
nisimura
0e26a28956 A temporaly fix to avoid a lockup by KBT4 DISP button. Not sure
the real fix.  Curse on the every poorly written engineering
documents on Earth.
2012-05-15 02:14:13 +00:00
nisimura
3334dfd18f Move I2C node adjustment stuff to autoconf.c from iic_eumb.c for
the ease of maintainance.
2012-05-12 13:13:24 +00:00
nisimura
5d9f22d740 More "no" designations to reflect the target NAS hardware configuration.
Is provided as a reference for other NAS platforms.  Before-after
factor is the 91% fitness.
2012-05-12 10:27:17 +00:00
nisimura
221ade12a9 A temporary solution to have KURO-BOX/T4 two way "dialogue" style
sat protocol. Need more work for robustness. Unbreak the previous
commit made by accident.
2012-05-11 21:40:49 +00:00
nisimura
9c08938065 make sure to have the correct I2C TOD attached for KURO-BOX/T4. 2012-05-11 21:12:34 +00:00
phx
e1294fc1b4 Add driver for ATAPI disk drives. 2012-04-29 15:59:32 +00:00
nisimura
fce167a595 Comment improvement. altboot(8) is now aware of the disk removal
for mirrored drive configuration.
2012-04-27 00:35:43 +00:00
phx
6bff4e7743 Multiple boot devices and/or paths may be specified, which are booted one
after another until success. When no boot device is specified altboot tries
to boot from all disk devices with a valid NetBSD disklabel, starting with
unit 0.
2012-04-26 19:59:36 +00:00
nisimura
57c8b9e4a1 Add KURO-BOX/T4 vendor custom U-Boot version message. 2012-04-24 14:56:07 +00:00
nisimura
65d0604259 Quick fixes to make KURO-BOX/T4 "miconv2" power management work.
The patch was supplied by mef@.
2012-04-24 10:09:06 +00:00
phx
8d59073313 Improved Synology CS/RS support: watch power-state of all SATA drives before
initializing them, configure drive LEDs to reflect SATA activity.
Configure drives on all ATA PCI devices, not only on the first one.
2012-04-16 16:55:29 +00:00
nisimura
0bdfa1e561 Preliminary support of TS-TGL/KBT4 power down operation. 2012-04-16 14:30:42 +00:00
nisimura
84b214f158 The processor ExtClk value of Kurobox/T4 is comfirmed as 32768000. 2012-04-09 14:02:04 +00:00
nisimura
b6b259ed7f Change to use "kurot4" product name for Terastation TGL and
KuroBox/T4.
2012-04-09 13:26:37 +00:00
nisimura
6d4a5965d8 Refactor disklabel decode logic. RAIDFRAME case needs more attention
as it's not certain whether a general solution.
2012-04-09 12:40:55 +00:00
nisimura
1f2ee430d2 Add an entry for "miconv2" satellite processor control. The button
press event handler remains unimplemented for now.  Use /dev/satmgr
to talk the processor.
2012-04-08 12:11:57 +00:00
nisimura
ab2ed771fe Add an entry for Terastation TGL miconv2 satellite processor which
features a more complex protocol than Linkstation/Kurobox.
2012-04-08 10:38:34 +00:00
joerg
99c3eea80c P1003_1B_SEMAPHORE is no longer optional. 2012-03-10 21:51:48 +00:00
nisimura
c4302d2186 - fix an error which prevents satmgr from sending NUL bytes.
- a bit cosmetic change for IOMEGA multibyte control sequence.
2012-02-22 22:56:44 +00:00
nisimura
44b18f23bb - nuke commented-out SYMTAB_SPACE directive since this port has a
companion bootloader which is capable of loading a plain ELF kernel
  and accompanying ELF symbol table.
- remove fxp(4) from GENERIC as no known NAS has the device.
2012-02-22 12:36:14 +00:00
phx
31deee1300 Add support for ATAPI CD/DVD drives as well. 2012-02-11 12:31:47 +00:00
phx
78d2a3b33a Enable support for USB CD/DVD drives. OK releng@. 2012-02-10 21:09:19 +00:00
phx
b1e3c118e1 oea_batinit() demands a minimum block size of 8M now. OK by releng@. 2012-02-10 12:02:33 +00:00
phx
b45f14c96e Print MPC8245 cpu speed. We can calculate it using the PLL ratio. 2012-01-31 21:12:03 +00:00
phx
b199453e3c Revert my last modification.
The detach function might make sense to unload and replace a driver module.
http://mail-index.netbsd.org/source-changes-d/2012/01/24/msg004538.html
2012-01-30 15:47:01 +00:00
para
89c9828deb converting extent(9) from malloc(9) to kmem(9)
preceding kmem-vmem-pool-uvm patch

releng@ acknowledged
2012-01-27 18:52:47 +00:00
phx
44ec706e5d Insert some missing aprint_naive(). 2012-01-23 16:22:57 +00:00
phx
27b57a90bb A detach function for the onboard flash probably makes no sense, so remove it. 2012-01-23 15:16:37 +00:00
phx
f47439529e Removed duplicate bridge(4) device. Insert blank after viaide(4).
Some more restructuring.
2012-01-23 14:13:51 +00:00
phx
6ec57fac94 Restructured, based on macppc and ofppc.
Added some new options and pseudo-devices.
2012-01-23 01:58:54 +00:00
phx
9077ae621d Cleanup in perform_atareset(). 2012-01-22 13:16:54 +00:00
phx
b3662b7bde Support PATA drive configuration option (ide:N[N...]).
Wait until drives are ready after cold-start.
Wake up drives from standby mode.
A default command line can be saved to flash as initrd image.
2012-01-22 13:08:16 +00:00
nisimura
2971588656 Change BTINFO_ROOTDEV to include boot device partition number in
its cookie field to allow a kernel to determine rootdev correctly
when kernel image is loaded from other than 'a' partition.
2012-01-19 07:38:05 +00:00
phx
96d91a78ef Netronics is spelled Netronix. 2012-01-14 22:36:54 +00:00
phx
52f396b844 Add NH230 PPCboot version. 2012-01-14 20:16:53 +00:00
phx
4b15dce308 Add 0x70000000 BAT-mapping for NH230/231.
NH23x: Initialize LEDs on startup (status off, to indicate the bootloader
is running). Hardware reset routine.
2012-01-14 20:03:11 +00:00
phx
e569b3f6a8 New device nhpow(4) to support the onboard GPIO pins on a NH230/231 board for
buttons, powerdown, reset, LEDs and fan control. It attaches gpio(4) for
its 8 pins on demand.
2012-01-14 19:39:25 +00:00