Parcourir la source

Tried to use older buildroot version. Not booting.

Thomas Buck il y a 8 ans
Parent
révision
fd597dddb8

+ 0
- 1069
board/raspi/busybox.config
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


+ 13
- 80
board/raspi/linux.config Voir le fichier

@@ -12,11 +12,10 @@ CONFIG_TASKSTATS=y
12 12
 CONFIG_TASK_DELAY_ACCT=y
13 13
 CONFIG_TASK_XACCT=y
14 14
 CONFIG_TASK_IO_ACCOUNTING=y
15
-CONFIG_IKCONFIG=y
15
+CONFIG_IKCONFIG=m
16 16
 CONFIG_IKCONFIG_PROC=y
17 17
 CONFIG_CGROUP_FREEZER=y
18 18
 CONFIG_CGROUP_DEVICE=y
19
-CONFIG_CPUSETS=y
20 19
 CONFIG_CGROUP_CPUACCT=y
21 20
 CONFIG_MEMCG=y
22 21
 CONFIG_BLK_CGROUP=y
@@ -39,14 +38,12 @@ CONFIG_MAC_PARTITION=y
39 38
 CONFIG_CFQ_GROUP_IOSCHED=y
40 39
 CONFIG_ARCH_BCM2708=y
41 40
 CONFIG_BCM2708_DT=y
42
-CONFIG_PREEMPT_VOLUNTARY=y
41
+CONFIG_PREEMPT=y
43 42
 CONFIG_AEABI=y
44 43
 CONFIG_OABI_COMPAT=y
45 44
 CONFIG_CLEANCACHE=y
46 45
 CONFIG_FRONTSWAP=y
47 46
 CONFIG_CMA=y
48
-CONFIG_ZSMALLOC=m
49
-CONFIG_PGTABLE_MAPPING=y
50 47
 CONFIG_UACCESS_WITH_MEMCPY=y
51 48
 CONFIG_SECCOMP=y
52 49
 CONFIG_ZBOOT_ROM_TEXT=0x0
@@ -276,9 +273,6 @@ CONFIG_VLAN_8021Q=m
276 273
 CONFIG_VLAN_8021Q_GVRP=y
277 274
 CONFIG_ATALK=m
278 275
 CONFIG_6LOWPAN=m
279
-CONFIG_IEEE802154=m
280
-CONFIG_IEEE802154_6LOWPAN=m
281
-CONFIG_MAC802154=m
282 276
 CONFIG_NET_SCHED=y
283 277
 CONFIG_NET_SCH_CBQ=m
284 278
 CONFIG_NET_SCH_HTB=m
@@ -376,6 +370,7 @@ CONFIG_BT_MRVL=m
376 370
 CONFIG_BT_MRVL_SDIO=m
377 371
 CONFIG_BT_ATH3K=m
378 372
 CONFIG_BT_WILINK=m
373
+CONFIG_CFG80211_WEXT=y
379 374
 CONFIG_MAC80211=m
380 375
 CONFIG_MAC80211_MESH=y
381 376
 CONFIG_WIMAX=m
@@ -388,12 +383,6 @@ CONFIG_DEVTMPFS=y
388 383
 CONFIG_DEVTMPFS_MOUNT=y
389 384
 CONFIG_DMA_CMA=y
390 385
 CONFIG_CMA_SIZE_MBYTES=5
391
-CONFIG_MTD=m
392
-CONFIG_MTD_BLOCK=m
393
-CONFIG_MTD_NAND=m
394
-CONFIG_MTD_UBI=m
395
-CONFIG_ZRAM=m
396
-CONFIG_ZRAM_LZ4_COMPRESS=y
397 386
 CONFIG_BLK_DEV_LOOP=y
398 387
 CONFIG_BLK_DEV_CRYPTOLOOP=m
399 388
 CONFIG_BLK_DEV_DRBD=m
@@ -402,7 +391,6 @@ CONFIG_BLK_DEV_RAM=y
402 391
 CONFIG_CDROM_PKTCDVD=m
403 392
 CONFIG_ATA_OVER_ETH=m
404 393
 CONFIG_EEPROM_AT24=m
405
-CONFIG_TI_ST=m
406 394
 CONFIG_SCSI=y
407 395
 # CONFIG_SCSI_PROC_FS is not set
408 396
 CONFIG_BLK_DEV_SD=y
@@ -419,7 +407,6 @@ CONFIG_MD_RAID0=m
419 407
 CONFIG_BLK_DEV_DM=m
420 408
 CONFIG_DM_CRYPT=m
421 409
 CONFIG_DM_SNAPSHOT=m
422
-CONFIG_DM_THIN_PROVISIONING=m
423 410
 CONFIG_DM_MIRROR=m
424 411
 CONFIG_DM_LOG_USERSPACE=m
425 412
 CONFIG_DM_RAID=m
@@ -518,34 +505,25 @@ CONFIG_RT2800USB_RT3573=y
518 505
 CONFIG_RT2800USB_RT53XX=y
519 506
 CONFIG_RT2800USB_RT55XX=y
520 507
 CONFIG_RT2800USB_UNKNOWN=y
521
-CONFIG_WL_MEDIATEK=y
522
-CONFIG_MT7601U=m
523 508
 CONFIG_RTL8192CU=m
524 509
 CONFIG_ZD1211RW=m
525 510
 CONFIG_MWIFIEX=m
526 511
 CONFIG_MWIFIEX_SDIO=m
527 512
 CONFIG_WIMAX_I2400M_USB=m
528
-CONFIG_IEEE802154_AT86RF230=m
529
-CONFIG_IEEE802154_MRF24J40=m
530
-CONFIG_IEEE802154_CC2520=m
531 513
 CONFIG_INPUT_POLLDEV=m
532 514
 # CONFIG_INPUT_MOUSEDEV_PSAUX is not set
533 515
 CONFIG_INPUT_JOYDEV=m
534 516
 CONFIG_INPUT_EVDEV=m
535
-# CONFIG_KEYBOARD_ATKBD is not set
536
-CONFIG_KEYBOARD_GPIO=m
517
+# CONFIG_INPUT_KEYBOARD is not set
537 518
 # CONFIG_INPUT_MOUSE is not set
538 519
 CONFIG_INPUT_JOYSTICK=y
539 520
 CONFIG_JOYSTICK_IFORCE=m
540 521
 CONFIG_JOYSTICK_IFORCE_USB=y
541 522
 CONFIG_JOYSTICK_XPAD=m
542 523
 CONFIG_JOYSTICK_XPAD_FF=y
543
-CONFIG_JOYSTICK_RPISENSE=m
544 524
 CONFIG_INPUT_TOUCHSCREEN=y
545 525
 CONFIG_TOUCHSCREEN_ADS7846=m
546 526
 CONFIG_TOUCHSCREEN_EGALAX=m
547
-CONFIG_TOUCHSCREEN_FT6236=m
548
-CONFIG_TOUCHSCREEN_RPI_FT5406=m
549 527
 CONFIG_TOUCHSCREEN_USB_COMPOSITE=m
550 528
 CONFIG_TOUCHSCREEN_STMPE=m
551 529
 CONFIG_INPUT_MISC=y
@@ -567,28 +545,18 @@ CONFIG_GAMEPORT_L4=m
567 545
 CONFIG_DEVPTS_MULTIPLE_INSTANCES=y
568 546
 # CONFIG_LEGACY_PTYS is not set
569 547
 # CONFIG_DEVKMEM is not set
570
-CONFIG_SERIAL_8250=y
571
-# CONFIG_SERIAL_8250_DEPRECATED_OPTIONS is not set
572
-CONFIG_SERIAL_8250_CONSOLE=y
573
-# CONFIG_SERIAL_8250_DMA is not set
574
-CONFIG_SERIAL_8250_NR_UARTS=1
575
-CONFIG_SERIAL_8250_RUNTIME_UARTS=0
576 548
 CONFIG_SERIAL_AMBA_PL011=y
577 549
 CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
578
-CONFIG_SERIAL_OF_PLATFORM=y
579 550
 CONFIG_TTY_PRINTK=y
580 551
 CONFIG_HW_RANDOM=y
581
-CONFIG_HW_RANDOM_BCM2835=m
582 552
 CONFIG_HW_RANDOM_BCM2708=m
583 553
 CONFIG_RAW_DRIVER=y
584 554
 CONFIG_BRCM_CHAR_DRIVERS=y
585 555
 CONFIG_BCM_VC_CMA=y
586
-CONFIG_BCM_VCIO=y
587 556
 CONFIG_BCM_VC_SM=y
588 557
 CONFIG_I2C=y
589 558
 CONFIG_I2C_CHARDEV=m
590 559
 CONFIG_I2C_BCM2708=m
591
-CONFIG_I2C_GPIO=m
592 560
 CONFIG_SPI=y
593 561
 CONFIG_SPI_BCM2835=m
594 562
 CONFIG_SPI_BCM2708=m
@@ -618,16 +586,11 @@ CONFIG_W1_SLAVE_DS2781=m
618 586
 CONFIG_W1_SLAVE_DS28E04=m
619 587
 CONFIG_W1_SLAVE_BQ27000=m
620 588
 CONFIG_BATTERY_DS2760=m
621
-CONFIG_POWER_RESET=y
622
-CONFIG_POWER_RESET_GPIO=y
623
-CONFIG_HWMON=m
624
-CONFIG_SENSORS_SHT21=m
625
-CONFIG_SENSORS_SHTC1=m
589
+# CONFIG_HWMON is not set
626 590
 CONFIG_THERMAL=y
627 591
 CONFIG_THERMAL_BCM2835=y
628 592
 CONFIG_WATCHDOG=y
629 593
 CONFIG_BCM2708_WDT=m
630
-CONFIG_BCM2835_WDT=m
631 594
 CONFIG_UCB1400_CORE=m
632 595
 CONFIG_MFD_STMPE=y
633 596
 CONFIG_STMPE_SPI=y
@@ -809,15 +772,9 @@ CONFIG_VIDEO_TW9903=m
809 772
 CONFIG_VIDEO_TW9906=m
810 773
 CONFIG_VIDEO_OV7640=m
811 774
 CONFIG_VIDEO_MT9V011=m
812
-CONFIG_DRM=m
813
-CONFIG_DRM_VC4=m
814 775
 CONFIG_FB=y
815 776
 CONFIG_FB_BCM2708=y
816
-CONFIG_FB_UDL=m
817
-CONFIG_FB_SSD1307=m
818
-CONFIG_FB_RPISENSE=m
819 777
 # CONFIG_BACKLIGHT_GENERIC is not set
820
-CONFIG_BACKLIGHT_RPI=m
821 778
 CONFIG_BACKLIGHT_GPIO=m
822 779
 CONFIG_FRAMEBUFFER_CONSOLE=y
823 780
 CONFIG_LOGO=y
@@ -852,13 +809,9 @@ CONFIG_SND_BCM2708_SOC_HIFIBERRY_AMP=m
852 809
 CONFIG_SND_BCM2708_SOC_RPI_DAC=m
853 810
 CONFIG_SND_BCM2708_SOC_RPI_PROTO=m
854 811
 CONFIG_SND_BCM2708_SOC_IQAUDIO_DAC=m
855
-CONFIG_SND_BCM2708_SOC_RASPIDAC3=m
856
-CONFIG_SND_SOC_ADAU1701=m
857
-CONFIG_SND_SOC_WM8804_I2C=m
858 812
 CONFIG_SND_SIMPLE_CARD=m
859 813
 CONFIG_SOUND_PRIME=m
860 814
 CONFIG_HIDRAW=y
861
-CONFIG_UHID=m
862 815
 CONFIG_HID_A4TECH=m
863 816
 CONFIG_HID_ACRUX=m
864 817
 CONFIG_HID_APPLE=m
@@ -1006,11 +959,10 @@ CONFIG_USB_UEAGLEATM=m
1006 959
 CONFIG_USB_XUSBATM=m
1007 960
 CONFIG_MMC=y
1008 961
 CONFIG_MMC_BLOCK_MINORS=32
1009
-CONFIG_MMC_BCM2835=y
1010
-CONFIG_MMC_BCM2835_DMA=y
1011
-CONFIG_MMC_BCM2835_SDHOST=y
1012 962
 CONFIG_MMC_SDHCI=y
1013 963
 CONFIG_MMC_SDHCI_PLTFM=y
964
+CONFIG_MMC_BCM2835=y
965
+CONFIG_MMC_BCM2835_DMA=y
1014 966
 CONFIG_MMC_SPI=m
1015 967
 CONFIG_LEDS_CLASS=y
1016 968
 CONFIG_LEDS_GPIO=y
@@ -1071,6 +1023,7 @@ CONFIG_VT6656=m
1071 1023
 CONFIG_SPEAKUP=m
1072 1024
 CONFIG_SPEAKUP_SYNTH_SOFT=m
1073 1025
 CONFIG_STAGING_MEDIA=y
1026
+CONFIG_VIDEO_TLG2300=m
1074 1027
 CONFIG_LIRC_STAGING=y
1075 1028
 CONFIG_LIRC_IMON=m
1076 1029
 CONFIG_LIRC_RPI=m
@@ -1082,7 +1035,6 @@ CONFIG_FB_TFT_BD663474=m
1082 1035
 CONFIG_FB_TFT_HX8340BN=m
1083 1036
 CONFIG_FB_TFT_HX8347D=m
1084 1037
 CONFIG_FB_TFT_HX8353D=m
1085
-CONFIG_FB_TFT_ILI9163=m
1086 1038
 CONFIG_FB_TFT_ILI9320=m
1087 1039
 CONFIG_FB_TFT_ILI9325=m
1088 1040
 CONFIG_FB_TFT_ILI9340=m
@@ -1105,19 +1057,9 @@ CONFIG_FB_TFT_UPD161704=m
1105 1057
 CONFIG_FB_TFT_WATTEROTT=m
1106 1058
 CONFIG_FB_FLEX=m
1107 1059
 CONFIG_FB_TFT_FBTFT_DEVICE=m
1108
-CONFIG_MAILBOX=y
1109
-CONFIG_BCM2835_MBOX=y
1110 1060
 # CONFIG_IOMMU_SUPPORT is not set
1111 1061
 CONFIG_EXTCON=m
1112 1062
 CONFIG_EXTCON_ARIZONA=m
1113
-CONFIG_IIO=m
1114
-CONFIG_IIO_BUFFER=y
1115
-CONFIG_IIO_BUFFER_CB=y
1116
-CONFIG_IIO_KFIFO_BUF=m
1117
-CONFIG_MCP320X=m
1118
-CONFIG_DHT11=m
1119
-CONFIG_PWM_BCM2835=m
1120
-CONFIG_RASPBERRYPI_FIRMWARE=y
1121 1063
 CONFIG_EXT4_FS=y
1122 1064
 CONFIG_EXT4_FS_POSIX_ACL=y
1123 1065
 CONFIG_EXT4_FS_SECURITY=y
@@ -1138,14 +1080,12 @@ CONFIG_OCFS2_FS=m
1138 1080
 CONFIG_BTRFS_FS=m
1139 1081
 CONFIG_BTRFS_FS_POSIX_ACL=y
1140 1082
 CONFIG_NILFS2_FS=m
1141
-CONFIG_F2FS_FS=y
1142 1083
 CONFIG_FANOTIFY=y
1143 1084
 CONFIG_QFMT_V1=m
1144 1085
 CONFIG_QFMT_V2=m
1145 1086
 CONFIG_AUTOFS4_FS=y
1146 1087
 CONFIG_FUSE_FS=m
1147 1088
 CONFIG_CUSE=m
1148
-CONFIG_OVERLAY_FS=m
1149 1089
 CONFIG_FSCACHE=y
1150 1090
 CONFIG_FSCACHE_STATS=y
1151 1091
 CONFIG_FSCACHE_HISTOGRAM=y
@@ -1165,13 +1105,11 @@ CONFIG_CONFIGFS_FS=y
1165 1105
 CONFIG_ECRYPT_FS=m
1166 1106
 CONFIG_HFS_FS=m
1167 1107
 CONFIG_HFSPLUS_FS=m
1168
-CONFIG_JFFS2_FS=m
1169
-CONFIG_JFFS2_SUMMARY=y
1170
-CONFIG_UBIFS_FS=m
1171 1108
 CONFIG_SQUASHFS=m
1172 1109
 CONFIG_SQUASHFS_XATTR=y
1173 1110
 CONFIG_SQUASHFS_LZO=y
1174 1111
 CONFIG_SQUASHFS_XZ=y
1112
+CONFIG_F2FS_FS=y
1175 1113
 CONFIG_NFS_FS=y
1176 1114
 CONFIG_NFS_V3_ACL=y
1177 1115
 CONFIG_NFS_V4=y
@@ -1183,13 +1121,8 @@ CONFIG_NFSD_V3_ACL=y
1183 1121
 CONFIG_NFSD_V4=y
1184 1122
 CONFIG_CIFS=m
1185 1123
 CONFIG_CIFS_WEAK_PW_HASH=y
1186
-CONFIG_CIFS_UPCALL=y
1187 1124
 CONFIG_CIFS_XATTR=y
1188 1125
 CONFIG_CIFS_POSIX=y
1189
-CONFIG_CIFS_ACL=y
1190
-CONFIG_CIFS_DFS_UPCALL=y
1191
-CONFIG_CIFS_SMB2=y
1192
-CONFIG_CIFS_FSCACHE=y
1193 1126
 CONFIG_9P_FS=m
1194 1127
 CONFIG_9P_FS_POSIX_ACL=y
1195 1128
 CONFIG_NLS_DEFAULT="utf8"
@@ -1236,6 +1169,7 @@ CONFIG_BOOT_PRINTK_DELAY=y
1236 1169
 CONFIG_DEBUG_MEMORY_INIT=y
1237 1170
 CONFIG_DETECT_HUNG_TASK=y
1238 1171
 CONFIG_TIMER_STATS=y
1172
+# CONFIG_DEBUG_PREEMPT is not set
1239 1173
 CONFIG_LATENCYTOP=y
1240 1174
 CONFIG_IRQSOFF_TRACER=y
1241 1175
 CONFIG_SCHED_TRACER=y
@@ -1247,21 +1181,20 @@ CONFIG_KGDB=y
1247 1181
 CONFIG_KGDB_KDB=y
1248 1182
 CONFIG_KDB_KEYBOARD=y
1249 1183
 CONFIG_CRYPTO_USER=m
1184
+CONFIG_CRYPTO_NULL=m
1250 1185
 CONFIG_CRYPTO_CRYPTD=m
1251 1186
 CONFIG_CRYPTO_CBC=y
1252 1187
 CONFIG_CRYPTO_CTS=m
1253 1188
 CONFIG_CRYPTO_XTS=m
1254 1189
 CONFIG_CRYPTO_XCBC=m
1190
+CONFIG_CRYPTO_SHA1_ARM=m
1255 1191
 CONFIG_CRYPTO_SHA512=m
1256 1192
 CONFIG_CRYPTO_TGR192=m
1257 1193
 CONFIG_CRYPTO_WP512=m
1194
+CONFIG_CRYPTO_AES_ARM=m
1258 1195
 CONFIG_CRYPTO_CAST5=m
1259 1196
 CONFIG_CRYPTO_DES=y
1260 1197
 # CONFIG_CRYPTO_ANSI_CPRNG is not set
1261
-CONFIG_CRYPTO_USER_API_SKCIPHER=m
1262 1198
 # CONFIG_CRYPTO_HW is not set
1263
-CONFIG_ARM_CRYPTO=y
1264
-CONFIG_CRYPTO_SHA1_ARM=m
1265
-CONFIG_CRYPTO_AES_ARM=m
1266 1199
 CONFIG_CRC_ITU_T=y
1267 1200
 CONFIG_LIBCRC32C=y

+ 5
- 2
board/raspi/post_image.sh Voir le fichier

@@ -1,5 +1,8 @@
1 1
 #!/bin/sh
2 2
 
3
-cp $BR2_EXTERNAL/board/raspi/boot/cmdline.txt $BINARIES_DIR/rpi-firmware/cmdline.txt
4
-cp $BR2_EXTERNAL/board/raspi/boot/config.txt $BINARIES_DIR/rpi-firmware/config.txt
3
+SCRIPT=$(readlink -f $0)
4
+SCRIPTDIR=$(dirname $SCRIPT)
5
+
6
+cp $SCRIPTDIR/boot/cmdline.txt $BINARIES_DIR/rpi-firmware/cmdline.txt
7
+cp $SCRIPTDIR/boot/config.txt $BINARIES_DIR/rpi-firmware/config.txt
5 8
 

+ 0
- 13
board/raspi/rootfs_overlay/etc/ifplugd/ifplugd.action Voir le fichier

@@ -1,13 +0,0 @@
1
-#!/bin/sh
2
-
3
-if [ -z "$1" ] || [ -z "$2" ] ; then
4
-	echo "Wrong arguments"
5
-	exit 1
6
-fi
7
-
8
-[ "$2" = "up" ] && exec udhcpc -i $1
9
-
10
-if [ "$2" = "down" ] ; then
11
-	ifconfig $1 down
12
-fi
13
-

+ 0
- 39
board/raspi/rootfs_overlay/etc/init.d/S42ifplugd Voir le fichier

@@ -1,39 +0,0 @@
1
-#! /bin/sh
2
-
3
-NAME=ifplugd
4
-DAEMON=/usr/sbin/$NAME
5
-
6
-# Gracefully exit if the package has been removed.
7
-test -x $DAEMON || exit 0
8
-
9
-# Read config file if it is present.
10
-if [ -r /etc/default/$NAME ]
11
-then
12
-  . /etc/default/$NAME
13
-fi
14
-
15
-case "$1" in
16
-  start)
17
-    printf "Starting $NAME: "
18
-    start-stop-daemon -S -q -x $DAEMON
19
-    [ $? = 0 ] && echo "OK" || echo "FAIL"
20
-    ;;
21
-  stop)
22
-    printf "Stopping $NAME: "
23
-    start-stop-daemon -K -q -n $NAME
24
-    [ $? = 0 ] && echo "OK" || echo "FAIL"
25
-    ;;
26
-  restart|reload)
27
-    echo "Restarting $NAME: "
28
-    $0 stop
29
-    sleep 1
30
-    $0 start
31
-    ;;
32
-  *)
33
-    echo "Usage: $0 {start|stop|restart|reload}" >&2
34
-    exit 1
35
-    ;;
36
-esac
37
-
38
-exit 0
39
-

+ 0
- 8
board/raspi/rootfs_overlay/etc/network/interfaces Voir le fichier

@@ -1,8 +0,0 @@
1
-# interface file auto-generated by buildroot
2
-
3
-auto lo
4
-iface lo inet loopback
5
-
6
-iface eth0 inet
7
-	pre-up /etc/network/nfs_check
8
-	wait-delay 15

+ 1
- 1
buildroot

@@ -1 +1 @@
1
-Subproject commit 2b23ab47ad4c4ac2f7916673be518704af5dbde7
1
+Subproject commit a6cfaea44e5105cb66e4e797042f64335f5e7c01

+ 8
- 14
configs/raspi_defconfig Voir le fichier

@@ -1,41 +1,35 @@
1 1
 BR2_arm=y
2 2
 BR2_arm1176jzf_s=y
3 3
 BR2_DL_DIR="$(HOME)/.buildroot-dl"
4
-BR2_CCACHE=y
5
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_1=y
4
+BR2_KERNEL_HEADERS_VERSION=y
5
+BR2_DEFAULT_KERNEL_VERSION="3.19.3"
6
+BR2_TOOLCHAIN_BUILDROOT_LARGEFILE=y
7
+BR2_TOOLCHAIN_BUILDROOT_INET_IPV6=y
6 8
 BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
7 9
 BR2_TOOLCHAIN_BUILDROOT_CXX=y
10
+BR2_TARGET_OPTIMIZATION="-pipe -O3"
8 11
 BR2_TARGET_GENERIC_HOSTNAME="raspberrypi"
9 12
 BR2_TARGET_GENERIC_ISSUE="Welcome to the CamCorder"
10 13
 BR2_TARGET_GENERIC_ROOT_PASSWD="camcorder"
11 14
 BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0"
12
-BR2_SYSTEM_DHCP="eth0"
13 15
 BR2_ROOTFS_OVERLAY="$(BR2_EXTERNAL)/board/raspi/rootfs_overlay"
14 16
 BR2_ROOTFS_POST_BUILD_SCRIPT="$(BR2_EXTERNAL)/board/raspi/post_build.sh"
15 17
 BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL)/board/raspi/post_image.sh"
16 18
 BR2_LINUX_KERNEL=y
17 19
 BR2_LINUX_KERNEL_CUSTOM_GIT=y
18
-BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/raspberrypi/linux.git"
19
-BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="423c680bd722670f4b39ea79089859df02b411b6"
20
+BR2_LINUX_KERNEL_CUSTOM_REPO_URL="git://github.com/raspberrypi/linux.git"
21
+BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="108e489c19d92800dfc7f04ec93f57468ffff751"
20 22
 BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
21 23
 BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL)/board/raspi/linux.config"
22 24
 BR2_LINUX_KERNEL_ZIMAGE=y
23 25
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
24
-BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2708-rpi-b bcm2708-rpi-b-plus bcm2708-rpi-cm"
25
-BR2_PACKAGE_BUSYBOX_CONFIG="$(BR2_EXTERNAL)/board/raspi/busybox.config"
26
-BR2_PACKAGE_FFMPEG=y
27
-BR2_PACKAGE_FFMPEG_GPL=y
28
-BR2_PACKAGE_FFMPEG_SWSCALE=y
26
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2708-rpi-b bcm2708-rpi-b-plus"
29 27
 BR2_PACKAGE_GSTREAMER1=y
30 28
 BR2_PACKAGE_GST1_PLUGINS_GOOD=y
31 29
 BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MATROSKA=y
32 30
 BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_V4L2=y
33
-BR2_PACKAGE_GST1_PLUGINS_BAD=y
34
-BR2_PACKAGE_GST1_PLUGINS_BAD_LIB_OPENGL=y
35 31
 BR2_PACKAGE_GST_OMX=y
36 32
 BR2_PACKAGE_RPI_FIRMWARE=y
37
-# BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS is not set
38 33
 BR2_PACKAGE_RPI_USERLAND=y
39
-BR2_PACKAGE_X264=y
40 34
 BR2_PACKAGE_DROPBEAR=y
41 35
 BR2_PACKAGE_NTP=y

+ 12
- 3
flash.sh Voir le fichier

@@ -54,10 +54,19 @@ EOF
54 54
 
55 55
 	echo Copying bootloader files
56 56
 	sudo cp output/images/rpi-firmware/* /media/boot/
57
-	sudo cp output/images/*.dtb /media/boot/
58 57
 
59
-	echo Preparing and copying Kernel Image
60
-	sudo output/host/usr/bin/mkknlimg output/images/zImage /media/boot/zImage
58
+	if ls output/images/*.dtb > /dev/null 2>&1; then
59
+		echo Copying device tree binaries
60
+		sudo cp output/images/*.dtb /media/boot/
61
+	fi
62
+
63
+	if [ -x output/host/usr/bin/mkknlimg ] ; then
64
+		echo Preparing and copying Kernel Image
65
+		sudo output/host/usr/bin/mkknlimg output/images/zImage /media/boot/zImage
66
+	else
67
+		echo mkknlimg not found, only copying kernel image
68
+		sudo cp output/images/zImage /media/boot/zImage
69
+	fi
61 70
 
62 71
 	echo Synchronising changes to disk
63 72
 	sudo sync

Chargement…
Annuler
Enregistrer