debian: lspci works

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
default-cape-symlinks
Robert Nelson 1 year ago
parent be1a01c3ad
commit 65a3799a72

@ -37,15 +37,17 @@ tar xfp ./deploy/debian-sid-console-riscv64-${datestamp}/riscv64-rootfs-*.tar -C
sync sync
mkdir -p ./deploy/input/ || true mkdir -p ./deploy/input/ || true
cp -v ./deploy/boot.scr deploy/input/
echo "label Linux eMMC" > ./deploy/input/extlinux.conf echo "label Linux eMMC" > ./deploy/input/extlinux.conf
echo " kernel /Image" >> ./deploy/input/extlinux.conf echo " kernel /Image" >> ./deploy/input/extlinux.conf
#echo " append root=/dev/mmcblk0p3 ro rootfstype=ext4 rootwait console=ttyS0,115200 earlycon uio_pdrv_genirq.of_id=generic-uio net.ifnames=0" >> ./deploy/input/extlinux.conf #echo " append root=/dev/mmcblk0p3 ro rootfstype=ext4 rootwait console=ttyS0,115200 earlycon uio_pdrv_genirq.of_id=generic-uio net.ifnames=0" >> ./deploy/input/extlinux.conf
echo " fdtdir /" >> ./deploy/input/extlinux.conf echo " fdtdir /" >> ./deploy/input/extlinux.conf
echo " fdt /mpfs-beaglev-fire.dtb" >> ./deploy/input/extlinux.conf echo " fdt /mpfs-beaglev-fire.dtb" >> ./deploy/input/extlinux.conf
#echo " #fdtoverlays /overlays/<file>.dtbo" >> ./deploy/input/extlinux.conf echo " #fdtoverlays /overlays/<file>.dtbo" >> ./deploy/input/extlinux.conf
echo "extlinux/extlinux.conf" #echo "extlinux/extlinux.conf"
cat ./deploy/input/extlinux.conf #cat ./deploy/input/extlinux.conf
mkdir -p ./ignore/.root/boot/firmware/ || true mkdir -p ./ignore/.root/boot/firmware/ || true

@ -25,6 +25,11 @@ if [ -d ./tmp ] ; then
rm -rf ./tmp || true rm -rf ./tmp || true
fi fi
if [ ! -f ./images/sdcard.img ]; then
echo "Error: ./images/sdcard.img was not generated"
exit 2
fi
if [ -f /usr/bin/bmaptool ] ; then if [ -f /usr/bin/bmaptool ] ; then
if [ -f ./images/sdcard.bmap ] ; then if [ -f ./images/sdcard.bmap ] ; then
rm -rf ./images/sdcard.bmap || true rm -rf ./images/sdcard.bmap || true

@ -4,12 +4,13 @@ image boot.vfat {
vfat { vfat {
files = { files = {
"beaglev_fire.itb", "beaglev_fire.itb",
"boot.scr",
"mpfs-beaglev-fire.dtb", "mpfs-beaglev-fire.dtb",
"Image" "Image"
} }
file extlinux/extlinux.conf { #file extlinux/extlinux.conf {
image = extlinux.conf # image = extlinux.conf
} #}
} }
size = 60M size = 60M

@ -70,11 +70,7 @@
#define CONFIG_EXTRA_ENV_SETTINGS \ #define CONFIG_EXTRA_ENV_SETTINGS \
"bootm_size=0x10000000\0" \ "bootm_size=0x10000000\0" \
"kernel_addr_r=0x80200000\0" \ "scriptaddr=0x8e000000\0" \
"fdt_addr_r=0x8a000000\0" \
"scriptaddr=0x88100000\0" \
"pxefile_addr_r=0x88200000\0" \
"ramdisk_addr_r=0x88300000\0" \
BOOTENV_DESIGN_OVERLAYS \ BOOTENV_DESIGN_OVERLAYS \
BOOTENV \ BOOTENV \

Loading…
Cancel
Save