summaryrefslogtreecommitdiff
path: root/recipes-bsp
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2022-08-08 14:25:52 -0500
committerJohn Klug <john.klug@multitech.com>2022-08-08 14:25:52 -0500
commitf48a27aa5868890c3d9012e32e05ad60415bad74 (patch)
tree8f9fe36fac8682a4c4abe6007f80cb330a0a7d5c /recipes-bsp
parent49a0171ea476f25ee87522139d377b601083e7c2 (diff)
downloadmeta-multitech-atmel-f48a27aa5868890c3d9012e32e05ad60415bad74.tar.gz
meta-multitech-atmel-f48a27aa5868890c3d9012e32e05ad60415bad74.tar.bz2
meta-multitech-atmel-f48a27aa5868890c3d9012e32e05ad60415bad74.zip
Move at91bootstrap utilities to Python3
Diffstat (limited to 'recipes-bsp')
-rw-r--r--recipes-bsp/at91bootstrap/at91bootstrap-3.8.12/0006-at91bootstrap-python3.patch27
-rw-r--r--recipes-bsp/at91bootstrap/at91bootstrap.inc1
2 files changed, 28 insertions, 0 deletions
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 \