nvidia: add more firmware rtl_nic

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/62/head
Robert Nelson 9 years ago
parent e5bd1a89d9
commit 3e47097bb9

@ -49,7 +49,7 @@ if [ ! "x${conf_smart_uboot}" = "xenable" ] ; then
fi
if [ -f /etc/inittab ] ; then
if [ "x${serial_tty}" != "x" ] ; then
if [ ! "x${serial_tty}" = "x" ] ; then
cp /etc/inittab /boot/uboot/backup/inittab
serial_num=$(echo -n "${serial_tty}"| tail -c -1)
@ -114,7 +114,10 @@ else
fi
fi
echo "set_boot_args=setenv bootargs console=\${console} \${optargs} \${cape_disable} \${cape_enable} root=\${root} rootfstype=\${rootfstype} \${cmdline}" >> ${wfile}
if [ ! "x${serial_tty}" = "x" ] ; then
echo "backup_serial_console=${serial_tty},115200n8" >> ${wfile}
fi
echo "set_boot_args=setenv bootargs console=\${console} \${optargs} \${cape_disable} \${cape_enable} root=\${root} rootfstype=\${rootfstype} \${cmdline}" >> ${wfile}
echo "uuid=$(/sbin/blkid -c /dev/null -s UUID -o value ${FINAL_PART})" >> ${wfile}
echo "root=${FINAL_PART} ro" >> ${wfile}
echo "rootfstype=${FINAL_FSTYPE} fixrtc" >> ${wfile}

@ -48,7 +48,7 @@ if [ ! "x${conf_smart_uboot}" = "xenable" ] ; then
fi
fi
if [ "x${serial_tty}" != "x" ] ; then
if [ ! "x${serial_tty}" = "x" ] ; then
cat > /etc/init/${serial_tty}.conf <<-__EOF__
start on stopped rc RUNLEVEL=[2345]
stop on runlevel [!2345]
@ -104,7 +104,10 @@ else
fi
fi
echo "set_boot_args=setenv bootargs console=\${console} \${optargs} \${cape_disable} \${cape_enable} root=\${root} rootfstype=\${rootfstype} \${cmdline}" >> ${wfile}
if [ ! "x${serial_tty}" = "x" ] ; then
echo "backup_serial_console=${serial_tty},115200n8" >> ${wfile}
fi
echo "set_boot_args=setenv bootargs console=\${console} \${optargs} \${cape_disable} \${cape_enable} root=\${root} rootfstype=\${rootfstype} \${cmdline}" >> ${wfile}
echo "uuid=$(/sbin/blkid -c /dev/null -s UUID -o value ${FINAL_PART})" >> ${wfile}
echo "root=${FINAL_PART} ro" >> ${wfile}
echo "rootfstype=${FINAL_FSTYPE} fixrtc" >> ${wfile}

@ -517,6 +517,8 @@ dl_device_firmware () {
echo "-----------------------------"
echo "Adding NVIDIA firmware:"
cp -rv "${DIR}/dl/linux-firmware/nvidia" ${TEMPDIR}/firmware/
mkdir -p ${TEMPDIR}/firmware/rtl_nic/
cp -v "${DIR}/dl/linux-firmware/rtl_nic/rtl8168g-2.fw" ${TEMPDIR}/firmware/rtl_nic
echo "-----------------------------"
;;
esac
@ -1154,10 +1156,6 @@ populate_boot () {
echo "#dtb=" >> ${wfile}
fi
if [ ! "x${SERIAL_CONSOLE}" = "x" ] ; then
echo "backup_serial_console=${SERIAL_CONSOLE}" >> ${wfile}
fi
mmcargs="mmcargs=run message; setenv bootargs console"
if [ "x${di_serial_mode}" = "xenable" ] ; then

Loading…
Cancel
Save