Adding upstream version 20140808.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
5fe5b532d0
commit
73a53afa8d
3 changed files with 3460 additions and 0 deletions
56
Makefile
Normal file
56
Makefile
Normal file
|
@ -0,0 +1,56 @@
|
|||
# Copyright (C) 2010-2021 Daniel Baumann <daniel.baumann@progress-linux.org>
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
# Permission to use, copy, modify, distribute, and sell this software and its
|
||||
# documentation for any purpose is hereby granted without fee, provided that
|
||||
# the above copyright notice appear in all copies and that both that
|
||||
# copyright notice and this permission notice appear in supporting
|
||||
# documentation, and that the name of the authors not be used in
|
||||
# advertising or publicity pertaining to distribution of the software without
|
||||
# specific, written prior permission. The authors makes no representations
|
||||
# about the suitability of this software for any purpose. It is provided
|
||||
# "as is" without express or implied warranty.
|
||||
#
|
||||
# THE AUTHORS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
|
||||
# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
|
||||
# EVENT SHALL THE AUTHORS BE LIABLE FOR ANY SPECIAL, INDIRECT OR
|
||||
# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
|
||||
# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
||||
# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
# PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
SHELL := sh -e
|
||||
|
||||
all: build
|
||||
|
||||
ast_dp501fw.h:
|
||||
@echo "# Getting sources"
|
||||
wget https://gitlab.freedesktop.org/xorg/driver/xf86-video-ast/raw/master/src/ast_dp501fw.h -O ast_dp501fw.h || \
|
||||
curl https://gitlab.freedesktop.org/xorg/driver/xf86-video-ast/raw/master/src/ast_dp501fw.h -o ast_dp501fw.h
|
||||
|
||||
ast_dp501_fw.bin: ast_dp501fw.h
|
||||
@echo "# Creating firmware"
|
||||
grep ^0x ast_dp501fw.h | sed -e 's|,};$$|,|' | xxd -r -p - ast_dp501_fw.bin
|
||||
|
||||
build: ast_dp501_fw.bin
|
||||
|
||||
install: build
|
||||
@echo "# Installing firmware"
|
||||
mkdir -p $(DESTDIR)/lib/firmware
|
||||
cp *.bin $(DESTDIR)/lib/firmware
|
||||
|
||||
uninstall:
|
||||
@echo "# Uninstalling firmware"
|
||||
for FILE in *.bin; do rm -f $(DESTDIR)/lib/firmware/$${FILE}; done
|
||||
rmdir --ignore-fail-on-non-empty --parents $(DESTDIR)/lib/firmware > /dev/null 2>&1 || true
|
||||
|
||||
reinstall: clean uninstall install
|
||||
|
||||
clean:
|
||||
@echo "# Removing firmware"
|
||||
rm -f *.bin
|
||||
|
||||
distclean: clean
|
||||
@echo "# Removing sources"
|
||||
rm -f *.h
|
22
README
Normal file
22
README
Normal file
|
@ -0,0 +1,22 @@
|
|||
Binary firmware for ASpeed Technologies graphics chips
|
||||
======================================================
|
||||
|
||||
This package contains the binary firmware for ASpeed Technologies graphics chips
|
||||
supported by the xserver-xorg-video-ast driver.
|
||||
|
||||
When updating the initramfs image on systems with an ASpeed BMC (such as all
|
||||
IPMI devices on Supermicro mainboards since 2015 to today) the following warning
|
||||
can be seen:
|
||||
|
||||
W: Possible missing firmware /lib/firmware/ast_dp501_fw.bin for module ast
|
||||
|
||||
The ast_dp501_fw.bin firmware can be created from the hexdump in
|
||||
src/ast_dp501fw.h of xf86-video-ast with:
|
||||
|
||||
grep ^0x ast_dp501fw.h | sed -e 's|,};$|,|' | xxd -r -p - ast_dp501_fw.bin
|
||||
|
||||
The upstream git repository of xf86-video-ast can be found at:
|
||||
|
||||
https://gitlab.freedesktop.org/xorg/driver/xf86-video-ast
|
||||
|
||||
-- Daniel Baumann <daniel.baumann@progress-linux.org> Sat, 13 Mar 2021 06:34:23 +0100
|
3382
ast_dp501fw.h
Normal file
3382
ast_dp501fw.h
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue