Commit 26863f5c0be2f18d96ff6542c2d14a02166c1079
1 parent
18844e733d
Exists in
debian_bullseye_mx8mq
Fix broken links
Showing 31 changed files with 16 additions and 1289 deletions Side-by-side Diff
- embedian/smarcimx8mp4g/01-eth.sh
- embedian/smarcimx8mp4g/blacklist.conf
- embedian/smarcimx8mp4g/bluez5/files/audio.conf
- embedian/smarcimx8mp4g/bluez5/files/main.conf
- embedian/smarcimx8mp4g/bluez5/files/obex.service
- embedian/smarcimx8mp4g/bluez5/files/obexd.conf
- embedian/smarcimx8mp4g/imx-boot-tools/imx-boot/imx-mkimage-imx8m-soc.mak-add-smarc-imx8mp-support.patch
- embedian/smarcimx8mp4g/pulseaudio/default.pa
- embedian/smarcimx8mp4g/pulseaudio/pulseaudio-bluetooth.conf
- embedian/smarcimx8mp4g/pulseaudio/pulseaudio.service
- embedian/smarcimx8mp4g/pulseaudio/system.pa
- embedian/smarcimx8mp4g/smarcimx8mp4g.sh
- embedian/smarcimx8mp4g/weston.config
- embedian/smarcimx8mp4g/weston.ini
- embedian/smarcimx8mp6g/01-eth.sh
- embedian/smarcimx8mp6g/blacklist.conf
- embedian/smarcimx8mp6g/bluez5/files/audio.conf
- embedian/smarcimx8mp6g/bluez5/files/main.conf
- embedian/smarcimx8mp6g/bluez5/files/obex.service
- embedian/smarcimx8mp6g/bluez5/files/obexd.conf
- embedian/smarcimx8mp6g/imx-boot-tools/imx-boot/imx-mkimage-imx8m-soc.mak-add-smarc-imx8mp-support.patch
- embedian/smarcimx8mp6g/pulseaudio/default.pa
- embedian/smarcimx8mp6g/pulseaudio/pulseaudio-bluetooth.conf
- embedian/smarcimx8mp6g/pulseaudio/pulseaudio.service
- embedian/smarcimx8mp6g/pulseaudio/system.pa
- embedian/smarcimx8mp6g/smarcimx8mp6g.sh
- embedian/smarcimx8mp6g/weston.config
- embedian/smarcimx8mp6g/weston.ini
- embedian/smarcimx8mq2g/smarcimx8mq2g.sh
- embedian/smarcimx8mq4g/smarcimx8mq4g.sh
- embedian/weston_rootfs.sh
embedian/smarcimx8mp4g/01-eth.sh
embedian/smarcimx8mp4g/blacklist.conf
1 | -blacklist evbug |
embedian/smarcimx8mp4g/bluez5/files/audio.conf
embedian/smarcimx8mp4g/bluez5/files/main.conf
1 | -[General] | |
2 | - | |
3 | -# Default adaper name | |
4 | -# Defaults to 'BlueZ X.YZ' | |
5 | -Name = Variscite | |
6 | - | |
7 | -# Default device class. Only the major and minor device class bits are | |
8 | -# considered. Defaults to '0x000000'. | |
9 | -Class = 0x000100 | |
10 | - | |
11 | -# How long to stay in discoverable mode before going back to non-discoverable | |
12 | -# The value is in seconds. Default is 180, i.e. 3 minutes. | |
13 | -# 0 = disable timer, i.e. stay discoverable forever | |
14 | -#DiscoverableTimeout = 0 | |
15 | - | |
16 | -# How long to stay in pairable mode before going back to non-discoverable | |
17 | -# The value is in seconds. Default is 0. | |
18 | -# 0 = disable timer, i.e. stay pairable forever | |
19 | -#PairableTimeout = 0 | |
20 | - | |
21 | -# Automatic connection for bonded devices driven by platform/user events. | |
22 | -# If a platform plugin uses this mechanism, automatic connections will be | |
23 | -# enabled during the interval defined below. Initially, this feature | |
24 | -# intends to be used to establish connections to ATT channels. Default is 60. | |
25 | -#AutoConnectTimeout = 60 | |
26 | - | |
27 | -# Use vendor id source (assigner), vendor, product and version information for | |
28 | -# DID profile support. The values are separated by ":" and assigner, VID, PID | |
29 | -# and version. | |
30 | -# Possible vendor id source values: bluetooth, usb (defaults to usb) | |
31 | -#DeviceID = bluetooth:1234:5678:abcd | |
32 | - | |
33 | -# Do reverse service discovery for previously unknown devices that connect to | |
34 | -# us. This option is really only needed for qualification since the BITE tester | |
35 | -# doesn't like us doing reverse SDP for some test cases (though there could in | |
36 | -# theory be other useful purposes for this too). Defaults to 'true'. | |
37 | -#ReverseServiceDiscovery = true | |
38 | - | |
39 | -# Enable name resolving after inquiry. Set it to 'false' if you don't need | |
40 | -# remote devices name and want shorter discovery cycle. Defaults to 'true'. | |
41 | -#NameResolving = true | |
42 | - | |
43 | -# Enable runtime persistency of debug link keys. Default is false which | |
44 | -# makes debug link keys valid only for the duration of the connection | |
45 | -# that they were created for. | |
46 | -#DebugKeys = false | |
47 | - | |
48 | -# Restricts all controllers to the specified transport. Default value | |
49 | -# is "dual", i.e. both BR/EDR and LE enabled (when supported by the HW). | |
50 | -# Possible values: "dual", "bredr", "le" | |
51 | -#ControllerMode = dual | |
52 | - | |
53 | -# Enables Multi Profile Specification support. This allows to specify if | |
54 | -# system supports only Multiple Profiles Single Device (MPSD) configuration | |
55 | -# or both Multiple Profiles Single Device (MPSD) and Multiple Profiles Multiple | |
56 | -# Devices (MPMD) configurations. | |
57 | -# Possible values: "off", "single", "multiple" | |
58 | -#MultiProfile = off | |
59 | - | |
60 | -# Permanently enables the Fast Connectable setting for adapters that | |
61 | -# support it. When enabled other devices can connect faster to us, | |
62 | -# however the tradeoff is increased power consumptions. This feature | |
63 | -# will fully work only on kernel version 4.1 and newer. Defaults to | |
64 | -# 'false'. | |
65 | -#FastConnectable = false | |
66 | - | |
67 | -#[Policy] | |
68 | -# | |
69 | -# The ReconnectUUIDs defines the set of remote services that should try | |
70 | -# to be reconnected to in case of a link loss (link supervision | |
71 | -# timeout). The policy plugin should contain a sane set of values by | |
72 | -# default, but this list can be overridden here. By setting the list to | |
73 | -# empty the reconnection feature gets disabled. | |
74 | -#ReconnectUUIDs=00001112-0000-1000-8000-00805f9b34fb, 0000111f-0000-1000-8000-00805f9b34fb, 0000110a-0000-1000-8000-00805f9b34fb | |
75 | - | |
76 | -# ReconnectAttempts define the number of attempts to reconnect after a link | |
77 | -# lost. Setting the value to 0 disables reconnecting feature. | |
78 | -#ReconnectAttempts=7 | |
79 | - | |
80 | -# ReconnectIntervals define the set of intervals in seconds to use in between | |
81 | -# attempts. | |
82 | -# If the number of attempts defined in ReconnectAttempts is bigger than the | |
83 | -# set of intervals the last interval is repeated until the last attempt. | |
84 | -#ReconnectIntervals=1, 2, 4, 8, 16, 32, 64 | |
85 | - | |
86 | -# AutoEnable defines option to enable all controllers when they are found. | |
87 | -# This includes adapters present on start as well as adapters that are plugged | |
88 | -# in later on. Defaults to 'false'. | |
89 | -#AutoEnable=false |
embedian/smarcimx8mp4g/bluez5/files/obex.service
1 | -[Unit] | |
2 | -Description=Bluetooth OBEX service | |
3 | - | |
4 | -[Service] | |
5 | -Type=dbus | |
6 | -BusName=org.bluez.obex | |
7 | -Environment="DBUS_SESSION_BUS_ADDRESS=unix:path=/var/run/dbus/system_bus_socket" | |
8 | -ExecStartPre=/bin/mkdir -p /tmp/bluetooth-inbox | |
9 | -ExecStart=/usr/libexec/bluetooth/obexd -a -l -r /tmp/bluetooth-inbox | |
10 | - | |
11 | -[Install] | |
12 | -Alias=dbus-org.bluez.obex.service |
embedian/smarcimx8mp4g/bluez5/files/obexd.conf
1 | -<!-- This configuration file specifies the required security policies | |
2 | - for Obex core daemon to work. --> | |
3 | - | |
4 | -<!DOCTYPE busconfig PUBLIC "-//freedesktop/DTD D-BUS Configuration 1.0//EN" | |
5 | - "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> | |
6 | -<busconfig> | |
7 | - <policy user="root"> | |
8 | - <allow own="org.bluez.obex"/> | |
9 | - <allow send_destination="org.bluez.obex"/> | |
10 | - <allow send_interface="org.bluez.obex"/> | |
11 | - </policy> | |
12 | -</busconfig> |
embedian/smarcimx8mp4g/imx-boot-tools/imx-boot/imx-mkimage-imx8m-soc.mak-add-smarc-imx8mp-support.patch
1 | -From 7032ad5669be3ee54da01a864c9ea1d560f756e5 Mon Sep 17 00:00:00 2001 | |
2 | -From: Eric Lee <eric.lee@embedian.com> | |
3 | -Date: Sun, 31 Oct 2021 00:31:53 +0800 | |
4 | -Subject: [PATCH] imx-mkimage: imx8m: soc.mak: Add support for Embedian | |
5 | - | |
6 | ---- | |
7 | - iMX8M/soc.mak | 4 ++-- | |
8 | - 1 file changed, 2 insertions(+), 2 deletions(-) | |
9 | - | |
10 | -diff --git a/iMX8M/soc.mak b/iMX8M/soc.mak | |
11 | -index 30ecefd..c362034 100644 | |
12 | ---- a/iMX8M/soc.mak | |
13 | -+++ b/iMX8M/soc.mak | |
14 | -@@ -137,9 +137,9 @@ u-boot-atf-tee.bin: u-boot.bin bl31.bin tee.bin | |
15 | - clean: | |
16 | - @rm -f $(MKIMG) u-boot-atf.bin u-boot-atf-tee.bin u-boot-spl-ddr.bin u-boot.itb u-boot.its u-boot-ddr3l.itb u-boot-ddr3l.its u-boot-spl-ddr3l.bin u-boot-ddr4.itb u-boot-ddr4.its u-boot-spl-ddr4.bin u-boot-ddr4-evk.itb u-boot-ivt.itb u-boot-ddr4-evk.its $(OUTIMG) | |
17 | - | |
18 | --dtbs = evk.dtb | |
19 | -+dtbs = smarc.dtb | |
20 | - $(dtbs): | |
21 | -- ./$(DTB_PREPROC) $(PLAT)-evk.dtb $(dtbs) | |
22 | -+ ./$(DTB_PREPROC) $(PLAT)-smarc.dtb $(dtbs) | |
23 | - | |
24 | - u-boot.itb: $(dtbs) | |
25 | - ./$(PAD_IMAGE) tee.bin | |
26 | --- | |
27 | -2.17.1 |
embedian/smarcimx8mp4g/pulseaudio/default.pa
1 | -#!/usr/bin/pulseaudio -nF | |
2 | -# | |
3 | -# This file is part of PulseAudio. | |
4 | -# | |
5 | -# PulseAudio is free software; you can redistribute it and/or modify it | |
6 | -# under the terms of the GNU Lesser General Public License as published by | |
7 | -# the Free Software Foundation; either version 2 of the License, or | |
8 | -# (at your option) any later version. | |
9 | -# | |
10 | -# PulseAudio is distributed in the hope that it will be useful, but | |
11 | -# WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
13 | -# General Public License for more details. | |
14 | -# | |
15 | -# You should have received a copy of the GNU Lesser General Public License | |
16 | -# along with PulseAudio; if not, write to the Free Software Foundation, | |
17 | -# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. | |
18 | - | |
19 | -# This startup script is used only if PulseAudio is started per-user | |
20 | -# (i.e. not in system mode) | |
21 | - | |
22 | -.nofail | |
23 | - | |
24 | -### Load something into the sample cache | |
25 | -#load-sample-lazy x11-bell /usr/share/sounds/gtk-events/activate.wav | |
26 | -#load-sample-lazy pulse-hotplug /usr/share/sounds/startup3.wav | |
27 | -#load-sample-lazy pulse-coldplug /usr/share/sounds/startup3.wav | |
28 | -#load-sample-lazy pulse-access /usr/share/sounds/generic.wav | |
29 | - | |
30 | -.fail | |
31 | - | |
32 | -### Automatically restore the volume of streams and devices | |
33 | -load-module module-device-restore | |
34 | -load-module module-stream-restore | |
35 | -load-module module-card-restore | |
36 | - | |
37 | -### Automatically augment property information from .desktop files | |
38 | -### stored in /usr/share/application | |
39 | -load-module module-augment-properties | |
40 | - | |
41 | -### Should be after module-*-restore but before module-*-detect | |
42 | -load-module module-switch-on-port-available | |
43 | - | |
44 | -### Load audio drivers statically | |
45 | -### (it's probably better to not load these drivers manually, but instead | |
46 | -### use module-udev-detect -- see below -- for doing this automatically) | |
47 | -load-module module-alsa-sink | |
48 | -load-module module-alsa-source device=hw:0,0 | |
49 | -#load-module module-oss device="/dev/dsp" sink_name=output source_name=input | |
50 | -#load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input | |
51 | -#load-module module-null-sink | |
52 | -#load-module module-pipe-sink | |
53 | - | |
54 | -### Automatically load driver modules depending on the hardware available | |
55 | -#.ifexists module-udev-detect.so | |
56 | -#load-module module-udev-detect tsched=0 | |
57 | -#.else | |
58 | -### Use the static hardware detection module (for systems that lack udev support) | |
59 | -#load-module module-detect | |
60 | -#.endif | |
61 | - | |
62 | -### Automatically connect sink and source if JACK server is present | |
63 | -.ifexists module-jackdbus-detect.so | |
64 | -.nofail | |
65 | -load-module module-jackdbus-detect channels=2 | |
66 | -.fail | |
67 | -.endif | |
68 | - | |
69 | -### Automatically load driver modules for Bluetooth hardware | |
70 | -.ifexists module-bluetooth-policy.so | |
71 | -load-module module-bluetooth-policy | |
72 | -.endif | |
73 | - | |
74 | -.ifexists module-bluetooth-discover.so | |
75 | -load-module module-bluetooth-discover | |
76 | -.endif | |
77 | - | |
78 | -### Load several protocols | |
79 | -.ifexists module-esound-protocol-unix.so | |
80 | -load-module module-esound-protocol-unix | |
81 | -.endif | |
82 | -load-module module-native-protocol-unix | |
83 | - | |
84 | -### Network access (may be configured with paprefs, so leave this commented | |
85 | -### here if you plan to use paprefs) | |
86 | -#load-module module-esound-protocol-tcp | |
87 | -#load-module module-native-protocol-tcp | |
88 | -#load-module module-zeroconf-publish | |
89 | - | |
90 | -### Load the RTP receiver module (also configured via paprefs, see above) | |
91 | -#load-module module-rtp-recv | |
92 | - | |
93 | -### Load the RTP sender module (also configured via paprefs, see above) | |
94 | -#load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 sink_properties="device.description='RTP Multicast Sink'" | |
95 | -#load-module module-rtp-send source=rtp.monitor | |
96 | - | |
97 | -### Load additional modules from GConf settings. This can be configured with the paprefs tool. | |
98 | -### Please keep in mind that the modules configured by paprefs might conflict with manually | |
99 | -### loaded modules. | |
100 | -.ifexists module-gconf.so | |
101 | -.nofail | |
102 | -load-module module-gconf | |
103 | -.fail | |
104 | -.endif | |
105 | - | |
106 | -### Automatically restore the default sink/source when changed by the user | |
107 | -### during runtime | |
108 | -### NOTE: This should be loaded as early as possible so that subsequent modules | |
109 | -### that look up the default sink/source get the right value | |
110 | -load-module module-default-device-restore | |
111 | - | |
112 | -### Automatically move streams to the default sink if the sink they are | |
113 | -### connected to dies, similar for sources | |
114 | -load-module module-rescue-streams | |
115 | - | |
116 | -### Make sure we always have a sink around, even if it is a null sink. | |
117 | -load-module module-always-sink | |
118 | - | |
119 | -### Honour intended role device property | |
120 | -load-module module-intended-roles | |
121 | - | |
122 | -### Automatically suspend sinks/sources that become idle for too long | |
123 | -load-module module-suspend-on-idle | |
124 | - | |
125 | -### If autoexit on idle is enabled we want to make sure we only quit | |
126 | -### when no local session needs us anymore. | |
127 | -.ifexists module-console-kit.so | |
128 | -load-module module-console-kit | |
129 | -.endif | |
130 | -.ifexists module-systemd-login.so | |
131 | -load-module module-systemd-login | |
132 | -.endif | |
133 | - | |
134 | -### Enable positioned event sounds | |
135 | -load-module module-position-event-sounds | |
136 | - | |
137 | -### Cork music/video streams when a phone stream is active | |
138 | -load-module module-role-cork | |
139 | - | |
140 | -### Modules to allow autoloading of filters (such as echo cancellation) | |
141 | -### on demand. module-filter-heuristics tries to determine what filters | |
142 | -### make sense, and module-filter-apply does the heavy-lifting of | |
143 | -### loading modules and rerouting streams. | |
144 | -load-module module-filter-heuristics | |
145 | -load-module module-filter-apply | |
146 | - | |
147 | -### Load DBus protocol | |
148 | -.ifexists module-dbus-protocol.so | |
149 | -load-module module-dbus-protocol | |
150 | -.endif | |
151 | - | |
152 | -# X11 modules should not be started from default.pa so that one daemon | |
153 | -# can be shared by multiple sessions. | |
154 | - | |
155 | -### Load X11 bell module | |
156 | -#load-module module-x11-bell sample=bell-windowing-system | |
157 | - | |
158 | -### Register ourselves in the X11 session manager | |
159 | -#load-module module-x11-xsmp | |
160 | - | |
161 | -### Publish connection data in the X11 root window | |
162 | -#.ifexists module-x11-publish.so | |
163 | -#.nofail | |
164 | -#load-module module-x11-publish | |
165 | -#.fail | |
166 | -#.endif | |
167 | - | |
168 | -### Make some devices default | |
169 | -#set-default-sink output | |
170 | -#set-default-source input |
embedian/smarcimx8mp4g/pulseaudio/pulseaudio-bluetooth.conf
embedian/smarcimx8mp4g/pulseaudio/pulseaudio.service
embedian/smarcimx8mp4g/pulseaudio/system.pa
1 | -#!/usr/bin/pulseaudio -nF | |
2 | -# | |
3 | -# This file is part of PulseAudio. | |
4 | -# | |
5 | -# PulseAudio is free software; you can redistribute it and/or modify it | |
6 | -# under the terms of the GNU Lesser General Public License as published by | |
7 | -# the Free Software Foundation; either version 2 of the License, or | |
8 | -# (at your option) any later version. | |
9 | -# | |
10 | -# PulseAudio is distributed in the hope that it will be useful, but | |
11 | -# WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
13 | -# General Public License for more details. | |
14 | -# | |
15 | -# You should have received a copy of the GNU Lesser General Public License | |
16 | -# along with PulseAudio; if not, write to the Free Software Foundation, | |
17 | -# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. | |
18 | - | |
19 | -# This startup script is used only if PulseAudio is started per-user | |
20 | -# (i.e. not in system mode) | |
21 | - | |
22 | -.nofail | |
23 | - | |
24 | -### Load something into the sample cache | |
25 | -#load-sample-lazy x11-bell /usr/share/sounds/gtk-events/activate.wav | |
26 | -#load-sample-lazy pulse-hotplug /usr/share/sounds/startup3.wav | |
27 | -#load-sample-lazy pulse-coldplug /usr/share/sounds/startup3.wav | |
28 | -#load-sample-lazy pulse-access /usr/share/sounds/generic.wav | |
29 | - | |
30 | -.fail | |
31 | - | |
32 | -### Automatically restore the volume of streams and devices | |
33 | -load-module module-device-restore | |
34 | -load-module module-stream-restore | |
35 | -load-module module-card-restore | |
36 | - | |
37 | -### Automatically augment property information from .desktop files | |
38 | -### stored in /usr/share/application | |
39 | -#load-module module-augment-properties | |
40 | - | |
41 | -### Should be after module-*-restore but before module-*-detect | |
42 | -load-module module-switch-on-port-available | |
43 | - | |
44 | -### Load audio drivers statically | |
45 | -### (it's probably better to not load these drivers manually, but instead | |
46 | -### use module-udev-detect -- see below -- for doing this automatically) | |
47 | -load-module module-alsa-sink | |
48 | -load-module module-alsa-source device=hw:0,0 | |
49 | -#load-module module-oss device="/dev/dsp" sink_name=output source_name=input | |
50 | -#load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input | |
51 | -#load-module module-null-sink | |
52 | -#load-module module-pipe-sink | |
53 | - | |
54 | -### Load driver modules for Bluetooth hardware | |
55 | -.ifexists module-bluetooth-policy.so | |
56 | -load-module module-bluetooth-policy | |
57 | -.endif | |
58 | - | |
59 | -.ifexists module-bluetooth-discover.so | |
60 | -load-module module-bluetooth-discover | |
61 | -.endif | |
62 | - | |
63 | -### Automatically load driver modules depending on the hardware available | |
64 | -#.ifexists module-udev-detect.so | |
65 | -#load-module module-udev-detect tsched=0 | |
66 | -#.else | |
67 | -### Use the static hardware detection module (for systems that lack udev support) | |
68 | -#load-module module-detect | |
69 | -#.endif | |
70 | - | |
71 | -### Automatically connect sink and source if JACK server is present | |
72 | -.ifexists module-jackdbus-detect.so | |
73 | -.nofail | |
74 | -load-module module-jackdbus-detect channels=2 | |
75 | -.fail | |
76 | -.endif | |
77 | - | |
78 | -### Load several protocols | |
79 | -.ifexists module-esound-protocol-unix.so | |
80 | -load-module module-esound-protocol-unix | |
81 | -.endif | |
82 | -load-module module-native-protocol-unix auth-anonymous=1 | |
83 | - | |
84 | -### Network access (may be configured with paprefs, so leave this commented | |
85 | -### here if you plan to use paprefs) | |
86 | -#load-module module-esound-protocol-tcp | |
87 | -#load-module module-native-protocol-tcp | |
88 | -#load-module module-zeroconf-publish | |
89 | - | |
90 | -### Load the RTP receiver module (also configured via paprefs, see above) | |
91 | -#load-module module-rtp-recv | |
92 | - | |
93 | -### Load the RTP sender module (also configured via paprefs, see above) | |
94 | -#load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 sink_properties="device.description='RTP Multicast Sink'" | |
95 | -#load-module module-rtp-send source=rtp.monitor | |
96 | - | |
97 | -### Load additional modules from GConf settings. This can be configured with the paprefs tool. | |
98 | -### Please keep in mind that the modules configured by paprefs might conflict with manually | |
99 | -### loaded modules. | |
100 | -#.ifexists module-gconf.so | |
101 | -#.nofail | |
102 | -#load-module module-gconf | |
103 | -#.fail | |
104 | -#.endif | |
105 | - | |
106 | -### Automatically restore the default sink/source when changed by the user | |
107 | -### during runtime | |
108 | -### NOTE: This should be loaded as early as possible so that subsequent modules | |
109 | -### that look up the default sink/source get the right value | |
110 | -load-module module-default-device-restore | |
111 | - | |
112 | -### Automatically move streams to the default sink if the sink they are | |
113 | -### connected to dies, similar for sources | |
114 | -load-module module-rescue-streams | |
115 | - | |
116 | -### Make sure we always have a sink around, even if it is a null sink. | |
117 | -load-module module-always-sink | |
118 | - | |
119 | -### Honour intended role device property | |
120 | -load-module module-intended-roles | |
121 | - | |
122 | -### Automatically suspend sinks/sources that become idle for too long | |
123 | -load-module module-suspend-on-idle | |
124 | - | |
125 | -### If autoexit on idle is enabled we want to make sure we only quit | |
126 | -### when no local session needs us anymore. | |
127 | -#.ifexists module-console-kit.so | |
128 | -#load-module module-console-kit | |
129 | -#.endif | |
130 | -#.ifexists module-systemd-login.so | |
131 | -#load-module module-systemd-login | |
132 | -#.endif | |
133 | - | |
134 | -### Enable positioned event sounds | |
135 | -load-module module-position-event-sounds | |
136 | - | |
137 | -### Cork music/video streams when a phone stream is active | |
138 | -load-module module-role-cork | |
139 | - | |
140 | -### Modules to allow autoloading of filters (such as echo cancellation) | |
141 | -### on demand. module-filter-heuristics tries to determine what filters | |
142 | -### make sense, and module-filter-apply does the heavy-lifting of | |
143 | -### loading modules and rerouting streams. | |
144 | -load-module module-filter-heuristics | |
145 | -load-module module-filter-apply | |
146 | - | |
147 | -### Load DBus protocol | |
148 | -.ifexists module-dbus-protocol.so | |
149 | -load-module module-dbus-protocol | |
150 | -.endif | |
151 | - | |
152 | -# X11 modules should not be started from default.pa so that one daemon | |
153 | -# can be shared by multiple sessions. | |
154 | - | |
155 | -### Load X11 bell module | |
156 | -#load-module module-x11-bell sample=bell-windowing-system | |
157 | - | |
158 | -### Register ourselves in the X11 session manager | |
159 | -#load-module module-x11-xsmp | |
160 | - | |
161 | -### Publish connection data in the X11 root window | |
162 | -#.ifexists module-x11-publish.so | |
163 | -#.nofail | |
164 | -#load-module module-x11-publish | |
165 | -#.fail | |
166 | -#.endif | |
167 | - | |
168 | -### Make some devices default | |
169 | -#set-default-sink output | |
170 | -#set-default-source input |
embedian/smarcimx8mp4g/smarcimx8mp4g.sh
1 | -readonly ARCH_CPU="64BIT" | |
2 | - | |
3 | -# U-Boot | |
4 | -readonly G_UBOOT_SRC_DIR="${DEF_SRC_DIR}/uboot" | |
5 | -readonly G_UBOOT_GIT="git@git.embedian.com:developer/smarc-t335x-uboot.git" | |
6 | -readonly G_UBOOT_BRANCH="smarc_8mp_lf_v2020.04" | |
7 | -readonly G_UBOOT_REV="7beba4bebec05d10bfe314e6a47e34d42296a100" | |
8 | -G_UBOOT_DEF_CONFIG_MMC="smarcimx8mp_4g_ser3_defconfig" | |
9 | -readonly G_UBOOT_NAME_FOR_EMMC='imx-boot-sd.bin' | |
10 | - | |
11 | -# Linux kernel | |
12 | -readonly G_LINUX_KERNEL_SRC_DIR="${DEF_SRC_DIR}/kernel" | |
13 | -readonly G_LINUX_KERNEL_GIT="git@git.embedian.com:developer/smarc-fsl-linux-kernel.git" | |
14 | -readonly G_LINUX_KERNEL_BRANCH="smarc_8mp_lf-5.10.y" | |
15 | -readonly G_LINUX_KERNEL_REV="2471bf6c1fd105e00eff834b88a5b43643187fdb" | |
16 | -readonly G_LINUX_KERNEL_DEF_CONFIG='smarcimx8mp_defconfig' | |
17 | -G_LINUX_DTB="embedian/imx8mp-smarc.dtb | |
18 | - embedian/imx8mp-smarc-hdmi.dtb | |
19 | - embedian/imx8mp-smarc-lvds.dtb | |
20 | - embedian/imx8mp-smarc-m7.dtb | |
21 | - " | |
22 | - | |
23 | -readonly G_GPU_IMX_VIV_PACKAGE_DIR="imx-gpu-viv-6.4.3.p1.4" | |
24 | -readonly G_GPU_IMX_VIV_SDK_PACKAGE_DIR="imx-gpu-sdk-6.4.0.p2.0" | |
25 | -readonly GST_MM_VERSION="MM_04.05.07_2011_L5.4.70" | |
26 | -readonly G_GST_PLUGINS_BAD_DIR="MM_04.05.07_2011_L5.4.70_U1" | |
27 | -readonly G2D_PACKAGE_DIR="imx-gpu-g2d-6.4.3.p1.4" | |
28 | -readonly IMX_FIRMWARE_VERSION="8.10" | |
29 | -readonly WESTON_PACKAGE_DIR="imx8m-vivante-g2d/weston-9" | |
30 | -readonly IMX_GPU_VIV_DEFAULT_WL_PACKAGE="imx-gpu-viv-core" | |
31 | - | |
32 | -readonly G_IMX_CODEC_DIR="imxcodec-4.5.7" | |
33 | -readonly G_IMX_PARSER_DIR="imxparser-4.5.7" | |
34 | -readonly G_IMX_VPU_HANTRO_DIR="imxvpuhantro-1.20.0" | |
35 | -readonly G_IMX_VPU_HANTRO_VC_DIR="imxvpuhantro-vc-1.3.0" | |
36 | -readonly G_IMX_VPU_WRAPPER_DIR="imxvpuwrap-4.5.7" | |
37 | -readonly G_IMX_NN_DIR="imx-nn-1.1.9" | |
38 | - | |
39 | -IMXGSTPLG="imx-gst1.0-plugin-mx8mp" | |
40 | -G2DPACKAGE="imx-gpu-g2d" | |
41 | -readonly G_NO_EXECSTACK="y" | |
42 | - | |
43 | -# Flashing variables | |
44 | -BOOTLOADER_OFFSET=32 | |
45 | - | |
46 | -BOOT_DTB="imx8mp-smarc.dtb" | |
47 | -DEFAULT_BOOT_DTB="imx8mp-smarc.dtb" | |
48 | - | |
49 | -readonly G_IMXBOOT_SRC_DIR="${DEF_SRC_DIR}/imx-mkimage" | |
50 | -readonly G_IMXBOOT_GIT="git://source.codeaurora.org/external/imx/imx-mkimage.git" | |
51 | -readonly G_IMXBOOT_BRACH="imx_5.4.70_2.3.0" | |
52 | -readonly G_IMXBOOT_REV="8947fea369ab3932259630232cfb9f87b8f9dda1" | |
53 | - | |
54 | -#imx-atf | |
55 | -readonly G_IMX_ATF_SRC_DIR="${DEF_SRC_DIR}/imx-atf" | |
56 | -readonly G_IMX_ATF_GIT="git://source.codeaurora.org/external/imx/imx-atf.git" | |
57 | -readonly G_IMX_ATF_BRANCH="imx_5.4.70_2.3.0" | |
58 | -readonly G_IMX_ATF_REV="f1d7187f261ebf4b8a2a70d638d4bfc0a9b26c29" | |
59 | - | |
60 | -HDMI=yes | |
61 | -TEE_LOAD_ADDR=0xbe000000 | |
62 | -ATF_LOAD_ADDR=0x00920000 | |
63 | -UBOOT_DTB="imx8mp-smarc.dtb" | |
64 | -IMXBOOT_TARGETS="flash_evk" | |
65 | -IMX_BOOT_TOOL_BL_BIN="bl31-imx8mp.bin" | |
66 | - | |
67 | -# default mirror | |
68 | -readonly DEF_DEBIAN_MIRROR="https://snapshot.debian.org/archive/debian/20210712T151030Z/" | |
69 | - | |
70 | -#rootfs package group control | |
71 | -#Default compilation of rootfs (Console Base + Multimedia + Graphics) | |
72 | -#set package group below from G_DEBIAN_DISTRO_FEATURE_XX="n" to disable it | |
73 | - | |
74 | -#Multimedia - GStreamer Packages - Set it to "n" if you want to disable it | |
75 | -readonly G_DEBIAN_DISTRO_FEATURE_MM="y" | |
76 | - | |
77 | -#Graphics - Full Graphics and GPU SDK - Set it to "n" if you want to disable it | |
78 | -readonly G_DEBIAN_DISTRO_FEATURE_GRAPHICS="y" | |
79 | - | |
80 | -#Machine Learning - Machine learning libraries - Set it to "n" if you want to disable it | |
81 | -readonly G_DEBIAN_DISTRO_FEATURE_ML="y" |
embedian/smarcimx8mp4g/weston.config
embedian/smarcimx8mp4g/weston.ini
1 | -[core] | |
2 | -#gbm-format=argb8888 | |
3 | -idle-time=0 | |
4 | -use-g2d=1 | |
5 | -xwayland=true | |
6 | -#drm-device=card0 | |
7 | -repaint-window=16 | |
8 | -#enable-overlay-view=1 | |
9 | - | |
10 | -#[shell] | |
11 | -#size=1920x1080 | |
12 | - | |
13 | -[libinput] | |
14 | -touchscreen_calibrator=true | |
15 | - | |
16 | -#[output] | |
17 | -#name=HDMI-A-1 | |
18 | -#mode=1920x1080@60 | |
19 | -#transform=rotate-90 | |
20 | - | |
21 | -#[output] | |
22 | -#name=HDMI-A-2 | |
23 | -#mode=off | |
24 | -# WIDTHxHEIGHT Resolution size width and height in pixels | |
25 | -# off Disables the output | |
26 | -# preferred Uses the preferred mode | |
27 | -# current Uses the current crt controller mode | |
28 | -#transform=rotate-90 | |
29 | - | |
30 | -[screen-share] | |
31 | -command=@bindir@/weston --backend=rdp-backend.so --shell=fullscreen-shell.so --no-clients-resize | |
32 | - | |
33 | -[shell] | |
34 | -background-image=/usr/share/images/desktop-base/default | |
35 | -background-type=scale-crop |
embedian/smarcimx8mp6g/01-eth.sh
embedian/smarcimx8mp6g/blacklist.conf
1 | -blacklist evbug |
embedian/smarcimx8mp6g/bluez5/files/audio.conf
embedian/smarcimx8mp6g/bluez5/files/main.conf
1 | -[General] | |
2 | - | |
3 | -# Default adaper name | |
4 | -# Defaults to 'BlueZ X.YZ' | |
5 | -Name = Variscite | |
6 | - | |
7 | -# Default device class. Only the major and minor device class bits are | |
8 | -# considered. Defaults to '0x000000'. | |
9 | -Class = 0x000100 | |
10 | - | |
11 | -# How long to stay in discoverable mode before going back to non-discoverable | |
12 | -# The value is in seconds. Default is 180, i.e. 3 minutes. | |
13 | -# 0 = disable timer, i.e. stay discoverable forever | |
14 | -#DiscoverableTimeout = 0 | |
15 | - | |
16 | -# How long to stay in pairable mode before going back to non-discoverable | |
17 | -# The value is in seconds. Default is 0. | |
18 | -# 0 = disable timer, i.e. stay pairable forever | |
19 | -#PairableTimeout = 0 | |
20 | - | |
21 | -# Automatic connection for bonded devices driven by platform/user events. | |
22 | -# If a platform plugin uses this mechanism, automatic connections will be | |
23 | -# enabled during the interval defined below. Initially, this feature | |
24 | -# intends to be used to establish connections to ATT channels. Default is 60. | |
25 | -#AutoConnectTimeout = 60 | |
26 | - | |
27 | -# Use vendor id source (assigner), vendor, product and version information for | |
28 | -# DID profile support. The values are separated by ":" and assigner, VID, PID | |
29 | -# and version. | |
30 | -# Possible vendor id source values: bluetooth, usb (defaults to usb) | |
31 | -#DeviceID = bluetooth:1234:5678:abcd | |
32 | - | |
33 | -# Do reverse service discovery for previously unknown devices that connect to | |
34 | -# us. This option is really only needed for qualification since the BITE tester | |
35 | -# doesn't like us doing reverse SDP for some test cases (though there could in | |
36 | -# theory be other useful purposes for this too). Defaults to 'true'. | |
37 | -#ReverseServiceDiscovery = true | |
38 | - | |
39 | -# Enable name resolving after inquiry. Set it to 'false' if you don't need | |
40 | -# remote devices name and want shorter discovery cycle. Defaults to 'true'. | |
41 | -#NameResolving = true | |
42 | - | |
43 | -# Enable runtime persistency of debug link keys. Default is false which | |
44 | -# makes debug link keys valid only for the duration of the connection | |
45 | -# that they were created for. | |
46 | -#DebugKeys = false | |
47 | - | |
48 | -# Restricts all controllers to the specified transport. Default value | |
49 | -# is "dual", i.e. both BR/EDR and LE enabled (when supported by the HW). | |
50 | -# Possible values: "dual", "bredr", "le" | |
51 | -#ControllerMode = dual | |
52 | - | |
53 | -# Enables Multi Profile Specification support. This allows to specify if | |
54 | -# system supports only Multiple Profiles Single Device (MPSD) configuration | |
55 | -# or both Multiple Profiles Single Device (MPSD) and Multiple Profiles Multiple | |
56 | -# Devices (MPMD) configurations. | |
57 | -# Possible values: "off", "single", "multiple" | |
58 | -#MultiProfile = off | |
59 | - | |
60 | -# Permanently enables the Fast Connectable setting for adapters that | |
61 | -# support it. When enabled other devices can connect faster to us, | |
62 | -# however the tradeoff is increased power consumptions. This feature | |
63 | -# will fully work only on kernel version 4.1 and newer. Defaults to | |
64 | -# 'false'. | |
65 | -#FastConnectable = false | |
66 | - | |
67 | -#[Policy] | |
68 | -# | |
69 | -# The ReconnectUUIDs defines the set of remote services that should try | |
70 | -# to be reconnected to in case of a link loss (link supervision | |
71 | -# timeout). The policy plugin should contain a sane set of values by | |
72 | -# default, but this list can be overridden here. By setting the list to | |
73 | -# empty the reconnection feature gets disabled. | |
74 | -#ReconnectUUIDs=00001112-0000-1000-8000-00805f9b34fb, 0000111f-0000-1000-8000-00805f9b34fb, 0000110a-0000-1000-8000-00805f9b34fb | |
75 | - | |
76 | -# ReconnectAttempts define the number of attempts to reconnect after a link | |
77 | -# lost. Setting the value to 0 disables reconnecting feature. | |
78 | -#ReconnectAttempts=7 | |
79 | - | |
80 | -# ReconnectIntervals define the set of intervals in seconds to use in between | |
81 | -# attempts. | |
82 | -# If the number of attempts defined in ReconnectAttempts is bigger than the | |
83 | -# set of intervals the last interval is repeated until the last attempt. | |
84 | -#ReconnectIntervals=1, 2, 4, 8, 16, 32, 64 | |
85 | - | |
86 | -# AutoEnable defines option to enable all controllers when they are found. | |
87 | -# This includes adapters present on start as well as adapters that are plugged | |
88 | -# in later on. Defaults to 'false'. | |
89 | -#AutoEnable=false |
embedian/smarcimx8mp6g/bluez5/files/obex.service
1 | -[Unit] | |
2 | -Description=Bluetooth OBEX service | |
3 | - | |
4 | -[Service] | |
5 | -Type=dbus | |
6 | -BusName=org.bluez.obex | |
7 | -Environment="DBUS_SESSION_BUS_ADDRESS=unix:path=/var/run/dbus/system_bus_socket" | |
8 | -ExecStartPre=/bin/mkdir -p /tmp/bluetooth-inbox | |
9 | -ExecStart=/usr/libexec/bluetooth/obexd -a -l -r /tmp/bluetooth-inbox | |
10 | - | |
11 | -[Install] | |
12 | -Alias=dbus-org.bluez.obex.service |
embedian/smarcimx8mp6g/bluez5/files/obexd.conf
1 | -<!-- This configuration file specifies the required security policies | |
2 | - for Obex core daemon to work. --> | |
3 | - | |
4 | -<!DOCTYPE busconfig PUBLIC "-//freedesktop/DTD D-BUS Configuration 1.0//EN" | |
5 | - "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> | |
6 | -<busconfig> | |
7 | - <policy user="root"> | |
8 | - <allow own="org.bluez.obex"/> | |
9 | - <allow send_destination="org.bluez.obex"/> | |
10 | - <allow send_interface="org.bluez.obex"/> | |
11 | - </policy> | |
12 | -</busconfig> |
embedian/smarcimx8mp6g/imx-boot-tools/imx-boot/imx-mkimage-imx8m-soc.mak-add-smarc-imx8mp-support.patch
1 | -From 7032ad5669be3ee54da01a864c9ea1d560f756e5 Mon Sep 17 00:00:00 2001 | |
2 | -From: Eric Lee <eric.lee@embedian.com> | |
3 | -Date: Sun, 31 Oct 2021 00:31:53 +0800 | |
4 | -Subject: [PATCH] imx-mkimage: imx8m: soc.mak: Add support for Embedian | |
5 | - | |
6 | ---- | |
7 | - iMX8M/soc.mak | 4 ++-- | |
8 | - 1 file changed, 2 insertions(+), 2 deletions(-) | |
9 | - | |
10 | -diff --git a/iMX8M/soc.mak b/iMX8M/soc.mak | |
11 | -index 30ecefd..c362034 100644 | |
12 | ---- a/iMX8M/soc.mak | |
13 | -+++ b/iMX8M/soc.mak | |
14 | -@@ -137,9 +137,9 @@ u-boot-atf-tee.bin: u-boot.bin bl31.bin tee.bin | |
15 | - clean: | |
16 | - @rm -f $(MKIMG) u-boot-atf.bin u-boot-atf-tee.bin u-boot-spl-ddr.bin u-boot.itb u-boot.its u-boot-ddr3l.itb u-boot-ddr3l.its u-boot-spl-ddr3l.bin u-boot-ddr4.itb u-boot-ddr4.its u-boot-spl-ddr4.bin u-boot-ddr4-evk.itb u-boot-ivt.itb u-boot-ddr4-evk.its $(OUTIMG) | |
17 | - | |
18 | --dtbs = evk.dtb | |
19 | -+dtbs = smarc.dtb | |
20 | - $(dtbs): | |
21 | -- ./$(DTB_PREPROC) $(PLAT)-evk.dtb $(dtbs) | |
22 | -+ ./$(DTB_PREPROC) $(PLAT)-smarc.dtb $(dtbs) | |
23 | - | |
24 | - u-boot.itb: $(dtbs) | |
25 | - ./$(PAD_IMAGE) tee.bin | |
26 | --- | |
27 | -2.17.1 |
embedian/smarcimx8mp6g/pulseaudio/default.pa
1 | -#!/usr/bin/pulseaudio -nF | |
2 | -# | |
3 | -# This file is part of PulseAudio. | |
4 | -# | |
5 | -# PulseAudio is free software; you can redistribute it and/or modify it | |
6 | -# under the terms of the GNU Lesser General Public License as published by | |
7 | -# the Free Software Foundation; either version 2 of the License, or | |
8 | -# (at your option) any later version. | |
9 | -# | |
10 | -# PulseAudio is distributed in the hope that it will be useful, but | |
11 | -# WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
13 | -# General Public License for more details. | |
14 | -# | |
15 | -# You should have received a copy of the GNU Lesser General Public License | |
16 | -# along with PulseAudio; if not, write to the Free Software Foundation, | |
17 | -# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. | |
18 | - | |
19 | -# This startup script is used only if PulseAudio is started per-user | |
20 | -# (i.e. not in system mode) | |
21 | - | |
22 | -.nofail | |
23 | - | |
24 | -### Load something into the sample cache | |
25 | -#load-sample-lazy x11-bell /usr/share/sounds/gtk-events/activate.wav | |
26 | -#load-sample-lazy pulse-hotplug /usr/share/sounds/startup3.wav | |
27 | -#load-sample-lazy pulse-coldplug /usr/share/sounds/startup3.wav | |
28 | -#load-sample-lazy pulse-access /usr/share/sounds/generic.wav | |
29 | - | |
30 | -.fail | |
31 | - | |
32 | -### Automatically restore the volume of streams and devices | |
33 | -load-module module-device-restore | |
34 | -load-module module-stream-restore | |
35 | -load-module module-card-restore | |
36 | - | |
37 | -### Automatically augment property information from .desktop files | |
38 | -### stored in /usr/share/application | |
39 | -load-module module-augment-properties | |
40 | - | |
41 | -### Should be after module-*-restore but before module-*-detect | |
42 | -load-module module-switch-on-port-available | |
43 | - | |
44 | -### Load audio drivers statically | |
45 | -### (it's probably better to not load these drivers manually, but instead | |
46 | -### use module-udev-detect -- see below -- for doing this automatically) | |
47 | -load-module module-alsa-sink | |
48 | -load-module module-alsa-source device=hw:0,0 | |
49 | -#load-module module-oss device="/dev/dsp" sink_name=output source_name=input | |
50 | -#load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input | |
51 | -#load-module module-null-sink | |
52 | -#load-module module-pipe-sink | |
53 | - | |
54 | -### Automatically load driver modules depending on the hardware available | |
55 | -#.ifexists module-udev-detect.so | |
56 | -#load-module module-udev-detect tsched=0 | |
57 | -#.else | |
58 | -### Use the static hardware detection module (for systems that lack udev support) | |
59 | -#load-module module-detect | |
60 | -#.endif | |
61 | - | |
62 | -### Automatically connect sink and source if JACK server is present | |
63 | -.ifexists module-jackdbus-detect.so | |
64 | -.nofail | |
65 | -load-module module-jackdbus-detect channels=2 | |
66 | -.fail | |
67 | -.endif | |
68 | - | |
69 | -### Automatically load driver modules for Bluetooth hardware | |
70 | -.ifexists module-bluetooth-policy.so | |
71 | -load-module module-bluetooth-policy | |
72 | -.endif | |
73 | - | |
74 | -.ifexists module-bluetooth-discover.so | |
75 | -load-module module-bluetooth-discover | |
76 | -.endif | |
77 | - | |
78 | -### Load several protocols | |
79 | -.ifexists module-esound-protocol-unix.so | |
80 | -load-module module-esound-protocol-unix | |
81 | -.endif | |
82 | -load-module module-native-protocol-unix | |
83 | - | |
84 | -### Network access (may be configured with paprefs, so leave this commented | |
85 | -### here if you plan to use paprefs) | |
86 | -#load-module module-esound-protocol-tcp | |
87 | -#load-module module-native-protocol-tcp | |
88 | -#load-module module-zeroconf-publish | |
89 | - | |
90 | -### Load the RTP receiver module (also configured via paprefs, see above) | |
91 | -#load-module module-rtp-recv | |
92 | - | |
93 | -### Load the RTP sender module (also configured via paprefs, see above) | |
94 | -#load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 sink_properties="device.description='RTP Multicast Sink'" | |
95 | -#load-module module-rtp-send source=rtp.monitor | |
96 | - | |
97 | -### Load additional modules from GConf settings. This can be configured with the paprefs tool. | |
98 | -### Please keep in mind that the modules configured by paprefs might conflict with manually | |
99 | -### loaded modules. | |
100 | -.ifexists module-gconf.so | |
101 | -.nofail | |
102 | -load-module module-gconf | |
103 | -.fail | |
104 | -.endif | |
105 | - | |
106 | -### Automatically restore the default sink/source when changed by the user | |
107 | -### during runtime | |
108 | -### NOTE: This should be loaded as early as possible so that subsequent modules | |
109 | -### that look up the default sink/source get the right value | |
110 | -load-module module-default-device-restore | |
111 | - | |
112 | -### Automatically move streams to the default sink if the sink they are | |
113 | -### connected to dies, similar for sources | |
114 | -load-module module-rescue-streams | |
115 | - | |
116 | -### Make sure we always have a sink around, even if it is a null sink. | |
117 | -load-module module-always-sink | |
118 | - | |
119 | -### Honour intended role device property | |
120 | -load-module module-intended-roles | |
121 | - | |
122 | -### Automatically suspend sinks/sources that become idle for too long | |
123 | -load-module module-suspend-on-idle | |
124 | - | |
125 | -### If autoexit on idle is enabled we want to make sure we only quit | |
126 | -### when no local session needs us anymore. | |
127 | -.ifexists module-console-kit.so | |
128 | -load-module module-console-kit | |
129 | -.endif | |
130 | -.ifexists module-systemd-login.so | |
131 | -load-module module-systemd-login | |
132 | -.endif | |
133 | - | |
134 | -### Enable positioned event sounds | |
135 | -load-module module-position-event-sounds | |
136 | - | |
137 | -### Cork music/video streams when a phone stream is active | |
138 | -load-module module-role-cork | |
139 | - | |
140 | -### Modules to allow autoloading of filters (such as echo cancellation) | |
141 | -### on demand. module-filter-heuristics tries to determine what filters | |
142 | -### make sense, and module-filter-apply does the heavy-lifting of | |
143 | -### loading modules and rerouting streams. | |
144 | -load-module module-filter-heuristics | |
145 | -load-module module-filter-apply | |
146 | - | |
147 | -### Load DBus protocol | |
148 | -.ifexists module-dbus-protocol.so | |
149 | -load-module module-dbus-protocol | |
150 | -.endif | |
151 | - | |
152 | -# X11 modules should not be started from default.pa so that one daemon | |
153 | -# can be shared by multiple sessions. | |
154 | - | |
155 | -### Load X11 bell module | |
156 | -#load-module module-x11-bell sample=bell-windowing-system | |
157 | - | |
158 | -### Register ourselves in the X11 session manager | |
159 | -#load-module module-x11-xsmp | |
160 | - | |
161 | -### Publish connection data in the X11 root window | |
162 | -#.ifexists module-x11-publish.so | |
163 | -#.nofail | |
164 | -#load-module module-x11-publish | |
165 | -#.fail | |
166 | -#.endif | |
167 | - | |
168 | -### Make some devices default | |
169 | -#set-default-sink output | |
170 | -#set-default-source input |
embedian/smarcimx8mp6g/pulseaudio/pulseaudio-bluetooth.conf
embedian/smarcimx8mp6g/pulseaudio/pulseaudio.service
embedian/smarcimx8mp6g/pulseaudio/system.pa
1 | -#!/usr/bin/pulseaudio -nF | |
2 | -# | |
3 | -# This file is part of PulseAudio. | |
4 | -# | |
5 | -# PulseAudio is free software; you can redistribute it and/or modify it | |
6 | -# under the terms of the GNU Lesser General Public License as published by | |
7 | -# the Free Software Foundation; either version 2 of the License, or | |
8 | -# (at your option) any later version. | |
9 | -# | |
10 | -# PulseAudio is distributed in the hope that it will be useful, but | |
11 | -# WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
13 | -# General Public License for more details. | |
14 | -# | |
15 | -# You should have received a copy of the GNU Lesser General Public License | |
16 | -# along with PulseAudio; if not, write to the Free Software Foundation, | |
17 | -# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. | |
18 | - | |
19 | -# This startup script is used only if PulseAudio is started per-user | |
20 | -# (i.e. not in system mode) | |
21 | - | |
22 | -.nofail | |
23 | - | |
24 | -### Load something into the sample cache | |
25 | -#load-sample-lazy x11-bell /usr/share/sounds/gtk-events/activate.wav | |
26 | -#load-sample-lazy pulse-hotplug /usr/share/sounds/startup3.wav | |
27 | -#load-sample-lazy pulse-coldplug /usr/share/sounds/startup3.wav | |
28 | -#load-sample-lazy pulse-access /usr/share/sounds/generic.wav | |
29 | - | |
30 | -.fail | |
31 | - | |
32 | -### Automatically restore the volume of streams and devices | |
33 | -load-module module-device-restore | |
34 | -load-module module-stream-restore | |
35 | -load-module module-card-restore | |
36 | - | |
37 | -### Automatically augment property information from .desktop files | |
38 | -### stored in /usr/share/application | |
39 | -#load-module module-augment-properties | |
40 | - | |
41 | -### Should be after module-*-restore but before module-*-detect | |
42 | -load-module module-switch-on-port-available | |
43 | - | |
44 | -### Load audio drivers statically | |
45 | -### (it's probably better to not load these drivers manually, but instead | |
46 | -### use module-udev-detect -- see below -- for doing this automatically) | |
47 | -load-module module-alsa-sink | |
48 | -load-module module-alsa-source device=hw:0,0 | |
49 | -#load-module module-oss device="/dev/dsp" sink_name=output source_name=input | |
50 | -#load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input | |
51 | -#load-module module-null-sink | |
52 | -#load-module module-pipe-sink | |
53 | - | |
54 | -### Load driver modules for Bluetooth hardware | |
55 | -.ifexists module-bluetooth-policy.so | |
56 | -load-module module-bluetooth-policy | |
57 | -.endif | |
58 | - | |
59 | -.ifexists module-bluetooth-discover.so | |
60 | -load-module module-bluetooth-discover | |
61 | -.endif | |
62 | - | |
63 | -### Automatically load driver modules depending on the hardware available | |
64 | -#.ifexists module-udev-detect.so | |
65 | -#load-module module-udev-detect tsched=0 | |
66 | -#.else | |
67 | -### Use the static hardware detection module (for systems that lack udev support) | |
68 | -#load-module module-detect | |
69 | -#.endif | |
70 | - | |
71 | -### Automatically connect sink and source if JACK server is present | |
72 | -.ifexists module-jackdbus-detect.so | |
73 | -.nofail | |
74 | -load-module module-jackdbus-detect channels=2 | |
75 | -.fail | |
76 | -.endif | |
77 | - | |
78 | -### Load several protocols | |
79 | -.ifexists module-esound-protocol-unix.so | |
80 | -load-module module-esound-protocol-unix | |
81 | -.endif | |
82 | -load-module module-native-protocol-unix auth-anonymous=1 | |
83 | - | |
84 | -### Network access (may be configured with paprefs, so leave this commented | |
85 | -### here if you plan to use paprefs) | |
86 | -#load-module module-esound-protocol-tcp | |
87 | -#load-module module-native-protocol-tcp | |
88 | -#load-module module-zeroconf-publish | |
89 | - | |
90 | -### Load the RTP receiver module (also configured via paprefs, see above) | |
91 | -#load-module module-rtp-recv | |
92 | - | |
93 | -### Load the RTP sender module (also configured via paprefs, see above) | |
94 | -#load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 sink_properties="device.description='RTP Multicast Sink'" | |
95 | -#load-module module-rtp-send source=rtp.monitor | |
96 | - | |
97 | -### Load additional modules from GConf settings. This can be configured with the paprefs tool. | |
98 | -### Please keep in mind that the modules configured by paprefs might conflict with manually | |
99 | -### loaded modules. | |
100 | -#.ifexists module-gconf.so | |
101 | -#.nofail | |
102 | -#load-module module-gconf | |
103 | -#.fail | |
104 | -#.endif | |
105 | - | |
106 | -### Automatically restore the default sink/source when changed by the user | |
107 | -### during runtime | |
108 | -### NOTE: This should be loaded as early as possible so that subsequent modules | |
109 | -### that look up the default sink/source get the right value | |
110 | -load-module module-default-device-restore | |
111 | - | |
112 | -### Automatically move streams to the default sink if the sink they are | |
113 | -### connected to dies, similar for sources | |
114 | -load-module module-rescue-streams | |
115 | - | |
116 | -### Make sure we always have a sink around, even if it is a null sink. | |
117 | -load-module module-always-sink | |
118 | - | |
119 | -### Honour intended role device property | |
120 | -load-module module-intended-roles | |
121 | - | |
122 | -### Automatically suspend sinks/sources that become idle for too long | |
123 | -load-module module-suspend-on-idle | |
124 | - | |
125 | -### If autoexit on idle is enabled we want to make sure we only quit | |
126 | -### when no local session needs us anymore. | |
127 | -#.ifexists module-console-kit.so | |
128 | -#load-module module-console-kit | |
129 | -#.endif | |
130 | -#.ifexists module-systemd-login.so | |
131 | -#load-module module-systemd-login | |
132 | -#.endif | |
133 | - | |
134 | -### Enable positioned event sounds | |
135 | -load-module module-position-event-sounds | |
136 | - | |
137 | -### Cork music/video streams when a phone stream is active | |
138 | -load-module module-role-cork | |
139 | - | |
140 | -### Modules to allow autoloading of filters (such as echo cancellation) | |
141 | -### on demand. module-filter-heuristics tries to determine what filters | |
142 | -### make sense, and module-filter-apply does the heavy-lifting of | |
143 | -### loading modules and rerouting streams. | |
144 | -load-module module-filter-heuristics | |
145 | -load-module module-filter-apply | |
146 | - | |
147 | -### Load DBus protocol | |
148 | -.ifexists module-dbus-protocol.so | |
149 | -load-module module-dbus-protocol | |
150 | -.endif | |
151 | - | |
152 | -# X11 modules should not be started from default.pa so that one daemon | |
153 | -# can be shared by multiple sessions. | |
154 | - | |
155 | -### Load X11 bell module | |
156 | -#load-module module-x11-bell sample=bell-windowing-system | |
157 | - | |
158 | -### Register ourselves in the X11 session manager | |
159 | -#load-module module-x11-xsmp | |
160 | - | |
161 | -### Publish connection data in the X11 root window | |
162 | -#.ifexists module-x11-publish.so | |
163 | -#.nofail | |
164 | -#load-module module-x11-publish | |
165 | -#.fail | |
166 | -#.endif | |
167 | - | |
168 | -### Make some devices default | |
169 | -#set-default-sink output | |
170 | -#set-default-source input |
embedian/smarcimx8mp6g/smarcimx8mp6g.sh
1 | -readonly ARCH_CPU="64BIT" | |
2 | - | |
3 | -# U-Boot | |
4 | -readonly G_UBOOT_SRC_DIR="${DEF_SRC_DIR}/uboot" | |
5 | -readonly G_UBOOT_GIT="git@git.embedian.com:developer/smarc-t335x-uboot.git" | |
6 | -readonly G_UBOOT_BRANCH="smarc_8mp_lf_v2020.04" | |
7 | -readonly G_UBOOT_REV="57e535649cba0900d49c3a06ddb7b3c15b900255" | |
8 | -G_UBOOT_DEF_CONFIG_MMC="smarcimx8mp_6g_ser3_defconfig" | |
9 | -readonly G_UBOOT_NAME_FOR_EMMC='imx-boot-sd.bin' | |
10 | - | |
11 | -# Linux kernel | |
12 | -readonly G_LINUX_KERNEL_SRC_DIR="${DEF_SRC_DIR}/kernel" | |
13 | -readonly G_LINUX_KERNEL_GIT="git@git.embedian.com:developer/smarc-fsl-linux-kernel.git" | |
14 | -readonly G_LINUX_KERNEL_BRANCH="smarc_8mp_lf-5.10.y" | |
15 | -readonly G_LINUX_KERNEL_REV="2471bf6c1fd105e00eff834b88a5b43643187fdb" | |
16 | -readonly G_LINUX_KERNEL_DEF_CONFIG='smarcimx8mp_defconfig' | |
17 | -G_LINUX_DTB="embedian/imx8mp-smarc.dtb | |
18 | - embedian/imx8mp-smarc-hdmi.dtb | |
19 | - embedian/imx8mp-smarc-lvds.dtb | |
20 | - embedian/imx8mp-smarc-m7.dtb | |
21 | - " | |
22 | - | |
23 | -readonly G_GPU_IMX_VIV_PACKAGE_DIR="imx-gpu-viv-6.4.3.p1.4" | |
24 | -readonly G_GPU_IMX_VIV_SDK_PACKAGE_DIR="imx-gpu-sdk-6.4.0.p2.0" | |
25 | -readonly GST_MM_VERSION="MM_04.05.07_2011_L5.4.70" | |
26 | -readonly G_GST_PLUGINS_BAD_DIR="MM_04.05.07_2011_L5.4.70_U1" | |
27 | -readonly G2D_PACKAGE_DIR="imx-gpu-g2d-6.4.3.p1.4" | |
28 | -readonly IMX_FIRMWARE_VERSION="8.10" | |
29 | -readonly WESTON_PACKAGE_DIR="imx8m-vivante-g2d/weston-9" | |
30 | -readonly IMX_GPU_VIV_DEFAULT_WL_PACKAGE="imx-gpu-viv-core" | |
31 | - | |
32 | -readonly G_IMX_CODEC_DIR="imxcodec-4.5.7" | |
33 | -readonly G_IMX_PARSER_DIR="imxparser-4.5.7" | |
34 | -readonly G_IMX_VPU_HANTRO_DIR="imxvpuhantro-1.20.0" | |
35 | -readonly G_IMX_VPU_HANTRO_VC_DIR="imxvpuhantro-vc-1.3.0" | |
36 | -readonly G_IMX_VPU_WRAPPER_DIR="imxvpuwrap-4.5.7" | |
37 | -readonly G_IMX_NN_DIR="imx-nn-1.1.9" | |
38 | - | |
39 | -IMXGSTPLG="imx-gst1.0-plugin-mx8mp" | |
40 | -G2DPACKAGE="imx-gpu-g2d" | |
41 | -readonly G_NO_EXECSTACK="y" | |
42 | - | |
43 | -# Flashing variables | |
44 | -BOOTLOADER_OFFSET=32 | |
45 | - | |
46 | -BOOT_DTB="imx8mp-smarc.dtb" | |
47 | -DEFAULT_BOOT_DTB="imx8mp-smarc.dtb" | |
48 | - | |
49 | -readonly G_IMXBOOT_SRC_DIR="${DEF_SRC_DIR}/imx-mkimage" | |
50 | -readonly G_IMXBOOT_GIT="git://source.codeaurora.org/external/imx/imx-mkimage.git" | |
51 | -readonly G_IMXBOOT_BRACH="imx_5.4.70_2.3.0" | |
52 | -readonly G_IMXBOOT_REV="8947fea369ab3932259630232cfb9f87b8f9dda1" | |
53 | - | |
54 | -#imx-atf | |
55 | -readonly G_IMX_ATF_SRC_DIR="${DEF_SRC_DIR}/imx-atf" | |
56 | -readonly G_IMX_ATF_GIT="git://source.codeaurora.org/external/imx/imx-atf.git" | |
57 | -readonly G_IMX_ATF_BRANCH="imx_5.4.70_2.3.0" | |
58 | -readonly G_IMX_ATF_REV="f1d7187f261ebf4b8a2a70d638d4bfc0a9b26c29" | |
59 | - | |
60 | -HDMI=yes | |
61 | -TEE_LOAD_ADDR=0xbe000000 | |
62 | -ATF_LOAD_ADDR=0x00920000 | |
63 | -UBOOT_DTB="imx8mp-smarc.dtb" | |
64 | -IMXBOOT_TARGETS="flash_evk" | |
65 | -IMX_BOOT_TOOL_BL_BIN="bl31-imx8mp.bin" | |
66 | - | |
67 | -# default mirror | |
68 | -readonly DEF_DEBIAN_MIRROR="https://snapshot.debian.org/archive/debian/20210712T151030Z/" | |
69 | - | |
70 | -#rootfs package group control | |
71 | -#Default compilation of rootfs (Console Base + Multimedia + Graphics) | |
72 | -#set package group below from G_DEBIAN_DISTRO_FEATURE_XX="n" to disable it | |
73 | - | |
74 | -#Multimedia - GStreamer Packages - Set it to "n" if you want to disable it | |
75 | -readonly G_DEBIAN_DISTRO_FEATURE_MM="y" | |
76 | - | |
77 | -#Graphics - Full Graphics and GPU SDK - Set it to "n" if you want to disable it | |
78 | -readonly G_DEBIAN_DISTRO_FEATURE_GRAPHICS="y" | |
79 | - | |
80 | -#Machine Learning - Machine learning libraries - Set it to "n" if you want to disable it | |
81 | -readonly G_DEBIAN_DISTRO_FEATURE_ML="y" |
embedian/smarcimx8mp6g/weston.config
embedian/smarcimx8mp6g/weston.ini
1 | -[core] | |
2 | -#gbm-format=argb8888 | |
3 | -idle-time=0 | |
4 | -use-g2d=1 | |
5 | -xwayland=true | |
6 | -#drm-device=card0 | |
7 | -repaint-window=16 | |
8 | -#enable-overlay-view=1 | |
9 | - | |
10 | -#[shell] | |
11 | -#size=1920x1080 | |
12 | - | |
13 | -[libinput] | |
14 | -touchscreen_calibrator=true | |
15 | - | |
16 | -#[output] | |
17 | -#name=HDMI-A-1 | |
18 | -#mode=1920x1080@60 | |
19 | -#transform=rotate-90 | |
20 | - | |
21 | -#[output] | |
22 | -#name=HDMI-A-2 | |
23 | -#mode=off | |
24 | -# WIDTHxHEIGHT Resolution size width and height in pixels | |
25 | -# off Disables the output | |
26 | -# preferred Uses the preferred mode | |
27 | -# current Uses the current crt controller mode | |
28 | -#transform=rotate-90 | |
29 | - | |
30 | -[screen-share] | |
31 | -command=@bindir@/weston --backend=rdp-backend.so --shell=fullscreen-shell.so --no-clients-resize | |
32 | - | |
33 | -[shell] | |
34 | -background-image=/usr/share/images/desktop-base/default | |
35 | -background-type=scale-crop |
embedian/smarcimx8mq2g/smarcimx8mq2g.sh
... | ... | @@ -4,7 +4,7 @@ |
4 | 4 | readonly G_UBOOT_SRC_DIR="${DEF_SRC_DIR}/uboot" |
5 | 5 | readonly G_UBOOT_GIT="git@git.embedian.com:developer/smarc-t335x-uboot.git" |
6 | 6 | readonly G_UBOOT_BRANCH="smarc_8mq_lf_v2020.04" |
7 | -readonly G_UBOOT_REV="312ec620f3557f27301ec51dec03d4c4154d161e" | |
7 | +readonly G_UBOOT_REV="3f74d2934ffabab54e83ef0afcdb9dfb0a31a3da" | |
8 | 8 | G_UBOOT_DEF_CONFIG_MMC="smarcimx8mq_2g_ser3_defconfig" |
9 | 9 | readonly G_UBOOT_NAME_FOR_EMMC='imx-boot-sd.bin' |
10 | 10 | readonly G_UBOOT_NAME_FOR_EMMC_DP='imx-boot-sd-dp.bin' |
... | ... | @@ -13,7 +13,7 @@ |
13 | 13 | readonly G_LINUX_KERNEL_SRC_DIR="${DEF_SRC_DIR}/kernel" |
14 | 14 | readonly G_LINUX_KERNEL_GIT="git@git.embedian.com:developer/smarc-fsl-linux-kernel.git" |
15 | 15 | readonly G_LINUX_KERNEL_BRANCH="smarc_8mq_lf-5.10.y" |
16 | -readonly G_LINUX_KERNEL_REV="cc6b6434fb239ffa20eb087bdeb5070282b50810" | |
16 | +readonly G_LINUX_KERNEL_REV="c4aa46bd382d293fac44fd4bee31f698ebe7b940" | |
17 | 17 | readonly G_LINUX_KERNEL_DEF_CONFIG='smarcimx8mq_defconfig' |
18 | 18 | G_LINUX_DTB="embedian/imx8mq-smarc.dtb |
19 | 19 | embedian/imx8mq-smarc-hdmi.dtb |
20 | 20 | |
... | ... | @@ -52,13 +52,13 @@ |
52 | 52 | DEFAULT_BOOT_DTB="imx8mq-smarc.dtb" |
53 | 53 | |
54 | 54 | readonly G_IMXBOOT_SRC_DIR="${DEF_SRC_DIR}/imx-mkimage" |
55 | -readonly G_IMXBOOT_GIT="git://source.codeaurora.org/external/imx/imx-mkimage.git" | |
55 | +readonly G_IMXBOOT_GIT="https://github.com/nxp-imx/imx-mkimage.git" | |
56 | 56 | readonly G_IMXBOOT_BRACH="imx_5.4.70_2.3.0" |
57 | 57 | readonly G_IMXBOOT_REV="8947fea369ab3932259630232cfb9f87b8f9dda1" |
58 | 58 | |
59 | 59 | #imx-atf |
60 | 60 | readonly G_IMX_ATF_SRC_DIR="${DEF_SRC_DIR}/imx-atf" |
61 | -readonly G_IMX_ATF_GIT="git://source.codeaurora.org/external/imx/imx-atf.git" | |
61 | +readonly G_IMX_ATF_GIT="https://github.com/nxp-imx/imx-atf.git" | |
62 | 62 | readonly G_IMX_ATF_BRANCH="imx_5.4.70_2.3.0" |
63 | 63 | readonly G_IMX_ATF_REV="f1d7187f261ebf4b8a2a70d638d4bfc0a9b26c29" |
64 | 64 | |
... | ... | @@ -70,7 +70,7 @@ |
70 | 70 | IMX_BOOT_TOOL_BL_BIN="bl31-imx8mq.bin" |
71 | 71 | |
72 | 72 | # default mirror |
73 | -readonly DEF_DEBIAN_MIRROR="https://snapshot.debian.org/archive/debian/20210712T151030Z/" | |
73 | +readonly DEF_DEBIAN_MIRROR="https://debian.osuosl.org/debian/" | |
74 | 74 | |
75 | 75 | #rootfs package group control |
76 | 76 | #Default compilation of rootfs (Console Base + Multimedia + Graphics) |
embedian/smarcimx8mq4g/smarcimx8mq4g.sh
... | ... | @@ -4,7 +4,7 @@ |
4 | 4 | readonly G_UBOOT_SRC_DIR="${DEF_SRC_DIR}/uboot" |
5 | 5 | readonly G_UBOOT_GIT="git@git.embedian.com:developer/smarc-t335x-uboot.git" |
6 | 6 | readonly G_UBOOT_BRANCH="smarc_8mq_lf_v2020.04" |
7 | -readonly G_UBOOT_REV="312ec620f3557f27301ec51dec03d4c4154d161e" | |
7 | +readonly G_UBOOT_REV="3f74d2934ffabab54e83ef0afcdb9dfb0a31a3da" | |
8 | 8 | G_UBOOT_DEF_CONFIG_MMC="smarcimx8mq_4g_ser3_defconfig" |
9 | 9 | readonly G_UBOOT_NAME_FOR_EMMC='imx-boot-sd.bin' |
10 | 10 | readonly G_UBOOT_NAME_FOR_EMMC_DP='imx-boot-sd-dp.bin' |
... | ... | @@ -13,7 +13,7 @@ |
13 | 13 | readonly G_LINUX_KERNEL_SRC_DIR="${DEF_SRC_DIR}/kernel" |
14 | 14 | readonly G_LINUX_KERNEL_GIT="git@git.embedian.com:developer/smarc-fsl-linux-kernel.git" |
15 | 15 | readonly G_LINUX_KERNEL_BRANCH="smarc_8mq_lf-5.10.y" |
16 | -readonly G_LINUX_KERNEL_REV="cc6b6434fb239ffa20eb087bdeb5070282b50810" | |
16 | +readonly G_LINUX_KERNEL_REV="c4aa46bd382d293fac44fd4bee31f698ebe7b940" | |
17 | 17 | readonly G_LINUX_KERNEL_DEF_CONFIG='smarcimx8mq_defconfig' |
18 | 18 | G_LINUX_DTB="embedian/imx8mq-smarc.dtb |
19 | 19 | embedian/imx8mq-smarc-hdmi.dtb |
20 | 20 | |
... | ... | @@ -52,13 +52,13 @@ |
52 | 52 | DEFAULT_BOOT_DTB="imx8mq-smarc.dtb" |
53 | 53 | |
54 | 54 | readonly G_IMXBOOT_SRC_DIR="${DEF_SRC_DIR}/imx-mkimage" |
55 | -readonly G_IMXBOOT_GIT="git://source.codeaurora.org/external/imx/imx-mkimage.git" | |
55 | +readonly G_IMXBOOT_GIT="https://github.com/nxp-imx/imx-mkimage.git" | |
56 | 56 | readonly G_IMXBOOT_BRACH="imx_5.4.70_2.3.0" |
57 | 57 | readonly G_IMXBOOT_REV="8947fea369ab3932259630232cfb9f87b8f9dda1" |
58 | 58 | |
59 | 59 | #imx-atf |
60 | 60 | readonly G_IMX_ATF_SRC_DIR="${DEF_SRC_DIR}/imx-atf" |
61 | -readonly G_IMX_ATF_GIT="git://source.codeaurora.org/external/imx/imx-atf.git" | |
61 | +readonly G_IMX_ATF_GIT="https://github.com/nxp-imx/imx-atf.git" | |
62 | 62 | readonly G_IMX_ATF_BRANCH="imx_5.4.70_2.3.0" |
63 | 63 | readonly G_IMX_ATF_REV="f1d7187f261ebf4b8a2a70d638d4bfc0a9b26c29" |
64 | 64 | |
... | ... | @@ -70,7 +70,7 @@ |
70 | 70 | IMX_BOOT_TOOL_BL_BIN="bl31-imx8mq.bin" |
71 | 71 | |
72 | 72 | # default mirror |
73 | -readonly DEF_DEBIAN_MIRROR="https://snapshot.debian.org/archive/debian/20210712T151030Z/" | |
73 | +readonly DEF_DEBIAN_MIRROR="https://debian.osuosl.org/debian/" | |
74 | 74 | |
75 | 75 | #rootfs package group control |
76 | 76 | #Default compilation of rootfs (Console Base + Multimedia + Graphics) |
embedian/weston_rootfs.sh
... | ... | @@ -821,7 +821,8 @@ |
821 | 821 | cp -v ${LPARAM_OUTPUT_DIR}/imx8mq-smarc-${DISPLAY}.dtb ${P1_MOUNT_DIR}/dtbs/imx8mq-smarc.dtb |
822 | 822 | cp -v ${G_EMBEDIAN_PATH}/uEnv_8mq.txt ${P1_MOUNT_DIR}/uEnv.txt |
823 | 823 | fi |
824 | - if [ "${MACHINE}" = "smarcimx8mp4g" ] || | |
824 | + if [ "${MACHINE}" = "smarcimx8mp2g" ] || \ | |
825 | + [ "${MACHINE}" = "smarcimx8mp4g" ] || \ | |
825 | 826 | [ "${MACHINE}" = "smarcimx8mp6g" ]; then |
826 | 827 | cp -v ${LPARAM_OUTPUT_DIR}/imx8mp-smarc-${DISPLAY}.dtb ${P1_MOUNT_DIR}/dtbs/imx8mp-smarc.dtb |
827 | 828 | cp -v ${G_EMBEDIAN_PATH}/uEnv_8mp.txt ${P1_MOUNT_DIR}/uEnv.txt |
... | ... | @@ -840,7 +841,8 @@ |
840 | 841 | ${P2_MOUNT_DIR}/${DEBIAN_IMAGES_TO_ROOTFS_POINT}/${DEF_ROOTFS_TARBALL_NAME} |
841 | 842 | |
842 | 843 | pr_info "Copying MMC U-Boot to /${DEBIAN_IMAGES_TO_ROOTFS_POINT}" |
843 | - if [ "${MACHINE}" = "smarcimx8mp4g" ] || \ | |
844 | + if [ "${MACHINE}" = "smarcimx8mp2g" ] || \ | |
845 | + [ "${MACHINE}" = "smarcimx8mp4g" ] || \ | |
844 | 846 | [ "${MACHINE}" = "smarcimx8mp6g" ]; then |
845 | 847 | cp ${LPARAM_OUTPUT_DIR}/imx-boot-* \ |
846 | 848 | ${P2_MOUNT_DIR}/${DEBIAN_IMAGES_TO_ROOTFS_POINT}/ |
... | ... | @@ -858,7 +860,8 @@ |
858 | 860 | cp ${G_EMBEDIAN_PATH}/uEnv_emmc_8mq.txt \ |
859 | 861 | ${P2_MOUNT_DIR}/${DEBIAN_IMAGES_TO_ROOTFS_POINT}/uEnv.txt |
860 | 862 | fi |
861 | - if [ "${MACHINE}" = "smarcimx8mp4g" ] || | |
863 | + if [ "${MACHINE}" = "smarcimx8mp2g" ] || \ | |
864 | + [ "${MACHINE}" = "smarcimx8mp4g" ] || \ | |
862 | 865 | [ "${MACHINE}" = "smarcimx8mp6g" ]; then |
863 | 866 | cp ${G_EMBEDIAN_PATH}/uEnv_emmc_8mp.txt \ |
864 | 867 | ${P2_MOUNT_DIR}/${DEBIAN_IMAGES_TO_ROOTFS_POINT}/uEnv.txt |