From f48a27aa5868890c3d9012e32e05ad60415bad74 Mon Sep 17 00:00:00 2001 From: John Klug Date: Mon, 8 Aug 2022 14:25:52 -0500 Subject: Move at91bootstrap utilities to Python3 --- .../0006-at91bootstrap-python3.patch | 27 ++++++++++++++++++++++ recipes-bsp/at91bootstrap/at91bootstrap.inc | 1 + 2 files changed, 28 insertions(+) create mode 100644 recipes-bsp/at91bootstrap/at91bootstrap-3.8.12/0006-at91bootstrap-python3.patch (limited to 'recipes-bsp') diff --git a/recipes-bsp/at91bootstrap/at91bootstrap-3.8.12/0006-at91bootstrap-python3.patch b/recipes-bsp/at91bootstrap/at91bootstrap-3.8.12/0006-at91bootstrap-python3.patch new file mode 100644 index 0000000..35eac9c --- /dev/null +++ b/recipes-bsp/at91bootstrap/at91bootstrap-3.8.12/0006-at91bootstrap-python3.patch @@ -0,0 +1,27 @@ +diff -Naru orig/scripts/addpmecchead.py new/scripts/addpmecchead.py +--- orig/scripts/addpmecchead.py 2018-11-28 09:17:21.000000000 -0600 ++++ new/scripts/addpmecchead.py 2022-08-08 14:12:49.272269840 -0500 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python3 + + import struct, sys + +diff -Naru orig/scripts/bitfieldsparser.py new/scripts/bitfieldsparser.py +--- orig/scripts/bitfieldsparser.py 2018-11-28 09:17:21.000000000 -0600 ++++ new/scripts/bitfieldsparser.py 2022-08-08 14:12:53.736269735 -0500 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python3 + + from __future__ import print_function + import struct, sys, json +diff -Naru orig/scripts/pmecc_head.py new/scripts/pmecc_head.py +--- orig/scripts/pmecc_head.py 2018-11-28 09:17:21.000000000 -0600 ++++ new/scripts/pmecc_head.py 2022-08-08 14:12:57.868269639 -0500 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python3 + + import struct, sys, json, os + from pprint import pprint diff --git a/recipes-bsp/at91bootstrap/at91bootstrap.inc b/recipes-bsp/at91bootstrap/at91bootstrap.inc index caee5ae..6bd8915 100644 --- a/recipes-bsp/at91bootstrap/at91bootstrap.inc +++ b/recipes-bsp/at91bootstrap/at91bootstrap.inc @@ -23,6 +23,7 @@ SRC_URI_append = " \ file://onetime-slow-clock-switch.patch \ file://0003-disable-rtc-interrupts.patch \ file://at91sam9x5_4bit_pmecc_header.bin \ + file://0006-at91bootstrap-python3.patch \ " SRC_URI_append_mtrv1 = " file://0001-mtrv1-DDRlowDriveStrength.patch \ file://defconfig.mtr \ -- cgit v1.2.3