Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Volunteer for "Add FFS support to U-Boot"



Hi Jared,

I made some changes for u-boot however I'm not sure whatever I'm right or wrong way.

Few question about source:
- I guess ufs alignment changes by architecture but I removed that macro in alloc/dealloc functions. Maybe I can replace with u-boot specific alignment function?
- Also DEV_STRATEGY macro no make sense to me and I commented out that.

I'm still continue with fs_type .read but you can find my early work patch file as an attachment.

Cheers,
Behzat
 

16.02.2018, 00:13, "Jared McNeill" <jmcneill%invisible.ca@localhost>:
> Perfect! Good luck!
>
>>  On Feb 15, 2018, at 5:06 PM, berte <behzaterte%yandex.com@localhost> wrote:
>>
>>  I've already compile uboot master branch for orange pi win, currently I'm working on ffs filesystem port for uboot.
>>
>>  I've some obstacles but still proceeding if stuck with it than I'll ping you back :)
>>
>>  Cheers,
>>  --berte.
>>
>>  15.02.2018, 23:58, "Jared McNeill" <jmcneill%invisible.ca@localhost>:
>>>  Aarch64 should be fine here on the Orange Pi Win, but be aware that building U-Boot for sun50i family boards is a bit more complicated than others due to the dependency on ARM Trusted Framework.
>>>
>>>  There is a U-Boot framework in pkgsrc (currently based on 2017.11 release) that you may want to use as a starting point. Creating a package for your board will be simple:
>>>
>>>   $ cd /usr/pkgsrc/sysutils
>>>   $ cp -r u-boot-pine64 u-boot-orangepi-win
>>>   $ cd u-boot-orangepi-win
>>>   $ vi DESCR
>>>   (Change last line of description to match your board name)
>>>   $ vi Makefile
>>>   (Change UBOOT_TARGET to orangepi-win, UBOOT_CONFIG to orangepi_win_defconfig, remove PKGREVISION)
>>>   $ vi PLIST
>>>   (Change share/u-boot/pine64 to share/u-boot/orangepi-win)
>>>
>>>  That should give you a working u-boot-sunxi-with-spl.bin.
>>>
>>>  Cheers,
>>>  Jared
>>>
>>>>   On Feb 15, 2018, at 4:46 PM, berte <behzaterte%yandex.com@localhost> wrote:
>>>>
>>>>   I've raspberry pi (v1), orange pi zero and orange pi win. So I can quickly change architecture if aarch64 not suitable.
>>>>
>>>>   15.02.2018, 23:42, "Jared McNeill" <jmcneill%invisible.ca@localhost>:
>>>>>   What board are you using?
>>>>>
>>>>>>    On Feb 15, 2018, at 3:31 PM, berte <behzaterte%yandex.com@localhost> wrote:
>>>>>>
>>>>>>    Hi Jared,
>>>>>>
>>>>>>    Thanks for your support.
>>>>>>
>>>>>>    I'll start with u-boot master branch and also I want to compile that for aarch64, is it okay for you?
>>>>>>
>>>>>>    Cheers,
>>>>>>    -- berte.
>>>>>>
>>>>>>    15.02.2018, 20:05, "Jared McNeill" <jmcneill%invisible.ca@localhost>:
>>>>>>>    Hi berte --
>>>>>>>
>>>>>>>    Do you have any specific questions in mind?
>>>>>>>
>>>>>>>    Cheers,
>>>>>>>    Jared
>>>>>>>
>>>>>>>    On Thu, 15 Feb 2018, berte wrote:
>>>>>>>
>>>>>>>>     Hi all,
>>>>>>>>
>>>>>>>>     I want to work for this title so could you please guide me about that ?
>>>>>>>>
>>>>>>>>     Cheers,
>>>>>>>>     --berte.
diff -ur u-boot-2017.11.orig/.config u-boot-2017.11/.config
--- u-boot-2017.11.orig/.config	2018-02-18 14:52:27.021090947 +0300
+++ u-boot-2017.11/.config	2018-02-17 19:12:41.527116327 +0300
@@ -215,6 +215,7 @@
 # CONFIG_SPL_ARMV8_SEC_FIRMWARE_SUPPORT is not set
 CONFIG_PSCI_RESET=y
 # CONFIG_ARMV8_PSCI is not set
+CONFIG_ARMV8_SWITCH_TO_EL1=y
 # CONFIG_CMD_DEKBLOB is not set
 # CONFIG_CMD_HDMIDETECT is not set
 
@@ -1068,6 +1069,9 @@
 # CONFIG_FS_JFFS2 is not set
 # CONFIG_FS_CRAMFS is not set
 # CONFIG_YAFFS2 is not set
+CONFIG_FS_FFS=y
+# CONFIG_FS_FFSv1 is not set
+CONFIG_FS_FFSv2=y
 
 #
 # Library routines
Only in u-boot-2017.11: .config.old
Only in u-boot-2017.11: .git
diff -ur u-boot-2017.11.orig/arch/arm/cpu/armv8/Kconfig u-boot-2017.11/arch/arm/cpu/armv8/Kconfig
--- u-boot-2017.11.orig/arch/arm/cpu/armv8/Kconfig	2017-11-14 04:08:06.000000000 +0300
+++ u-boot-2017.11/arch/arm/cpu/armv8/Kconfig	2018-02-17 15:42:41.742731214 +0300
@@ -131,6 +131,10 @@
 	  A value 0 or no definition of it works for single cluster system.
 	  System with multi-cluster should difine their own exact value.
 
+config ARMV8_SWITCH_TO_EL1
+	bool "Switch to EL1 before booting kernel"
+	default n
+
 if SYS_HAS_ARMV8_SECURE_BASE
 
 config ARMV8_SECURE_BASE
Only in u-boot-2017.11/arch/arm/cpu/armv8: Kconfig.orig
diff -ur u-boot-2017.11.orig/arch/arm/dts/Makefile u-boot-2017.11/arch/arm/dts/Makefile
--- u-boot-2017.11.orig/arch/arm/dts/Makefile	2017-11-14 04:08:06.000000000 +0300
+++ u-boot-2017.11/arch/arm/dts/Makefile	2018-02-17 15:42:42.174599295 +0300
@@ -335,6 +335,7 @@
 dtb-$(CONFIG_MACH_SUN8I_V3S) += \
 	sun8i-v3s-licheepi-zero.dtb
 dtb-$(CONFIG_MACH_SUN50I_H5) += \
+	sun50i-h5-nanopi-neo-plus2.dtb \
 	sun50i-h5-nanopi-neo2.dtb \
 	sun50i-h5-orangepi-pc2.dtb \
 	sun50i-h5-orangepi-prime.dtb \
Only in u-boot-2017.11/arch/arm/dts: Makefile.orig
Only in u-boot-2017.11/arch/arm/dts: sun50i-h5-nanopi-neo-plus2.dts
Only in u-boot-2017.11/arch/arm/dts: sun50i-h5-nanopi-neo-plus2.dts.orig
Only in u-boot-2017.11/arch/arm/include/asm/arch: arch-sunxi
Only in u-boot-2017.11: bl31.bin
Only in u-boot-2017.11/build/temp.netbsd-8.99.12-amd64-2.7/home/berte/playground: u-boot-2017.11
Only in u-boot-2017.11.orig/build/temp.netbsd-8.99.12-amd64-2.7/home/berte/playground: u-boot-2017.11.orig
Only in u-boot-2017.11/build/temp.netbsd-8.99.12-amd64-2.7: usr
Only in u-boot-2017.11/configs: nanopi_neo_plus2_defconfig
Only in u-boot-2017.11/configs: nanopi_neo_plus2_defconfig.orig
diff -ur u-boot-2017.11.orig/configs/orangepi_win_defconfig u-boot-2017.11/configs/orangepi_win_defconfig
--- u-boot-2017.11.orig/configs/orangepi_win_defconfig	2017-11-14 04:08:06.000000000 +0300
+++ u-boot-2017.11/configs/orangepi_win_defconfig	2018-02-17 15:43:09.549282813 +0300
@@ -14,3 +14,4 @@
 CONFIG_SUN8I_EMAC=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y
+CONFIG_ARMV8_SWITCH_TO_EL1=y
diff -ur u-boot-2017.11.orig/drivers/video/sunxi/sunxi_display.c u-boot-2017.11/drivers/video/sunxi/sunxi_display.c
--- u-boot-2017.11.orig/drivers/video/sunxi/sunxi_display.c	2017-11-14 04:08:06.000000000 +0300
+++ u-boot-2017.11/drivers/video/sunxi/sunxi_display.c	2018-02-17 15:43:16.244201866 +0300
@@ -1186,7 +1186,7 @@
 	/* We want to keep the fb_base for simplefb page aligned, where as
 	 * the sunxi dma engines will happily accept an unaligned address. */
 	if (overscan_offset)
-		sunxi_display.fb_size += 0x1000;
+		sunxi_display.fb_size += 0x2000;
 
 	if (sunxi_display.fb_size > CONFIG_SUNXI_MAX_FB_SIZE) {
 		printf("Error need %dkB for fb, but only %dkB is reserved\n",
@@ -1208,8 +1208,8 @@
 	fb_dma_addr = gd->fb_base - CONFIG_SYS_SDRAM_BASE;
 	sunxi_display.fb_addr = gd->fb_base;
 	if (overscan_offset) {
-		fb_dma_addr += 0x1000 - (overscan_offset & 0xfff);
-		sunxi_display.fb_addr += (overscan_offset + 0xfff) & ~0xfff;
+		fb_dma_addr += 0x2000 - (overscan_offset & 0x1fff);
+		sunxi_display.fb_addr += (overscan_offset + 0x1fff) & ~0x1fff;
 		memset((void *)gd->fb_base, 0, sunxi_display.fb_size);
 		flush_cache(gd->fb_base, sunxi_display.fb_size);
 	}
Only in u-boot-2017.11/drivers/video/sunxi: sunxi_display.c.orig
diff -ur u-boot-2017.11.orig/fs/Kconfig u-boot-2017.11/fs/Kconfig
--- u-boot-2017.11.orig/fs/Kconfig	2017-11-14 04:08:06.000000000 +0300
+++ u-boot-2017.11/fs/Kconfig	2018-02-17 18:55:15.722355991 +0300
@@ -22,4 +22,6 @@
 
 source "fs/yaffs2/Kconfig"
 
+source "fs/ffs/Kconfig"
+
 endmenu
diff -ur u-boot-2017.11.orig/fs/Makefile u-boot-2017.11/fs/Makefile
--- u-boot-2017.11.orig/fs/Makefile	2017-11-14 04:08:06.000000000 +0300
+++ u-boot-2017.11/fs/Makefile	2018-02-17 18:55:00.972059782 +0300
@@ -17,6 +17,7 @@
 obj-$(CONFIG_CMD_CRAMFS) += cramfs/
 obj-$(CONFIG_FS_EXT4) += ext4/
 obj-y += fat/
+obj-$(CONFIG_FS_FFS) += ffs/
 obj-$(CONFIG_FS_JFFS2) += jffs2/
 obj-$(CONFIG_CMD_REISER) += reiserfs/
 obj-$(CONFIG_SANDBOX) += sandbox/
Only in u-boot-2017.11/fs: ffs
diff -ur u-boot-2017.11.orig/fs/fs.c u-boot-2017.11/fs/fs.c
--- u-boot-2017.11.orig/fs/fs.c	2017-11-14 04:08:06.000000000 +0300
+++ u-boot-2017.11/fs/fs.c	2018-02-18 00:56:48.618803485 +0300
@@ -15,6 +15,7 @@
 #include <sandboxfs.h>
 #include <ubifs_uboot.h>
 #include <btrfs.h>
+#include <ffs.h>
 #include <asm/io.h>
 #include <div64.h>
 #include <linux/math64.h>
@@ -236,6 +237,26 @@
 		.opendir = fs_opendir_unsupported,
 	},
 #endif
+#ifdef CONFIG_FS_FFS
+	{
+        .fstype = FS_TYPE_FFS,
+        .name = "ffs",
+        .null_dev_desc_ok = false,
+        //.probe = ffs_probe,
+        .close = _ffs_close,
+        .ls = _ffs_ls,
+        //.exists = ffs_exists,
+        //.size = ffs_size,
+        .read = _ffs_read,
+#ifdef CONFIG_FS_FFS_WRITE
+        .write = ffs_write,
+#else
+        .write = fs_write_unsupported,
+#endif
+        .uuid = fs_uuid_unsupported,
+        .opendir = fs_opendir_unsupported,
+	},
+#endif
 	{
 		.fstype = FS_TYPE_ANY,
 		.name = "unsupported",
Only in u-boot-2017.11/include/config: armv8
diff -ur u-boot-2017.11.orig/include/config/auto.conf u-boot-2017.11/include/config/auto.conf
--- u-boot-2017.11.orig/include/config/auto.conf	2018-02-18 14:52:59.831801866 +0300
+++ u-boot-2017.11/include/config/auto.conf	2018-02-17 19:12:49.061064792 +0300
@@ -70,6 +70,7 @@
 CONFIG_SPL_MMC_SUPPORT=y
 CONFIG_CC_OPTIMIZE_FOR_SIZE=y
 CONFIG_SPL_SERIAL_SUPPORT=y
+CONFIG_FS_FFS=y
 CONFIG_ARCH_FIXUP_FDT_MEMORY=y
 CONFIG_SUNXI_DRAM_DW=y
 CONFIG_DM_SERIAL=y
@@ -210,6 +211,7 @@
 CONFIG_ENABLE_ARM_SOC_BOOT0_HOOK=y
 CONFIG_SPL_RAW_IMAGE_SUPPORT=y
 CONFIG_MENU=y
+CONFIG_ARMV8_SWITCH_TO_EL1=y
 CONFIG_CONS_INDEX=1
 CONFIG_DEFAULT_DEVICE_TREE="sun50i-a64-orangepi-win"
 CONFIG_NET_TFTP_VARS=y
@@ -235,6 +237,7 @@
 CONFIG_SYS_MALLOC_F_LEN=0x400
 CONFIG_SUNXI_GEN_SUN6I=y
 CONFIG_MMC0_CD_PIN="PF6"
+CONFIG_FS_FFSv2=y
 CONFIG_CMD_ELF=y
 CONFIG_CMD_PXE=y
 CONFIG_USB3_VBUS_PIN=""
diff -ur u-boot-2017.11.orig/include/config/auto.conf.cmd u-boot-2017.11/include/config/auto.conf.cmd
--- u-boot-2017.11.orig/include/config/auto.conf.cmd	2018-02-18 14:52:58.033149349 +0300
+++ u-boot-2017.11/include/config/auto.conf.cmd	2018-02-17 19:12:48.482224812 +0300
@@ -8,6 +8,7 @@
 	lib/rsa/Kconfig \
 	lib/dhry/Kconfig \
 	lib/Kconfig \
+	fs/ffs/Kconfig \
 	fs/yaffs2/Kconfig \
 	fs/cramfs/Kconfig \
 	fs/ubifs/Kconfig \
Only in u-boot-2017.11/include/config/fs: ffs.h
Only in u-boot-2017.11/include/config/fs: ffsv2.h
Only in u-boot-2017.11/include/config/fs: ufs.h
diff -ur u-boot-2017.11.orig/include/config/uboot.release u-boot-2017.11/include/config/uboot.release
--- u-boot-2017.11.orig/include/config/uboot.release	2018-02-18 14:53:00.143000880 +0300
+++ u-boot-2017.11/include/config/uboot.release	2018-02-17 19:12:49.487967353 +0300
@@ -1 +1 @@
-2017.11""
+2017.11""-g56ba434-dirty
diff -ur u-boot-2017.11.orig/include/configs/tegra-common.h u-boot-2017.11/include/configs/tegra-common.h
--- u-boot-2017.11.orig/include/configs/tegra-common.h	2017-11-14 04:08:06.000000000 +0300
+++ u-boot-2017.11/include/configs/tegra-common.h	2018-02-17 15:43:18.771531947 +0300
@@ -97,4 +97,7 @@
 #include <config_distro_defaults.h>
 #endif
 
+/* Override default uimg size limit */
+#define	CONFIG_SYS_BOOTM_LEN		0x1000000
+
 #endif /* _TEGRA_COMMON_H_ */
Only in u-boot-2017.11/include/configs: tegra-common.h.orig
Only in u-boot-2017.11/include: ffs.h
diff -ur u-boot-2017.11.orig/include/fs.h u-boot-2017.11/include/fs.h
--- u-boot-2017.11.orig/include/fs.h	2017-11-14 04:08:06.000000000 +0300
+++ u-boot-2017.11/include/fs.h	2018-02-17 18:50:48.852822033 +0300
@@ -14,6 +14,7 @@
 #define FS_TYPE_SANDBOX	3
 #define FS_TYPE_UBIFS	4
 #define FS_TYPE_BTRFS	5
+#define FS_TYPE_FFS	6
 
 /*
  * Tell the fs layer which block device an partition to use for future
diff -ur u-boot-2017.11.orig/include/generated/autoconf.h u-boot-2017.11/include/generated/autoconf.h
--- u-boot-2017.11.orig/include/generated/autoconf.h	2018-02-18 14:52:59.258549378 +0300
+++ u-boot-2017.11/include/generated/autoconf.h	2018-02-17 19:12:48.487314668 +0300
@@ -72,6 +72,7 @@
 #define CONFIG_SPL_MMC_SUPPORT 1
 #define CONFIG_CC_OPTIMIZE_FOR_SIZE 1
 #define CONFIG_SPL_SERIAL_SUPPORT 1
+#define CONFIG_FS_FFS 1
 #define CONFIG_ARCH_FIXUP_FDT_MEMORY 1
 #define CONFIG_SUNXI_DRAM_DW 1
 #define CONFIG_DM_SERIAL 1
@@ -212,6 +213,7 @@
 #define CONFIG_ENABLE_ARM_SOC_BOOT0_HOOK 1
 #define CONFIG_SPL_RAW_IMAGE_SUPPORT 1
 #define CONFIG_MENU 1
+#define CONFIG_ARMV8_SWITCH_TO_EL1 1
 #define CONFIG_CONS_INDEX 1
 #define CONFIG_DEFAULT_DEVICE_TREE "sun50i-a64-orangepi-win"
 #define CONFIG_NET_TFTP_VARS 1
@@ -237,6 +239,7 @@
 #define CONFIG_SYS_MALLOC_F_LEN 0x400
 #define CONFIG_SUNXI_GEN_SUN6I 1
 #define CONFIG_MMC0_CD_PIN "PF6"
+#define CONFIG_FS_FFSv2 1
 #define CONFIG_CMD_ELF 1
 #define CONFIG_CMD_PXE 1
 #define CONFIG_USB3_VBUS_PIN ""
diff -ur u-boot-2017.11.orig/include/generated/timestamp_autogenerated.h u-boot-2017.11/include/generated/timestamp_autogenerated.h
--- u-boot-2017.11.orig/include/generated/timestamp_autogenerated.h	2018-02-18 14:53:00.159730893 +0300
+++ u-boot-2017.11/include/generated/timestamp_autogenerated.h	2018-02-18 01:09:14.740924519 +0300
@@ -1,5 +1,5 @@
 #define U_BOOT_DATE "Feb 18 2018"
-#define U_BOOT_TIME "14:53:00"
+#define U_BOOT_TIME "01:09:14"
 #define U_BOOT_TZ "+0300"
 #define U_BOOT_DMI_DATE "02/18/2018"
 #define U_BOOT_BUILD_DATE 0x20180218
diff -ur u-boot-2017.11.orig/include/generated/version_autogenerated.h u-boot-2017.11/include/generated/version_autogenerated.h
--- u-boot-2017.11.orig/include/generated/version_autogenerated.h	2018-02-18 14:53:00.151948893 +0300
+++ u-boot-2017.11/include/generated/version_autogenerated.h	2018-02-17 19:12:49.498501637 +0300
@@ -1,4 +1,4 @@
-#define PLAIN_VERSION "2017.11"
+#define PLAIN_VERSION "2017.11-g56ba434-dirty"
 #define U_BOOT_VERSION "U-Boot " PLAIN_VERSION
 #define CC_VERSION_STRING "aarch64-none-elf-gcc (GCC) 7.2.0"
 #define LD_VERSION_STRING "GNU ld (GNU Binutils) 2.29.1"
Only in u-boot-2017.11/include: ufs.h
diff -ur u-boot-2017.11.orig/lib/bch.c u-boot-2017.11/lib/bch.c
--- u-boot-2017.11.orig/lib/bch.c	2017-11-14 04:08:06.000000000 +0300
+++ u-boot-2017.11/lib/bch.c	2018-02-17 15:43:22.604815977 +0300
@@ -61,8 +61,10 @@
 #include <linux/bitops.h>
 #else
 #include <errno.h>
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) || defined(__NetBSD__)
 #include <sys/endian.h>
+#elif defined(__APPLE__)
+#include <machine/endian.h>
 #else
 #include <endian.h>
 #endif
@@ -71,7 +73,11 @@
 #include <string.h>
 
 #undef cpu_to_be32
+#if defined(__APPLE__)
+#define cpu_to_be32 htonl
+#else
 #define cpu_to_be32 htobe32
+#endif
 #define DIV_ROUND_UP(n,d) (((n) + (d) - 1) / (d))
 #define kmalloc(size, flags)	malloc(size)
 #define kzalloc(size, flags)	calloc(1, size)
@@ -117,7 +123,7 @@
 };
 
 #ifdef USE_HOSTCC
-#if !defined(__DragonFly__) && !defined(__FreeBSD__)
+#if !defined(__DragonFly__) && !defined(__FreeBSD__) && !defined(__APPLE__)
 static int fls(int x)
 {
 	int r = 32;
Only in u-boot-2017.11/lib: bch.c.orig
Binary files u-boot-2017.11.orig/scripts/basic/fixdep and u-boot-2017.11/scripts/basic/fixdep differ
diff -ur u-boot-2017.11.orig/scripts/fill_scrapyard.py u-boot-2017.11/scripts/fill_scrapyard.py
--- u-boot-2017.11.orig/scripts/fill_scrapyard.py	2017-11-14 04:08:06.000000000 +0300
+++ u-boot-2017.11/scripts/fill_scrapyard.py	2018-02-17 15:43:23.650873650 +0300
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/pkg/bin/python2.7
 #
 # Author: Masahiro Yamada <yamada.m%jp.panasonic.com@localhost>
 #
Binary files u-boot-2017.11.orig/scripts/kconfig/conf and u-boot-2017.11/scripts/kconfig/conf differ
Only in u-boot-2017.11/scripts/kconfig: mconf
diff -ur u-boot-2017.11.orig/tools/Makefile u-boot-2017.11/tools/Makefile
--- u-boot-2017.11.orig/tools/Makefile	2017-11-14 04:08:06.000000000 +0300
+++ u-boot-2017.11/tools/Makefile	2018-02-17 15:43:24.164338179 +0300
@@ -68,7 +68,7 @@
 # Fatal error: can't create build/temp.linux-x86_64-2.7/../lib/libfdt/fdt.o:
 #    No such file or directory
 # To fix this, use an absolute path.
-libfdt_tree := $(shell readlink -f $(srctree)/lib/libfdt)
+libfdt_tree := $(realpath $(srctree)/lib/libfdt)
 
 LIBFDT_SRCS := $(addprefix $(libfdt_tree)/, $(LIBFDT_CSRCS))
 LIBFDT_SWIG := $(addprefix $(libfdt_tree)/, pylibfdt/libfdt.i)
Only in u-boot-2017.11/tools: Makefile.orig
diff -ur u-boot-2017.11.orig/tools/binman/binman u-boot-2017.11/tools/binman/binman
--- u-boot-2017.11.orig/tools/binman/binman	2017-11-14 04:08:06.000000000 +0300
+++ u-boot-2017.11/tools/binman/binman	2018-02-17 15:43:23.885465316 +0300
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/pkg/bin/python2.7
 
 # Copyright (c) 2016 Google, Inc
 # Written by Simon Glass <sjg%chromium.org@localhost>
diff -ur u-boot-2017.11.orig/tools/binman/binman.py u-boot-2017.11/tools/binman/binman.py
--- u-boot-2017.11.orig/tools/binman/binman.py	2017-11-14 04:08:06.000000000 +0300
+++ u-boot-2017.11/tools/binman/binman.py	2018-02-17 15:43:23.895708337 +0300
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/pkg/bin/python2.7
 
 # Copyright (c) 2016 Google, Inc
 # Written by Simon Glass <sjg%chromium.org@localhost>
diff -ur u-boot-2017.11.orig/tools/genboardscfg.py u-boot-2017.11/tools/genboardscfg.py
--- u-boot-2017.11.orig/tools/genboardscfg.py	2017-11-14 04:08:06.000000000 +0300
+++ u-boot-2017.11/tools/genboardscfg.py	2018-02-17 15:43:24.430825546 +0300
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/pkg/bin/python2.7
 #
 # Author: Masahiro Yamada <yamada.m%jp.panasonic.com@localhost>
 #
diff -ur u-boot-2017.11.orig/tools/moveconfig.py u-boot-2017.11/tools/moveconfig.py
--- u-boot-2017.11.orig/tools/moveconfig.py	2017-11-14 04:08:06.000000000 +0300
+++ u-boot-2017.11/tools/moveconfig.py	2018-02-17 15:43:24.637622443 +0300
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/pkg/bin/python2.7
 #
 # Author: Masahiro Yamada <yamada.masahiro%socionext.com@localhost>
 #


Home | Main Index | Thread Index | Old Index