Age | Commit message (Collapse) | Author | Files | Lines |
|
The VSCSI behaviour of upstream qemu has changed a little bit, so that the
read-capacity command from SLOF failed. We now issue a test-unit-ready for
normal disks, too, and explicitly check whether read-capacity returned valid
values to work-around the problem.
Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
|
|
- On board-qemu, the logging partitions were too big (bigger than the total
NVRAM size).
- Fixed a compiler warning about type-punned pointers in nvram.c
- When DISABLE_NVRAM is set, the fake buffer should not be accessed with
cache-inhibited functions
- Makefile did not generate proper dependencies
Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
|
|
Got rid of the target-id/target-lun hack. Instead we're now creating a
temporary node instance for scanning, too.
Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
|
|
GCC complained about an uninitialized variable in the veth_receive() receive
function. And indeed, the buf variable might have been used uninitialized here
when the packet could not be handled and the code jumped to the recycle part
immediately.
Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
|
|
We've got a getchar() function already in our libc, so there is no need to
define a second one within the net-snk code itself.
Signed-off-by: <thuth@linux.vnet.ibm.com>
|
|
CFLAGS and LDFLAGS are declared in make.rules already and should not be
redefined in sub-folders.
Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
|
|
Silenced a compiler warning that was easy to fix.
Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
|
|
Cleaned up some remainders of SNK modules that have never been used in
production.
Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
|
|
The third claim call in the following sequence failed though it should be
successful:
5000 1000 0 claim
7000 1000 0 claim
6000 1000 0 claim
The problem was that "(?available-segment-#)" returned the wrong value when
the two areas (the one to be claimed and the one from the available list)
exactly matched.
Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
|
|
ISO9660 file names can have a semicolon followed by a revision number in the
file name. However, the code for cleaning these file names was broken, since
it removed the string pointer and length from the stack. Beside this bug,
there were two more problems: ISO9660 file names without extension can have a
trailing dot at the end, which must be stripped away. And the file names can
all be in uppercase letters (just like old MS-DOS file names), so we should use
case insensitive string compare here, too.
Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
|
|
set-alias did not clean up the stack in case the "/aliases" node coud not be
found.
Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
|
|
ABORT" needs a boolean value on the stack, but ABORT (without quotes at the end)
always aborts. In boot.fs, ABORT" has been used without the flag value on the
stack.
Also added a missing "disable-watchdog" before jumping to the operating system,
without this statement, the real JS2x blades rebooted in certain cases due to
the non-disarmed watchdog.
Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
|
|
Replaced the \t in the sed rules with real tabs since this is more portable
(\t only works with the GNU version of sed, not with the BSD version).
Also replaced the pushd and popd commands since they are not POSIX compliant,
they only work with bash but e.g. not with dash on Debian/Ubuntu systems.
Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
|
|
The make.rules of net-snk now uses the rules of the main make.rules file, too,
so that it is not necessary anymore to configure everything twice.
Also replaced the non-intuitive NEW_BUILD variable with the simply "V" flag
variable, so that you can now type "make V=x" with x being either 0, 1 or 2
for controlling the verbosity level of the build process.
Finally I also replaced the "echo -e" constructs with printfs since "echo -e"
is not POSIX compliant and and thus does not work other shells than bash.
Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
|
|
Added a new board for SLOF running on KVM/qemu.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
|
|
There is a file called timebase.fs in the common code folder already, so there
is no need to duplicate the delay functions in the board directories, too.
Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
|
|
|
|
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|