Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gc2035 driver bugs fixed #18

Open
wants to merge 26 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1,065 changes: 441 additions & 624 deletions build/sun8iw7p1smp_lobo_defconfig

Large diffs are not rendered by default.

1,069 changes: 443 additions & 626 deletions build/sun8iw7p1smp_lobo_defconfig.old

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions build_linux_kernel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ make_kernel() {

echo "Building kernel for OPI-${1} (${2}) ..."
echo " Configuring ..."
make ARCH=arm CROSS_COMPILE=${cross_comp}- sun8iw7p1smp_lobo_defconfig > ../kbuild_${1}_${2}.log 2>&1
make -j $(nproc) ARCH=arm CROSS_COMPILE=${cross_comp}- sun8iw7p1smp_lobo_defconfig > ../kbuild_${1}_${2}.log 2>&1
if [ $? -ne 0 ]; then
echo " Error: KERNEL NOT BUILT."
exit 1
Expand All @@ -94,12 +94,12 @@ make_kernel() {
# export modules to output
echo " Exporting modules ..."
rm -rf output/lib/*
make ARCH=arm CROSS_COMPILE=${cross_comp}- INSTALL_MOD_PATH=output modules_install >> ../kbuild_${1}_${2}.log 2>&1
make -j $(nproc) ARCH=arm CROSS_COMPILE=${cross_comp}- INSTALL_MOD_PATH=output modules_install >> ../kbuild_${1}_${2}.log 2>&1
if [ $? -ne 0 ] || [ ! -f arch/arm/boot/uImage ]; then
echo " Error."
fi
echo " Exporting firmware ..."
make ARCH=arm CROSS_COMPILE=${cross_comp}- INSTALL_MOD_PATH=output firmware_install >> ../kbuild_${1}_${2}.log 2>&1
make -j $(nproc) ARCH=arm CROSS_COMPILE=${cross_comp}- INSTALL_MOD_PATH=output firmware_install >> ../kbuild_${1}_${2}.log 2>&1
if [ $? -ne 0 ] || [ ! -f arch/arm/boot/uImage ]; then
echo " Error."
fi
Expand Down Expand Up @@ -132,7 +132,7 @@ make_kernel() {

if [ "${1}" = "clean" ]; then
echo "Cleaning..."
make ARCH=arm CROSS_COMPILE=${cross_comp}- mrproper > /dev/null 2>&1
make -j $(nproc) ARCH=arm CROSS_COMPILE=${cross_comp}- mrproper > /dev/null 2>&1
if [ $? -ne 0 ]; then
echo " Error."
fi
Expand Down
6 changes: 3 additions & 3 deletions build_mali_driver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,17 @@ export MOD_DIR=${LICHEE_KDIR}/output/lib/modules/${KERNEL_VERSION}
export KDIR

cd modules/mali
make ARCH=arm CROSS_COMPILE=${cross_comp}- clean >> ../malibuild.log 2>&1
make -j $(nproc) ARCH=arm CROSS_COMPILE=${cross_comp}- clean >> ../malibuild.log 2>&1
if [ $? -ne 0 ]; then
echo " Error: clean."
exit 1
fi
make ARCH=arm CROSS_COMPILE=${cross_comp}- build >> ../malibuild.log 2>&1
make -j $(nproc) ARCH=arm CROSS_COMPILE=${cross_comp}- build >> ../malibuild.log 2>&1
if [ $? -ne 0 ]; then
echo " Error: build."
exit 1
fi
make ARCH=arm CROSS_COMPILE=${cross_comp}- install >> ../malibuild.log 2>&1
make -j $(nproc) ARCH=arm CROSS_COMPILE=${cross_comp}- install >> ../malibuild.log 2>&1
if [ $? -ne 0 ]; then
echo " Error: install."
exit 1
Expand Down
8 changes: 8 additions & 0 deletions extra_modules/rtl8192cu-fixes/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
*.cmd
*.o
*.ko
*.mod.c
.tmp_versions
Module.symvers
modules.order

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Disable power management in the 8192cu driver. This works around a bug in
# some hardware where the device never wakes back up.
# Credit goes to Saqib Razaq (https://github.com/s-razaq) for the fix.

# rtw_power_mgnt=0 disables power saving
# rtw_enusbss=0 disables USB autosuspend
options 8192cu rtw_power_mgnt=0 rtw_enusbss=0
Loading