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
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
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
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
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
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
f66849eb53
Set the extclk for NH230 to 33000000Hz.
...
Prepare a synosetup() function which should set a different extclk for
the 400MHz models, as soon as we find a method to check for them.
2012-01-08 14:53:54 +00:00
phx
8e46b16673
NH230 PPCBoot configures the memory boundary registers for 128MB, although
...
the board has only 64MB. Fix that.
2012-01-07 19:57:49 +00:00
phx
e3c0375306
Handle devices with two network interfaces (e.g. a DSM-G600 with stge(4)
...
and ath(4)).
2012-01-01 18:25:03 +00:00
phx
2be27e0188
Add Iomega StorCenter.
2012-01-01 14:16:41 +00:00
phx
eeb50b3333
Add DS-106j.
2011-11-13 16:22:18 +00:00
phx
1c9e391710
Make the chipfix() functions return void instead of int, as the return
...
value is useless. Suggested by nisimura.
2011-11-13 00:06:54 +00:00
phx
096b4f18de
Improved Iomega microcontroller support. Bumped version to 1.8.
2011-11-12 23:52:54 +00:00
phx
55277ecd82
Add support for IT821x IDE.
2011-11-12 16:56:12 +00:00
phx
155d3131ad
Fixed Iomega microcontroller support. Implemented Iomega reboot function.
2011-11-07 21:11:55 +00:00
phx
8fb34a2940
Added a test terminal for communicating with the satellite microcontroller.
...
When compiled with DEBUG option it can be entered by typing 'C'.
2011-11-06 20:20:57 +00:00
nisimura
b41d886fae
VIA 82C586A/B 82C686A/B SouthBridges share PCI ID 0x1066-0571.
...
They are distinguishable by looking at PCI-ISA bridge PCI ID and
revision number.
2011-11-02 04:10:33 +00:00
phx
45ea03e509
The Apollo family of IDE interface chips has both channels disabled by
...
default, so we have to enable them in a new chipfix function. Also move
the channel enable code for the 82C686B from encpcifix() to pciide.c.
2011-11-01 16:32:57 +00:00
phx
767f3b0324
Added in8() and out8() to access a byte with reorder-protection.
...
Use it in all drivers instead of (volatile uint8_t *).
2011-10-30 21:08:33 +00:00
phx
d250ff0e1c
Make sure to disable interrupts, as U-Boot may call us with interrupts
...
enabled, causing quite unpleasant effects (e.g. by decrementer interrupts).
When DEBUG is defined, an exception handler will be installed, which reports
about all exceptions while altboot is running, including register dump and
stack frame backtrace.
2011-10-30 20:42:09 +00:00
joerg
3eb244d801
Retire varargs.h support. Move machine/stdarg.h logic into MI
...
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.
2011-07-17 20:54:30 +00:00
jdc
2370f69f6d
Add support for booting from RAID 1.
...
Note, that the RAID partition must be the first partition of the disk.
Reviewed by phx@.
2011-06-20 19:48:05 +00:00
phx
83057b124e
Support disk units from multiple IDE/SATA PCI controllers.
2011-06-08 18:06:02 +00:00
phx
ed377eee5f
Add PPCBoot version from DS-207 and CS-407e.
2011-06-02 16:41:32 +00:00
phx
09f72307e2
When a drive is present, retry ATA-reset for a maximum of 10 seconds, until
...
successful.
2011-05-30 19:48:12 +00:00
phx
fd66150e69
When PPCBoot supports the SKnet interface it will configure it to automatically
...
byte-reverse all descriptors by setting a vendor-specific bit in PCI config
space. We have to clear that bit to make sure our driver can send and
receive.
2011-05-29 18:06:45 +00:00
phx
c91ba1563d
Use printf() from libsa.
...
Ok by nisimura@.
2011-05-25 19:26:21 +00:00
phx
e6fc9bd646
When we stretch a short frame to 60 bytes in rge_send() do not return 60,
...
but the original frame size.
2011-04-29 22:21:36 +00:00
phx
b424687509
Priority of QNAP board detection was still too high. It should be lowest,
...
because a Realtek chip at pci device 15 is used on several boards. Now
NH230/All6250 detection should work again.
2011-04-26 08:08:39 +00:00
phx
40f940eba7
Add VIA VT6410 vendor/product IDs (StorCenter).
2011-04-25 18:30:18 +00:00
phx
53cc08bb65
Also scan for PCI_CLASS_RAID, when looking for disk devices.
2011-04-25 18:29:33 +00:00
phx
3525c1ef51
Detect StorCenter before QNAP, otherwise the Realtek NIC will mis-detect as
...
StorCenter boards as QNAP.
2011-04-25 18:28:47 +00:00
phx
e8dfac90be
Some DSM-G600 use a Acard ATP865A instead of ATP865. Added its product id.
2011-04-19 17:49:38 +00:00
phx
53ec9ace10
Added a detailed description of altboot command line and boot arguments.
2011-04-19 14:12:54 +00:00
phx
5892c210fd
DSM-G600 has a 33.000 MHz oscillator on board.
2011-04-17 13:09:30 +00:00
phx
6aa7a17f50
ExtClk for QNAP should be the same as for Synology's 266MHz systems.
...
This seems logical, as both boards are very similar, and the clock precision
is ok now.
2011-04-13 18:32:21 +00:00
phx
73e37f5358
Set D-Link DSM-G600 power LED to solid green on start.
2011-04-09 19:56:20 +00:00
phx
36ed4e1e88
QNAP support.
...
Note about the D-Link firmware.
2011-04-08 08:29:07 +00:00
phx
0eb0c32106
Make sure a frame is at least 60 bytes, as Realtek does not automatically
...
expand small frames.
Patch suggested by nisimura@.
2011-04-04 16:41:34 +00:00
phx
0e41517647
Fixed PHY access.
...
Support 8169SC/8110SC (as found on QNAP V200 boards).
Make frame receiving work (FRAMELEN <-> FRAMESIZE).
Driver works now, but not the first time after cold start.
2011-03-27 19:09:43 +00:00
phx
b65ff74068
QNAP support. Detect wm(4) based V1.02 and re(4) based V200 boards.
...
That should include all TS-101 and TS-201 models.
Add reset-code and LED-illumination code for the QNAP PIC, which listens
on the second UART with 19200 bps.
2011-03-26 17:55:05 +00:00