Advertisement
Guest User

Changes for pcduino3nano

a guest
Feb 3rd, 2015
352
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 2.38 KB | None | 0 0
  1. diff --git a/common.sh b/common.sh
  2. index 5059704..33e9af2 100644
  3. --- a/common.sh
  4. +++ b/common.sh
  5. @@ -30,7 +30,13 @@ if [ -d "$DEST/$2" ]; then
  6.     git pull
  7.     cd $SRC
  8.  else
  9. -   git clone $1 $DEST/$2  
  10. +   if [[ $2 == "sunxi-next" ]]; then
  11. +       git clone --branch sunxi-next $1 $DEST/$2
  12. +   elif [[ $2 == "u-boot-denx" ]]; then
  13. +       git clone --branch next $1 $DEST/$2
  14. +   else
  15. +       git clone $1 $DEST/$2  
  16. +   fi
  17.  fi
  18.  }
  19.  
  20. diff --git a/config/linux-sunxi-next.config b/config/linux-sunxi-next.config
  21. index 4edb0a7..5d68060 100644
  22. --- a/config/linux-sunxi-next.config
  23. +++ b/config/linux-sunxi-next.config
  24. @@ -422,8 +422,8 @@ CONFIG_HAVE_SMP=y
  25.  CONFIG_SMP=y
  26.  CONFIG_SMP_ON_UP=y
  27.  CONFIG_ARM_CPU_TOPOLOGY=y
  28. -# CONFIG_SCHED_MC is not set
  29. -# CONFIG_SCHED_SMT is not set
  30. +CONFIG_SCHED_MC=y
  31. +CONFIG_SCHED_SMT=y
  32.  CONFIG_HAVE_ARM_ARCH_TIMER=y
  33.  # CONFIG_MCPM is not set
  34.  # CONFIG_BIG_LITTLE is not set
  35. diff --git a/configuration.sh b/configuration.sh
  36. index 800a4b7..ffa7a9f 100644
  37. --- a/configuration.sh
  38. +++ b/configuration.sh
  39. @@ -46,6 +46,10 @@ if [[ $BRANCH == *next* ]];then
  40.     if [[ $BOARD == "udoo" ]];then
  41.     LINUXCONFIG="linux-udoo-next"
  42.     fi
  43. +   if [[ $BOARD == "pcduino3nano" ]];then
  44. +   LINUXKERNEL="https://github.com/mripard/linux.git"
  45. +   LINUXSOURCE="sunxi-next"
  46. +   fi
  47.  fi
  48.  
  49.  #--------------------------------------------------------------------------------------------------------------------------------
  50. @@ -140,6 +144,15 @@ BOOTCONFIG="Linksprite_pcDuino3_defconfig"
  51.  MODULES="hci_uart gpio_sunxi rfcomm hidp bonding spi_sun7i"
  52.  ;;
  53.  
  54. +pcduino3nano)
  55. +#--------------------------------------------------------------------------------------------------------------------------------
  56. +# pcDuino3 nano
  57. +# --------------------------------------------------------------------------------------------------------------------------------
  58. +BOOTLOADER="git://git.denx.de/u-boot-sunxi.git"
  59. +BOOTCONFIG="Linksprite_pcDuino3_Nano_defconfig"
  60. +BOOTSOURCE="u-boot-denx"
  61. +MODULES="hci_uart gpio_sunxi rfcomm hidp sunxi-ir bonding spi_sun7i"
  62. +;;
  63.  
  64.  bananapi)
  65.  #--------------------------------------------------------------------------------------------------------------------------------
  66. @@ -206,4 +219,4 @@ esac
  67.  # Common part 2
  68.  # It must be here
  69.  MISC4="https://github.com/notro/fbtft"
  70. -MISC4_DIR="$LINUXSOURCE/drivers/video/fbtft"
  71. \ No newline at end of file
  72. +MISC4_DIR="$LINUXSOURCE/drivers/video/fbtft"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement