diff options
Diffstat (limited to 'recipes-bsp')
33 files changed, 8 insertions, 2017 deletions
diff --git a/recipes-bsp/alsa-state/alsa-state/apalis-t30/asound.state b/recipes-bsp/alsa-state/alsa-state/apalis-t30/asound.state deleted file mode 100644 index 2ef9ce4..0000000 --- a/recipes-bsp/alsa-state/alsa-state/apalis-t30/asound.state +++ /dev/null @@ -1,143 +0,0 @@ -state.apalist30sgtl50 { - control.1 { - iface MIXER - name 'PCM Playback Volume' - value.0 126 - value.1 126 - comment { - access 'read write' - type INTEGER - count 2 - range '0 - 192' - } - } - control.2 { - iface MIXER - name 'Capture Volume' - value.0 12 - value.1 12 - comment { - access 'read write' - type INTEGER - count 2 - range '0 - 15' - } - } - control.3 { - iface MIXER - name 'Capture Attenuate Switch (-6dB)' - value true - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.4 { - iface MIXER - name 'Capture ZC Switch' - value true - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.5 { - iface MIXER - name 'Headphone Playback Volume' - value.0 127 - value.1 127 - comment { - access 'read write' - type INTEGER - count 2 - range '0 - 127' - dbmin -5150 - dbmax 1200 - dbvalue.0 1200 - dbvalue.1 1200 - } - } - control.6 { - iface MIXER - name 'Headphone Playback ZC Switch' - value true - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.7 { - iface MIXER - name 'Mic Volume' - value 2 - comment { - access 'read write' - type INTEGER - count 1 - range '0 - 3' - dbmin 0 - dbmax 4000 - dbvalue.0 3000 - } - } - control.8 { - iface MIXER - name 'Headphone Mux' - value DAC - comment { - access 'read write' - type ENUMERATED - count 1 - item.0 DAC - item.1 LINE_IN - } - } - control.9 { - iface MIXER - name 'Capture Mux' - value MIC_IN - comment { - access 'read write' - type ENUMERATED - count 1 - item.0 MIC_IN - item.1 LINE_IN - } - } - control.10 { - iface MIXER - name 'AVP alsa device select' - value 1 - comment { - access 'read write' - type INTEGER - count 1 - range '0 - 6' - } - } - control.11 { - iface MIXER - name 'AVP DMA channel id' - value -1 - comment { - access 'read write' - type INTEGER - count 1 - range '0 - 32' - } - } - control.12 { - iface MIXER - name 'AVP DMA address' - value 0 - comment { - access 'read write' - type INTEGER - count 1 - range '0 - -1' - } - } -} diff --git a/recipes-bsp/alsa-state/alsa-state/colibri-t20/asound.state b/recipes-bsp/alsa-state/alsa-state/colibri-t20/asound.state deleted file mode 100644 index 7d61d15..0000000 --- a/recipes-bsp/alsa-state/alsa-state/colibri-t20/asound.state +++ /dev/null @@ -1,922 +0,0 @@ -state.colibrit20wm971 { - control.1 { - iface MIXER - name 'Speaker Playback Volume' - value.0 24 - value.1 24 - comment { - access 'read write' - type INTEGER - count 2 - range '0 - 31' - } - } - control.2 { - iface MIXER - name 'Speaker Playback Switch' - value true - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.3 { - iface MIXER - name 'Headphone Playback Volume' - value.0 24 - value.1 24 - comment { - access 'read write' - type INTEGER - count 2 - range '0 - 31' - } - } - control.4 { - iface MIXER - name 'Headphone Playback Switch' - value true - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.5 { - iface MIXER - name 'PCM Playback Volume' - value.0 24 - value.1 24 - comment { - access 'read write' - type INTEGER - count 2 - range '0 - 31' - } - } - control.6 { - iface MIXER - name 'Speaker Playback ZC Switch' - value false - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.7 { - iface MIXER - name 'Speaker Playback Invert Switch' - value false - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.8 { - iface MIXER - name 'Headphone Playback ZC Switch' - value true - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.9 { - iface MIXER - name 'Mono Playback ZC Switch' - value false - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.10 { - iface MIXER - name 'Mono Playback Volume' - value 24 - comment { - access 'read write' - type INTEGER - count 1 - range '0 - 31' - } - } - control.11 { - iface MIXER - name 'Mono Playback Switch' - value true - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.12 { - iface MIXER - name 'ALC Target Volume' - value 11 - comment { - access 'read write' - type INTEGER - count 1 - range '0 - 15' - } - } - control.13 { - iface MIXER - name 'ALC Hold Time' - value 0 - comment { - access 'read write' - type INTEGER - count 1 - range '0 - 15' - } - } - control.14 { - iface MIXER - name 'ALC Decay Time' - value 3 - comment { - access 'read write' - type INTEGER - count 1 - range '0 - 15' - } - } - control.15 { - iface MIXER - name 'ALC Attack Time' - value 2 - comment { - access 'read write' - type INTEGER - count 1 - range '0 - 15' - } - } - control.16 { - iface MIXER - name 'ALC Function' - value None - comment { - access 'read write' - type ENUMERATED - count 1 - item.0 None - item.1 Left - item.2 Right - item.3 Stereo - } - } - control.17 { - iface MIXER - name 'ALC Max Volume' - value 7 - comment { - access 'read write' - type INTEGER - count 1 - range '0 - 7' - } - } - control.18 { - iface MIXER - name 'ALC ZC Timeout' - value 0 - comment { - access 'read write' - type INTEGER - count 1 - range '0 - 3' - } - } - control.19 { - iface MIXER - name 'ALC ZC Switch' - value false - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.20 { - iface MIXER - name 'ALC NG Switch' - value false - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.21 { - iface MIXER - name 'ALC NG Type' - value 'Constant Gain' - comment { - access 'read write' - type ENUMERATED - count 1 - item.0 'Constant Gain' - item.1 Mute - } - } - control.22 { - iface MIXER - name 'ALC NG Threshold' - value 31 - comment { - access 'read write' - type INTEGER - count 1 - range '0 - 31' - } - } - control.23 { - iface MIXER - name 'Mic Headphone Volume' - value 4 - comment { - access 'read write' - type INTEGER - count 1 - range '0 - 7' - } - } - control.24 { - iface MIXER - name 'ALC Headphone Volume' - value 5 - comment { - access 'read write' - type INTEGER - count 1 - range '0 - 7' - } - } - control.25 { - iface MIXER - name 'Out3 Switch' - value false - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.26 { - iface MIXER - name 'Out3 ZC Switch' - value true - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.27 { - iface MIXER - name 'Out3 Volume' - value 31 - comment { - access 'read write' - type INTEGER - count 1 - range '0 - 31' - } - } - control.28 { - iface MIXER - name 'PCBeep Bypass Headphone Volume' - value 5 - comment { - access 'read write' - type INTEGER - count 1 - range '0 - 7' - } - } - control.29 { - iface MIXER - name 'PCBeep Bypass Speaker Volume' - value 5 - comment { - access 'read write' - type INTEGER - count 1 - range '0 - 7' - } - } - control.30 { - iface MIXER - name 'PCBeep Bypass Phone Volume' - value 5 - comment { - access 'read write' - type INTEGER - count 1 - range '0 - 7' - } - } - control.31 { - iface MIXER - name 'Aux Playback Headphone Volume' - value 5 - comment { - access 'read write' - type INTEGER - count 1 - range '0 - 7' - } - } - control.32 { - iface MIXER - name 'Aux Playback Speaker Volume' - value 5 - comment { - access 'read write' - type INTEGER - count 1 - range '0 - 7' - } - } - control.33 { - iface MIXER - name 'Aux Playback Phone Volume' - value 5 - comment { - access 'read write' - type INTEGER - count 1 - range '0 - 7' - } - } - control.34 { - iface MIXER - name 'Phone Volume' - value 7 - comment { - access 'read write' - type INTEGER - count 1 - range '0 - 15' - } - } - control.35 { - iface MIXER - name 'Line Capture Volume' - value.0 23 - value.1 23 - comment { - access 'read write' - type INTEGER - count 2 - range '0 - 31' - } - } - control.36 { - iface MIXER - name 'Capture 20dB Boost Switch' - value false - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.37 { - iface MIXER - name 'Capture to Phone 20dB Boost Switch' - value true - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.38 { - iface MIXER - name '3D Upper Cut-off Switch' - value true - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.39 { - iface MIXER - name '3D Lower Cut-off Switch' - value true - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.40 { - iface MIXER - name '3D Playback Volume' - value 0 - comment { - access 'read write' - type INTEGER - count 1 - range '0 - 15' - } - } - control.41 { - iface MIXER - name 'Bass Control' - value 'Linear Control' - comment { - access 'read write' - type ENUMERATED - count 1 - item.0 'Linear Control' - item.1 'Adaptive Boost' - } - } - control.42 { - iface MIXER - name 'Bass Cut-off Switch' - value true - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.43 { - iface MIXER - name 'Tone Cut-off Switch' - value true - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.44 { - iface MIXER - name 'Playback Attenuate (-6dB) Switch' - value false - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.45 { - iface MIXER - name 'Bass Volume' - value 0 - comment { - access 'read write' - type INTEGER - count 1 - range '0 - 15' - } - } - control.46 { - iface MIXER - name 'Treble Volume' - value 0 - comment { - access 'read write' - type INTEGER - count 1 - range '0 - 15' - } - } - control.47 { - iface MIXER - name 'Capture ADC Switch' - value false - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.48 { - iface MIXER - name 'Capture Volume Steps' - value.0 '+1.5dB Steps' - value.1 '+1.5dB Steps' - comment { - access 'read write' - type ENUMERATED - count 2 - item.0 '+1.5dB Steps' - item.1 '+0.75dB Steps' - } - } - control.49 { - iface MIXER - name 'Capture Volume' - value.0 48 - value.1 48 - comment { - access 'read write' - type INTEGER - count 2 - range '0 - 63' - } - } - control.50 { - iface MIXER - name 'Capture ZC Switch' - value false - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.51 { - iface MIXER - name 'Mic 1 Volume' - value 23 - comment { - access 'read write' - type INTEGER - count 1 - range '0 - 31' - } - } - control.52 { - iface MIXER - name 'Mic 2 Volume' - value 23 - comment { - access 'read write' - type INTEGER - count 1 - range '0 - 31' - } - } - control.53 { - iface MIXER - name 'Mic 20dB Boost Switch' - value false - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.54 { - iface MIXER - name 'Speaker Mixer PCBeep Bypass Switch' - value false - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.55 { - iface MIXER - name 'Speaker Mixer Aux Playback Switch' - value false - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.56 { - iface MIXER - name 'Speaker Mixer Phone Bypass Switch' - value false - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.57 { - iface MIXER - name 'Speaker Mixer Line Bypass Switch' - value true - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.58 { - iface MIXER - name 'Speaker Mixer PCM Playback Switch' - value false - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.59 { - iface MIXER - name 'Phone Mixer PCBeep Bypass Switch' - value false - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.60 { - iface MIXER - name 'Phone Mixer Aux Playback Switch' - value false - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.61 { - iface MIXER - name 'Phone Mixer Line Bypass Switch' - value false - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.62 { - iface MIXER - name 'Phone Mixer PCM Playback Switch' - value false - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.63 { - iface MIXER - name 'Phone Mixer Mic 1 Sidetone Switch' - value false - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.64 { - iface MIXER - name 'Phone Mixer Mic 2 Sidetone Switch' - value false - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.65 { - iface MIXER - name 'Right HP Mixer PCBeep Bypass Switch' - value false - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.66 { - iface MIXER - name 'Right HP Mixer Aux Playback Switch' - value false - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.67 { - iface MIXER - name 'Right HP Mixer Phone Bypass Switch' - value false - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.68 { - iface MIXER - name 'Right HP Mixer Line Bypass Switch' - value false - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.69 { - iface MIXER - name 'Right HP Mixer PCM Playback Switch' - value true - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.70 { - iface MIXER - name 'Right HP Mixer Mic Sidetone Switch' - value false - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.71 { - iface MIXER - name 'Left HP Mixer PCBeep Bypass Switch' - value false - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.72 { - iface MIXER - name 'Left HP Mixer Aux Playback Switch' - value false - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.73 { - iface MIXER - name 'Left HP Mixer Phone Bypass Switch' - value false - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.74 { - iface MIXER - name 'Left HP Mixer Line Bypass Switch' - value false - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.75 { - iface MIXER - name 'Left HP Mixer PCM Playback Switch' - value true - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.76 { - iface MIXER - name 'Left HP Mixer Mic Sidetone Switch' - value false - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.77 { - iface MIXER - name 'Differential Source' - value Mic - comment { - access 'read write' - type ENUMERATED - count 1 - item.0 Mic - item.1 Line - } - } - control.78 { - iface MIXER - name 'Mic Select Source' - value 'Mic 1' - comment { - access 'read write' - type ENUMERATED - count 1 - item.0 'Mic 1' - item.1 Differential - item.2 'Mic 2' - item.3 Stereo - } - } - control.79 { - iface MIXER - name 'Right Capture Select' - value Mic - comment { - access 'read write' - type ENUMERATED - count 1 - item.0 Mic - item.1 NC - item.2 NC - item.3 'Speaker Mixer' - item.4 Line - item.5 'Headphone Mixer' - item.6 'Phone Mixer' - item.7 Phone - } - } - control.80 { - iface MIXER - name 'Left Capture Select' - value Mic - comment { - access 'read write' - type ENUMERATED - count 1 - item.0 Mic - item.1 NC - item.2 NC - item.3 'Speaker Mixer' - item.4 Line - item.5 'Headphone Mixer' - item.6 'Phone Mixer' - item.7 Phone - } - } - control.81 { - iface MIXER - name 'Capture Phone Mux' - value Mute - comment { - access 'read write' - type ENUMERATED - count 1 - item.0 Stereo - item.1 Left - item.2 Right - item.3 Mute - } - } - control.82 { - iface MIXER - name 'Speaker Mux' - value 'Speaker Mix' - comment { - access 'read write' - type ENUMERATED - count 1 - item.0 'Speaker Mix' - item.1 'Headphone Mix' - } - } - control.83 { - iface MIXER - name 'Out3 Mux' - value Left - comment { - access 'read write' - type ENUMERATED - count 1 - item.0 Left - item.1 VREF - item.2 'Left + Right' - item.3 Mono - } - } - control.84 { - iface MIXER - name 'ALC Sidetone Mux' - value None - comment { - access 'read write' - type ENUMERATED - count 1 - item.0 Stereo - item.1 Left - item.2 Right - item.3 None - } - } -} diff --git a/recipes-bsp/alsa-state/alsa-state/colibri-t30/asound.state b/recipes-bsp/alsa-state/alsa-state/colibri-t30/asound.state deleted file mode 100644 index 8bb82e8..0000000 --- a/recipes-bsp/alsa-state/alsa-state/colibri-t30/asound.state +++ /dev/null @@ -1,143 +0,0 @@ -state.colibrit30sgtl5 { - control.1 { - iface MIXER - name 'PCM Playback Volume' - value.0 126 - value.1 126 - comment { - access 'read write' - type INTEGER - count 2 - range '0 - 192' - } - } - control.2 { - iface MIXER - name 'Capture Volume' - value.0 12 - value.1 12 - comment { - access 'read write' - type INTEGER - count 2 - range '0 - 15' - } - } - control.3 { - iface MIXER - name 'Capture Attenuate Switch (-6dB)' - value true - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.4 { - iface MIXER - name 'Capture ZC Switch' - value true - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.5 { - iface MIXER - name 'Headphone Playback Volume' - value.0 127 - value.1 127 - comment { - access 'read write' - type INTEGER - count 2 - range '0 - 127' - dbmin -5150 - dbmax 1200 - dbvalue.0 1200 - dbvalue.1 1200 - } - } - control.6 { - iface MIXER - name 'Headphone Playback ZC Switch' - value true - comment { - access 'read write' - type BOOLEAN - count 1 - } - } - control.7 { - iface MIXER - name 'Mic Volume' - value 2 - comment { - access 'read write' - type INTEGER - count 1 - range '0 - 3' - dbmin 0 - dbmax 4000 - dbvalue.0 3000 - } - } - control.8 { - iface MIXER - name 'Headphone Mux' - value DAC - comment { - access 'read write' - type ENUMERATED - count 1 - item.0 DAC - item.1 LINE_IN - } - } - control.9 { - iface MIXER - name 'Capture Mux' - value MIC_IN - comment { - access 'read write' - type ENUMERATED - count 1 - item.0 MIC_IN - item.1 LINE_IN - } - } - control.10 { - iface MIXER - name 'AVP alsa device select' - value 1 - comment { - access 'read write' - type INTEGER - count 1 - range '0 - 6' - } - } - control.11 { - iface MIXER - name 'AVP DMA channel id' - value -1 - comment { - access 'read write' - type INTEGER - count 1 - range '0 - 32' - } - } - control.12 { - iface MIXER - name 'AVP DMA address' - value 0 - comment { - access 'read write' - type INTEGER - count 1 - range '0 - -1' - } - } -} diff --git a/recipes-bsp/lvds-ctrl/files/lvds-dual-channel.sh b/recipes-bsp/lvds-ctrl/files/lvds-dual-channel.sh deleted file mode 100644 index 851f5bb..0000000 --- a/recipes-bsp/lvds-ctrl/files/lvds-dual-channel.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh -#enable the parallel RGB to LVDS controller in dual channel mode - -echo low > /sys/class/gpio/gpio216/direction -echo high > /sys/class/gpio/gpio219/direction -echo high > /sys/class/gpio/gpio222/direction -echo high > /sys/class/gpio/gpio223/direction -echo high > /sys/class/gpio/gpio226/direction -echo high > /sys/class/gpio/gpio225/direction -echo high > /sys/class/gpio/gpio221/direction -echo high > /sys/class/gpio/gpio220/direction diff --git a/recipes-bsp/lvds-ctrl/files/lvds-single-channel-24bit-mode2.sh b/recipes-bsp/lvds-ctrl/files/lvds-single-channel-24bit-mode2.sh deleted file mode 100644 index a4e5312..0000000 --- a/recipes-bsp/lvds-ctrl/files/lvds-single-channel-24bit-mode2.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh -#enable the parallel RGB to LVDS controller in single channel mode - -echo high > /sys/class/gpio/gpio216/direction -echo low > /sys/class/gpio/gpio219/direction -echo high > /sys/class/gpio/gpio222/direction -echo low > /sys/class/gpio/gpio223/direction -echo high > /sys/class/gpio/gpio226/direction -echo high > /sys/class/gpio/gpio225/direction -echo high > /sys/class/gpio/gpio221/direction -echo high > /sys/class/gpio/gpio220/direction diff --git a/recipes-bsp/lvds-ctrl/files/lvds-single-channel.sh b/recipes-bsp/lvds-ctrl/files/lvds-single-channel.sh deleted file mode 100644 index fa5084c..0000000 --- a/recipes-bsp/lvds-ctrl/files/lvds-single-channel.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh -#enable the parallel RGB to LVDS controller in single channel mode - -echo high > /sys/class/gpio/gpio216/direction -echo high > /sys/class/gpio/gpio219/direction -echo high > /sys/class/gpio/gpio222/direction -echo high > /sys/class/gpio/gpio223/direction -echo high > /sys/class/gpio/gpio226/direction -echo high > /sys/class/gpio/gpio225/direction -echo high > /sys/class/gpio/gpio221/direction -echo high > /sys/class/gpio/gpio220/direction diff --git a/recipes-bsp/lvds-ctrl/lvds-ctrl_1.0.bb b/recipes-bsp/lvds-ctrl/lvds-ctrl_1.0.bb deleted file mode 100644 index 3e81a4e..0000000 --- a/recipes-bsp/lvds-ctrl/lvds-ctrl_1.0.bb +++ /dev/null @@ -1,25 +0,0 @@ -SUMMARY = "Scripts to enable the LVDS converter on Apalis T30" -LICENSE = "PD" - -SRC_URI = " \ - file://lvds-dual-channel.sh \ - file://lvds-single-channel.sh \ - file://lvds-single-channel-24bit-mode2.sh \ - file://COPYING \ -" - -LIC_FILES_CHKSUM = "file://${WORKDIR}/COPYING;md5=1c3a7fb45253c11c74434676d84fe7dd" - -do_install () { - install -d ${D}/${bindir} - install -m 0755 ${WORKDIR}/*.sh ${D}/${bindir} -} - -pkg_postinst_ontarget_${PN}() { - mkdir -p ${sysconfdir}/xdg/lxsession/LXDE - echo "${bindir}/lvds-single-channel-24bit-mode2.sh" >> ${sysconfdir}/xdg/lxsession/LXDE/autostart -} - -pkg_postrm_${PN}() { - sed -i lvds-single-channel-24bit-mode2.sh/d ${sysconfdir}/xdg/lxsession/LXDE/autostart || true -} diff --git a/recipes-bsp/tdx-nv-binaries/files/0001-egl-Add-EGL_PLATFORM_X11_KHR-alias-to-EGL_PLATFORM_X.patch b/recipes-bsp/tdx-nv-binaries/files/0001-egl-Add-EGL_PLATFORM_X11_KHR-alias-to-EGL_PLATFORM_X.patch deleted file mode 100644 index 9228251..0000000 --- a/recipes-bsp/tdx-nv-binaries/files/0001-egl-Add-EGL_PLATFORM_X11_KHR-alias-to-EGL_PLATFORM_X.patch +++ /dev/null @@ -1,33 +0,0 @@ -From b677a9f2d252c8ed4754917ff120589e225adf7e Mon Sep 17 00:00:00 2001 -From: Max Krummenacher <max.krummenacher@toradex.com> -Date: Wed, 3 Jan 2018 13:54:04 +0100 -Subject: [PATCH] egl: Add EGL_PLATFORM_X11_KHR alias to EGL_PLATFORM_X11_EXT - -New EGL code uses EGL_PLATFORM_X11_KHR (for example glmark2) and the -value is the same, so we can provide an alias for it instead of -patching every code using it. - -Upstream-Status: Pending - -(Adapted from meta-freescale, commit e1d249bb067aa6c472367cff1e77ba2ddbc8303f) - -Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> ---- - EGL/eglext.h | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/EGL/eglext.h b/EGL/eglext.h -index 80b539a..eb349c2 100644 ---- a/EGL/eglext.h -+++ b/EGL/eglext.h -@@ -445,6 +445,7 @@ EGLAPI EGLSurface EGLAPIENTRY eglCreatePlatformPixmapSurfaceEXT (EGLDisplay dpy, - #ifndef EGL_EXT_platform_x11 - #define EGL_EXT_platform_x11 1 - #define EGL_PLATFORM_X11_EXT 0x31D5 -+#define EGL_PLATFORM_X11_KHR EGL_PLATFORM_X11_EXT - #define EGL_PLATFORM_X11_SCREEN_EXT 0x31D6 - #endif /* EGL_EXT_platform_x11 */ - --- -2.13.6 - diff --git a/recipes-bsp/tdx-nv-binaries/files/aplay.desktop b/recipes-bsp/tdx-nv-binaries/files/aplay.desktop deleted file mode 100644 index ead86f3..0000000 --- a/recipes-bsp/tdx-nv-binaries/files/aplay.desktop +++ /dev/null @@ -1,5 +0,0 @@ -[Desktop Entry] -Type=Application -Name=aplay -Exec=aplay %f -NoDisplay=true diff --git a/recipes-bsp/tdx-nv-binaries/files/egl.pc b/recipes-bsp/tdx-nv-binaries/files/egl.pc deleted file mode 100644 index 3af7eec..0000000 --- a/recipes-bsp/tdx-nv-binaries/files/egl.pc +++ /dev/null @@ -1,10 +0,0 @@ -prefix=/usr -exec_prefix=${prefix} -libdir=/usr/lib -includedir=/usr/include - -Name: egl -Description: EGL implementation -Version: 1 -Cflags: -I${includedir}/EGL -Libs: -L${libdir} -lEGL diff --git a/recipes-bsp/tdx-nv-binaries/files/eglplatform.h b/recipes-bsp/tdx-nv-binaries/files/eglplatform.h deleted file mode 100644 index 72b5f2d..0000000 --- a/recipes-bsp/tdx-nv-binaries/files/eglplatform.h +++ /dev/null @@ -1,147 +0,0 @@ -#ifndef __eglplatform_h_ -#define __eglplatform_h_ - -/* -** Copyright (c) 2007-2009 The Khronos Group Inc. -** -** Permission is hereby granted, free of charge, to any person obtaining a -** copy of this software and/or associated documentation files (the -** "Materials"), to deal in the Materials without restriction, including -** without limitation the rights to use, copy, modify, merge, publish, -** distribute, sublicense, and/or sell copies of the Materials, and to -** permit persons to whom the Materials are furnished to do so, subject to -** the following conditions: -** -** The above copyright notice and this permission notice shall be included -** in all copies or substantial portions of the Materials. -** -** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. -*/ - -/* Platform-specific types and definitions for egl.h - * $Revision: 12306 $ on $Date: 2010-08-25 09:51:28 -0700 (Wed, 25 Aug 2010) $ - * - * Adopters may modify khrplatform.h and this file to suit their platform. - * You are encouraged to submit all modifications to the Khronos group so that - * they can be included in future versions of this file. Please submit changes - * by sending them to the public Khronos Bugzilla (http://khronos.org/bugzilla) - * by filing a bug against product "EGL" component "Registry". - */ - -#include <KHR/khrplatform.h> - -/* Macros used in EGL function prototype declarations. - * - * EGL functions should be prototyped as: - * - * EGLAPI return-type EGLAPIENTRY eglFunction(arguments); - * typedef return-type (EXPAPIENTRYP PFNEGLFUNCTIONPROC) (arguments); - * - * KHRONOS_APICALL and KHRONOS_APIENTRY are defined in KHR/khrplatform.h - */ - -#ifndef EGLAPI -#define EGLAPI KHRONOS_APICALL -#endif - -#ifndef EGLAPIENTRY -#define EGLAPIENTRY KHRONOS_APIENTRY -#endif -#define EGLAPIENTRYP EGLAPIENTRY* - -/* The types NativeDisplayType, NativeWindowType, and NativePixmapType - * are aliases of window-system-dependent types, such as X Display * or - * Windows Device Context. They must be defined in platform-specific - * code below. The EGL-prefixed versions of Native*Type are the same - * types, renamed in EGL 1.3 so all types in the API start with "EGL". - * - * Khronos STRONGLY RECOMMENDS that you use the default definitions - * provided below, since these changes affect both binary and source - * portability of applications using EGL running on different EGL - * implementations. - */ - -#if defined(_WIN32) || defined(__VC32__) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__) /* Win32 and WinCE */ -#ifndef WIN32_LEAN_AND_MEAN -#define WIN32_LEAN_AND_MEAN 1 -#endif -#include <windows.h> - -typedef HDC EGLNativeDisplayType; -typedef HBITMAP EGLNativePixmapType; -typedef HWND EGLNativeWindowType; - -#elif defined(__WINSCW__) || defined(__SYMBIAN32__) /* Symbian */ - -typedef int EGLNativeDisplayType; -typedef void *EGLNativeWindowType; -typedef void *EGLNativePixmapType; - -#elif defined(WL_EGL_PLATFORM) - -typedef struct wl_display *EGLNativeDisplayType; -typedef struct wl_egl_pixmap *EGLNativePixmapType; -typedef struct wl_egl_window *EGLNativeWindowType; - -#elif defined(__GBM__) - -typedef struct gbm_device *EGLNativeDisplayType; -typedef struct gbm_bo *EGLNativePixmapType; -typedef void *EGLNativeWindowType; - -#elif defined(ANDROID) /* Android */ - -struct ANativeWindow; -struct egl_native_pixmap_t; - -typedef struct ANativeWindow *EGLNativeWindowType; -typedef struct egl_native_pixmap_t *EGLNativePixmapType; -typedef void *EGLNativeDisplayType; - -#elif defined(__unix__) - -/* don't include the X headers here, some define clash with Qt5 symbols */ -#if 1 - -typedef struct _XDisplay *EGLNativeDisplayType; -typedef unsigned long EGLNativePixmapType; -typedef unsigned long EGLNativeWindowType; - -#else - -/* X11 (tentative) */ -#include <X11/Xlib.h> -#include <X11/Xutil.h> - -typedef Display *EGLNativeDisplayType; -typedef Pixmap EGLNativePixmapType; -typedef Window EGLNativeWindowType; - -#endif /* MESA_EGL_NO_X11_HEADERS */ - -#else -#error "Platform not recognized" -#endif - -/* EGL 1.2 types, renamed for consistency in EGL 1.3 */ -typedef EGLNativeDisplayType NativeDisplayType; -typedef EGLNativePixmapType NativePixmapType; -typedef EGLNativeWindowType NativeWindowType; - - -/* Define EGLint. This must be a signed integral type large enough to contain - * all legal attribute names and values passed into and out of EGL, whether - * their type is boolean, bitmask, enumerant (symbolic constant), integer, - * handle, or other. While in general a 32-bit integer will suffice, if - * handles are 64 bit types, then EGLint should be defined as a signed 64-bit - * integer type. - */ -typedef khronos_int32_t EGLint; - -#endif /* __eglplatform_h */ diff --git a/recipes-bsp/tdx-nv-binaries/files/gles.pc b/recipes-bsp/tdx-nv-binaries/files/gles.pc deleted file mode 100644 index 91387c9..0000000 --- a/recipes-bsp/tdx-nv-binaries/files/gles.pc +++ /dev/null @@ -1,10 +0,0 @@ -prefix=/usr -exec_prefix=${prefix} -libdir=/usr/lib -includedir=/usr/include - -Name: glesv2 -Description: OpenGL ES 1.1 implementation -Version: 1.1 -Cflags: -I${includedir}/GLES -Libs: -L${libdir} -lGLESv1_CM diff --git a/recipes-bsp/tdx-nv-binaries/files/glesv2.pc b/recipes-bsp/tdx-nv-binaries/files/glesv2.pc deleted file mode 100644 index 0a2e7b1..0000000 --- a/recipes-bsp/tdx-nv-binaries/files/glesv2.pc +++ /dev/null @@ -1,10 +0,0 @@ -prefix=/usr -exec_prefix=${prefix} -libdir=/usr/lib -includedir=/usr/include - -Name: glesv2 -Description: OpenGL ES 2 implementation -Version: 2 -Cflags: -I${includedir}/GLES2 -Libs: -L${libdir} -lGLESv2 diff --git a/recipes-bsp/tdx-nv-binaries/files/khronos_headers.tgz b/recipes-bsp/tdx-nv-binaries/files/khronos_headers.tgz Binary files differdeleted file mode 100644 index 5eb5db7..0000000 --- a/recipes-bsp/tdx-nv-binaries/files/khronos_headers.tgz +++ /dev/null diff --git a/recipes-bsp/tdx-nv-binaries/files/mimeapps.list b/recipes-bsp/tdx-nv-binaries/files/mimeapps.list deleted file mode 100644 index 6a513dc..0000000 --- a/recipes-bsp/tdx-nv-binaries/files/mimeapps.list +++ /dev/null @@ -1,10 +0,0 @@ -[Added Associations] -video/mpeg=nvgstplayer.desktop; -video/x-msvideo=nvgstplayer.desktop; -video/mp4=nvgstplayer.desktop; -video/quicktime=nvgstplayer.desktop; -video/x-ms-wmv=nvgstplayer.desktop; -video/x-matroska=cd nvgstplayer.desktop; -audio/mpeg=nvgstplayer.desktop; -audio/basic=aplay.desktop; -audio/x-wav=aplay.desktop; diff --git a/recipes-bsp/tdx-nv-binaries/files/nvgstplayer.desktop b/recipes-bsp/tdx-nv-binaries/files/nvgstplayer.desktop deleted file mode 100644 index f85659c..0000000 --- a/recipes-bsp/tdx-nv-binaries/files/nvgstplayer.desktop +++ /dev/null @@ -1,6 +0,0 @@ -[Desktop Entry] -Type=Application -Name=nvgstplayer -Exec=nvgstplayer --uri %u -Terminal=true -NoDisplay=true diff --git a/recipes-bsp/tdx-nv-binaries/files/nvsamples-hardfp.patch b/recipes-bsp/tdx-nv-binaries/files/nvsamples-hardfp.patch Binary files differdeleted file mode 100644 index 43376d7..0000000 --- a/recipes-bsp/tdx-nv-binaries/files/nvsamples-hardfp.patch +++ /dev/null diff --git a/recipes-bsp/tdx-nv-binaries/files/nvsamples-no-binary-shaders.patch b/recipes-bsp/tdx-nv-binaries/files/nvsamples-no-binary-shaders.patch deleted file mode 100644 index 73b27a1..0000000 --- a/recipes-bsp/tdx-nv-binaries/files/nvsamples-no-binary-shaders.patch +++ /dev/null @@ -1,93 +0,0 @@ -diff -Naur nvsamples.orig/make/nvdefs.mk nvsamples/make/nvdefs.mk ---- nvsamples.orig/make/nvdefs.mk 2012-09-10 19:16:45.299731097 +0200 -+++ nvsamples/make/nvdefs.mk 2012-09-24 19:41:40.659811178 +0200 -@@ -86,7 +86,8 @@ - - NV_CGDIR = $(NV_TOPDIR)/utils/Cg - HEXIFY = $(NV_CGDIR)/hexify.pl --CGC = $(NV_CGDIR)/$(NV_HOST_OSTYPE)/cgc -quiet -+#prevent binary shaders, the L4T OpenGL drivers do not support them -+#CGC = $(NV_CGDIR)/$(NV_HOST_OSTYPE)/cgc -quiet - SHADER_FIX = $(NV_CGDIR)/$(NV_HOST_OSTYPE)/shaderfix - CGC_CG = $(CGC) - CGC_GLSL = $(CGC) -ogles -@@ -124,3 +127,10 @@ - $(CGC_CG_FRG) -o $*.tmp $< - $(SHADER_FIX) -o $@ $*.tmp - rm -rf $*.tmp -+ -+#deploy source shaders in headerfiles -+%.hglslv: %.glslv -+ $(HEXIFY) $< $@ -+ -+%.hglslf: %.glslf -+ $(HEXIFY) $< $@ - -diff -Naur nvsamples.orig/samples/opengles2/bubble/shaders.c nvsamples/samples/opengles2/bubble/shaders.c ---- nvsamples.orig/samples/opengles2/bubble/shaders.c 2011-05-04 13:36:25.000000000 +0200 -+++ nvsamples/samples/opengles2/bubble/shaders.c 2012-10-16 14:17:57.593654157 +0200 -@@ -88,16 +88,16 @@ - // Otherwise, load and compile the shader sources - prog_bubble = - NvGl2DemoLoadShaderSources( -- "bubble_vert.glslv", "bubble_frag.glslf", GL_FALSE); -+ "shaders/bubble_vert.glslv", "shaders/bubble_frag.glslf", GL_FALSE); - prog_mesh = - NvGl2DemoLoadShaderSources( -- "mesh_vert.glslv", "mesh_frag.glslf", GL_FALSE); -+ "shaders/mesh_vert.glslv", "shaders/mesh_frag.glslf", GL_FALSE); - prog_cube = - NvGl2DemoLoadShaderSources( -- "envCube_vert.glslv", "envCube_frag.glslf", GL_FALSE); -+ "shaders/envCube_vert.glslv", "shaders/envCube_frag.glslf", GL_FALSE); - prog_mouse = - NvGl2DemoLoadShaderSources( -- "mouse_vert.glslv", "mouse_frag.glslf", GL_FALSE); -+ "shaders/mouse_vert.glslv", "shaders/mouse_frag.glslf", GL_FALSE); - # endif - - success = prog_bubble && prog_mesh && prog_cube && prog_mouse; -diff -Naur nvsamples.orig/samples/opengles2/ctree/shaders.c nvsamples/samples/opengles2/ctree/shaders.c ---- nvsamples.orig/samples/opengles2/ctree/shaders.c 2011-05-04 13:36:26.000000000 +0200 -+++ nvsamples/samples/opengles2/ctree/shaders.c 2012-10-16 14:17:16.193651084 +0200 -@@ -130,22 +130,22 @@ - // Otherwise, load and compile the shader sources - prog_solids = - NvGl2DemoLoadShaderSources( -- "lighting_vert.glslv", "solids_frag.glslf", GL_FALSE); -+ "shaders/lighting_vert.glslv", "shaders/solids_frag.glslf", GL_FALSE); - prog_leaves = - NvGl2DemoLoadShaderSources( -- "lighting_vert.glslv", "leaves_frag.glslf", GL_FALSE); -+ "shaders/lighting_vert.glslv", "shaders/leaves_frag.glslf", GL_FALSE); - prog_simplecol = - NvGl2DemoLoadShaderSources( -- "simplecol_vert.glslv", "simplecol_frag.glslf", GL_FALSE); -+ "shaders/simplecol_vert.glslv", "shaders/simplecol_frag.glslf", GL_FALSE); - prog_simpletex = - NvGl2DemoLoadShaderSources( -- "simpletex_vert.glslv", "simpletex_frag.glslf", GL_FALSE); -+ "shaders/simpletex_vert.glslv", "shaders/simpletex_frag.glslf", GL_FALSE); - prog_overlaycol = - NvGl2DemoLoadShaderSources( -- "overlaycol_vert.glslv", "overlaycol_frag.glslf", GL_FALSE); -+ "shaders/overlaycol_vert.glslv", "shaders/overlaycol_frag.glslf", GL_FALSE); - prog_overlaytex = - NvGl2DemoLoadShaderSources( -- "overlaytex_vert.glslv", "overlaytex_frag.glslf", GL_FALSE); -+ "shaders/overlaytex_vert.glslv", "shaders/overlaytex_frag.glslf", GL_FALSE); - # endif - success = prog_solids && prog_leaves - && prog_simplecol && prog_simpletex -diff -Naur nvsamples.orig/samples/opengles2/gears/gears.c nvsamples/samples/opengles2/gears/gears.c ---- nvsamples.orig/samples/opengles2/gears/gears.c 2011-05-04 13:36:27.000000000 +0200 -+++ nvsamples/samples/opengles2/gears/gears.c 2012-10-16 14:14:51.433680786 +0200 -@@ -393,7 +393,7 @@ - // Otherwise, load and compile the shader source - gearShaderProgram = - NvGl2DemoLoadShaderSources( -- "gears_vert.glslv", "gears_frag.glslf", GL_FALSE); -+ "shaders/gears_vert.glslv", "shaders/gears_frag.glslf", GL_FALSE); - # endif - - // Use the program we just loaded diff --git a/recipes-bsp/tdx-nv-binaries/files/nvsamples-oe.patch b/recipes-bsp/tdx-nv-binaries/files/nvsamples-oe.patch deleted file mode 100644 index 5b8e137..0000000 --- a/recipes-bsp/tdx-nv-binaries/files/nvsamples-oe.patch +++ /dev/null @@ -1,50 +0,0 @@ -diff -Naur nvsamples-1.0-r0.orig/nvsamples/make/nvdefs.mk nvsamples-1.0-r0/nvsamples/make/nvdefs.mk ---- nvsamples/make/nvdefs.mk.orig 2011-12-07 10:22:49.000000000 +0100 -+++ nvsamples/make/nvdefs.mk 2012-07-07 12:37:13.000000000 +0200 -@@ -1,4 +1,4 @@ --NV_TOPDIR = $(HOME)/nvsamples -+NV_TOPDIR = $(WORKDIR)/nvsamples - NV_PLATFORM_DIR = $(NV_TOPDIR) - NV_KERNDIR = $(NV_TOPDIR)/../kernel - -@@ -42,17 +42,13 @@ - NV_PLATFORM_CPPFLAGS += -DKD - endif - --NV_PLATFORM_LDFLAGS = -+NV_PLATFORM_LDFLAGS = -L/usr/X11R6.4/lib -lX11 -lICE -lSM - - NV_PLATFORM_SDK_INC_DIR = $(NV_TOPDIR)/include - NV_PLATFORM_SDK_LIB_DIR = $(NV_TOPDIR)/lib-target --ROOTFS_LIB_DIR = $(NV_TOPDIR)/../T20_LinuxImageV1.0Beta4/rootfs/usr/lib - - NV_PLATFORM_SDK_INC = -I$(NV_PLATFORM_SDK_INC_DIR) --NV_PLATFORM_SDK_LIB = -L$(NV_PLATFORM_SDK_LIB_DIR) \ -- -L$(ROOTFS_LIB_DIR) \ -- -Xlinker -rpath-link \ -- -Xlinker $(ROOTFS_LIB_DIR) -+NV_PLATFORM_SDK_LIB = -L$(NV_PLATFORM_SDK_LIB_DIR) - NV_PLATFORM_OPT = -Os -O2 - NV_PLATFORM_MATHLIB = -lm - NV_PLATFORM_THREADLIB = -lpthread -@@ -80,13 +76,13 @@ - - # compiler utilities - --CROSSBIN = $(NV_TOPDIR)/../arm-2009q3/bin/arm-none-linux-gnueabi- --CC = $(CROSSBIN)gcc --CXX = $(CROSSBIN)g++ --LD = $(CROSSBIN)gcc --AR = $(CROSSBIN)ar --RANLIB = $(CROSSBIN)ranlib --STRIP = $(CROSSBIN)strip -+CROSSBIN = arm-angstrom-linux-gnueabi- -+CC ?= $(CROSSBIN)gcc -+CXX ?= $(CROSSBIN)g++ -+LD = $(CC) -+AR ?= $(CROSSBIN)ar -+RANLIB ?= $(CROSSBIN)ranlib -+STRIP ?= $(CROSSBIN)strip - - NV_CGDIR = $(NV_TOPDIR)/utils/Cg - HEXIFY = $(NV_CGDIR)/hexify.pl diff --git a/recipes-bsp/tdx-nv-binaries/nvsamples.bb b/recipes-bsp/tdx-nv-binaries/nvsamples.bb deleted file mode 100644 index 493ec8f..0000000 --- a/recipes-bsp/tdx-nv-binaries/nvsamples.bb +++ /dev/null @@ -1,59 +0,0 @@ -SECTION = "graphical/utils" -SUMMARY = "Nvidia samples for OpenGL ES, OpenGL ES headers" -LICENSE = "CLOSED" -DEPENDS = "tdx-nv-binaries virtual/libx11 libsm libice" - -PR = "r1" - -PARALLEL_MAKE = "" - -SRC_URI = " \ - http://developer.toradex.com/files/toradex-dev/uploads/media/Colibri/Linux/Samples/nvsamples.tar.bz2 \ - file://nvsamples-oe.patch \ - file://nvsamples-no-binary-shaders.patch \ - file://nvsamples-hardfp.patch \ -" - -S = "${WORKDIR}/nvsamples" - -SRC_URI[md5sum] = "240b0beb0056dde2e6ac1538dc8b6684" -SRC_URI[sha256sum] = "2638beea80fd85fdc5f9443e6959c210e275e627f662266cd404ce7c68b0806d" - -#no gnu_hash in NVIDIA binaries, skip QA for this package -INSANE_SKIP_${PN} = "dev-so ldflags" - -FILES_${PN} += " \ - /home/root/textures/* \ - /home/root/shaders/* \ -" - -do_compile () { - cd ${S}/samples/tools/nvtexfont2 - oe_runmake clean - oe_runmake WORKDIR=${WORKDIR} - ln -sf ../samples/tools/nvtexfont2/libnvtexfont2.a ${S}/lib-target/ - - cd ${S}/samples/tools/nvgl2demo_common - oe_runmake clean - oe_runmake WORKDIR=${WORKDIR} - ln -sf ../samples/tools/nvgl2demo_common/libnvgl2demo_common.a ${S}/lib-target/ - - cd ${S}/samples/opengles2 - oe_runmake clean - oe_runmake WORKDIR=${WORKDIR} -} - -do_install () { - # install the sample code - install -d ${D}${bindir} - install -d ${D}/home/root/textures - install -d ${D}/home/root/shaders - install -m 0755 ${S}/samples/opengles2/ctree/ctree ${D}${bindir} - install -m 0644 ${S}/samples/opengles2/ctree/textures/* ${D}/home/root/textures - install -m 0644 ${S}/samples/opengles2/ctree/*.glsl? ${D}/home/root/shaders - install -m 0755 ${S}/samples/opengles2/bubble/bubble ${D}${bindir} - install -m 0644 ${S}/samples/opengles2/bubble/textures/* ${D}/home/root/textures - install -m 0644 ${S}/samples/opengles2/bubble/*.glsl? ${D}/home/root/shaders - install -m 0755 ${S}/samples/opengles2/gears/gears ${D}${bindir} - install -m 0644 ${S}/samples/opengles2/gears/*.glsl? ${D}/home/root/shaders -} diff --git a/recipes-bsp/tdx-nv-binaries/tdx-nv-binaries.bb b/recipes-bsp/tdx-nv-binaries/tdx-nv-binaries.bb deleted file mode 100644 index 15ea303..0000000 --- a/recipes-bsp/tdx-nv-binaries/tdx-nv-binaries.bb +++ /dev/null @@ -1,194 +0,0 @@ -SUMMARY = "binary files from Nvidia along with their configuration" -LICENSE = "CLOSED & SGI & Khronos" -PR = "r19" - -PACKAGE_ARCH = "${MACHINE_ARCH}" -COMPATIBLE_MACHINE = "(tegra)" - -PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2" -DEPENDS = "gstreamer gst-plugins-base libpcre virtual/xserver virtual/libx11 libxdamage libxext libxfixes" -RDEPENDS_${PN}-nv-gstapps = "libpcre libpcreposix" - -# the khronos headers are taken from here: https://www.khronos.org/registry/khronos_headers.tgz -# this tarball changes from time to time breaking the receipe, thus it is provided with the recipe -SRC_COMMON = " \ - file://aplay.desktop \ - file://egl.pc \ - file://eglplatform.h \ - file://gles.pc \ - file://glesv2.pc \ - file://khronos_headers.tgz \ - file://mimeapps.list \ - file://nvgstplayer.desktop \ - https://www.khronos.org/registry/omxil/api/1.1.2/OpenMAX_IL_1_1_2_Header.zip;name=openmax-h;unpack=no \ - file://0001-egl-Add-EGL_PLATFORM_X11_KHR-alias-to-EGL_PLATFORM_X.patch;apply=no \ -" - -SRC_URI_tegra2 = " \ - http://developer.download.nvidia.com/mobile/tegra/l4t/r16.5.0/ventana_release_armhf/Tegra20_Linux-codecs_R16.5_armhf.tbz2;name=t20codecs \ - http://developer.download.nvidia.com/mobile/tegra/l4t/r16.5.0/ventana_release_armhf/Tegra20_Linux_R16.5_armhf.tbz2;name=t20drivers \ - ${SRC_COMMON} \ -" - -SRC_URI_tegra3 = " \ - http://developer.download.nvidia.com/mobile/tegra/l4t/r16.5.0/cardhu_release_armhf/Tegra30_Linux-codecs_R16.5_armhf.tbz2;name=t30codecs \ - http://developer.download.nvidia.com/mobile/tegra/l4t/r16.5.0/cardhu_release_armhf/Tegra30_Linux_R16.5_armhf.tbz2;name=t30drivers \ - http://developer.toradex.com/files/toradex-dev/uploads/media/Colibri/Linux/Extra/libgstomx.so;name=libgstomx \ - ${SRC_COMMON} \ -" - -SRC_URI[openmax-h.md5sum] = "402a7600397c341895cfecbbe1f4e028" -SRC_URI[openmax-h.sha256sum] = "e7159c88185df60a0dbb28583815067c31285a1f1d4652f6752a7329ccb534d1" - -SRC_URI[t20codecs.md5sum] = "03da7451b755094c61dade6250f1ad0a" -SRC_URI[t20codecs.sha256sum] = "0c5fe818d5e0bdc83c24b7cb0db4f87705244258bfe1925d0a0a0698e3bf712b" -SRC_URI[t20drivers.md5sum] = "5252b747668c14376b3f82d08debad2c" -SRC_URI[t20drivers.sha256sum] = "02b7a83b29cec59cf275b98f0de0fc87a24ffa25593af6af729cd2e881c41587" - -SRC_URI[t30codecs.md5sum] = "03a0b726f18a26ed379c62b83119e497" -SRC_URI[t30codecs.sha256sum] = "640df86c47d0dd6cbfc15eff49ee146a964c2a0362fe52ee6880c84e08b7a98b" -SRC_URI[t30drivers.md5sum] = "8759be1c7b93511cf70939df28b8af51" -SRC_URI[t30drivers.sha256sum] = "2288ad9ce30239975208cbd5fd896791c9d37d87ca8d30b51f04bacc74835427" -SRC_URI[libgstomx.md5sum] = "faa6ee38fb1b7aba7c6c7f98f6b2cedd" -SRC_URI[libgstomx.sha256sum] = "844c2f3ecb8498a9b287c2b2bc6184de75c2cf7d76f64f0a7749e76e1a37a1dc" - - -# xserver-xorg driver ABI version to be used by the symlink, must match the required ABI version from the used xserver -XSERVER_DRIVER_ABI_REQUIRED = "14" - -LIC_FILES_CHKSUM = " \ - file://../khronos_headers/GLES2/gl2.h;beginline=8;endline=29;md5=c0e8cc16602f8077310fb00bbf128ef6 \ - file://${WORKDIR}/Linux_for_Tegra/nv_tegra/LICENSE;md5=d88b0db2ba7f6dfe70852c64b2fce6ce \ - file://${WORKDIR}/Tegra_Software_License_Agreement-Tegra-Linux-codecs.txt;md5=47cc79e762df48980a032c610cfc172f \ - file://${WORKDIR}/Linux_for_Tegra/nv_tegra/nv_sample_apps/LICENSE.gst-openmax;md5=a7d467726825e72551082b781a94d09d \ -" - -PACKAGES = "${PN}-dbg ${PN}-restricted-codecs ${PN}-nv-gstapps ${PN} ${PN}-dev" - -FILES_${PN}-dbg += " \ - /usr/lib/gstreamer-0.10/.debug \ -" -FILES_${PN} += " \ - ${sysconfdir}/X11/def* \ - ${sysconfdir}/X11/xorg.conf.* \ - ${sysconfdir}/init/* \ - ${sysconfdir}/udev/rules.d/* \ - ${sysconfdir}/init/nv* \ - ${sysconfdir}/init/wpa* \ - /lib/firmware/* \ - /usr/lib/lib* \ - /usr/lib/xorg/* \ - /usr/lib/gstreamer*/* \ - /home/root/.local/share/applications/* \ -" -FILES_${PN}-restricted-codecs += " \ - /lib/firmware/*.axf \ -" -FILES_${PN}-nv-gstapps += " \ - /usr/bin/* \ - /usr/lib/libpcre* \ - /usr/share/doc/nv_gstapps/* \ -" - -#no gnu_hash in NVIDIA binaries, skip QA ldflags -#we have symlinks ending in .so, skip QA dev-so -#the qa check is not able to follow the libpcre symlink, skip QA file-rdeps -#inhibit warnings about files being stripped -INSANE_SKIP_${PN} = "dev-so ldflags already-stripped textrel" -INSANE_SKIP_${PN}-nv-gstapps = "dev-so ldflags already-stripped textrel file-rdeps" - -do_patch () { - mkdir -p OpenMAX/il - unzip -o -d OpenMAX/il OpenMAX_IL_1_1_2_Header.zip - cd ${WORKDIR}/khronos_headers - patch -p 1 < ${WORKDIR}/0001-egl-Add-EGL_PLATFORM_X11_KHR-alias-to-EGL_PLATFORM_X.patch -} - -do_compile () { - #unpack the different packages - #nvidia drivers - mkdir -p nvidia_drivers - tar -C nvidia_drivers -xjf ${WORKDIR}/Linux_for_Tegra/nv_tegra/nvidia_drivers.tbz2 - tar -C nvidia_drivers -xjf ${WORKDIR}/Linux_for_Tegra/nv_tegra/config.tbz2 - - #nvidia sample gstreamer apps - mkdir -p nvgstapps/usr/share/doc/nv_gstapps - tar -C nvgstapps -xjf ${WORKDIR}/Linux_for_Tegra/nv_tegra/nv_sample_apps/nvgstapps.tbz2 - cp ${WORKDIR}/Linux_for_Tegra/nv_tegra/nv_sample_apps/nv*.txt nvgstapps/usr/share/doc/nv_gstapps/ - - #restricted codecs - mkdir -p restricted_codecs - tar -C restricted_codecs -xjf ${WORKDIR}/restricted_codecs.tbz2 -} - -do_install () { - #nvidia_driver - install -d ${D}/usr/lib/xorg/modules/drivers ${D}/home/root/.local/share/applications/ - install -d ${D}/lib/firmware/ - install -d ${D}/${sysconfdir}/X11 ${D}/${sysconfdir}/init ${D}/${sysconfdir}/udev/rules.d - install -m 0644 nvidia_drivers/${sysconfdir}/X11/xorg.conf ${D}/${sysconfdir}/X11/xorg.conf.nvidia - install -m 0755 nvidia_drivers/${sysconfdir}/init/* ${D}/${sysconfdir}/init/ - install -m 0644 nvidia_drivers/${sysconfdir}/udev/rules.d/* ${D}/${sysconfdir}/udev/rules.d/ - install -m 0644 nvidia_drivers/${sysconfdir}/nv* ${D}/${sysconfdir}/ - install -m 0644 nvidia_drivers/${sysconfdir}/wpa_supplicant.conf ${D}/${sysconfdir}/wpa_supplicant.conf.nvidia - install -m 0644 nvidia_drivers/lib/firmware/* ${D}/lib/firmware/ - install -m 0644 nvidia_drivers/usr/lib/*.so ${D}/usr/lib/ - install -m 0644 nvidia_drivers/usr/lib/*.so.? ${D}/usr/lib/ - rm ${D}/usr/lib/libjpeg.so - install -m 0644 nvidia_drivers/usr/lib/xorg/modules/drivers/* ${D}/usr/lib/xorg/modules/drivers/ - ln -s tegra_drv.abi${XSERVER_DRIVER_ABI_REQUIRED}.so ${D}/usr/lib/xorg/modules/drivers/tegra_drv.so - # create symlink to the shared libs for development, *.so -> *.so.x - export LIBNAME=`ls ${D}/usr/lib/libGLESv2.so.?` - export LIBNAME=`basename $LIBNAME` - ln -s $LIBNAME ${D}/usr/lib/libGLESv2.so - export LIBNAME=`ls ${D}/usr/lib/libEGL.so.?` - export LIBNAME=`basename $LIBNAME` - ln -s $LIBNAME ${D}/usr/lib/libEGL.so - export LIBNAME=`ls ${D}/usr/lib/libGLESv1_CM.so.?` - export LIBNAME=`basename $LIBNAME` - ln -s $LIBNAME ${D}/usr/lib/libGLESv1_CM.so - - #nvidia sample gstreamer apps - install -d ${D}/usr/bin ${D}/usr/lib/gstreamer-0.10 ${D}/usr/share/doc/nv_gstapps - install -d ${D}/usr/lib/xorg/modules/drivers ${D}/home/root/.local/share/applications/ - install -m 0755 nvgstapps/usr/bin/* ${D}/usr/bin/ - install -m 0644 nvgstapps/usr/lib/gstreamer-0.10/*.so ${D}/usr/lib/gstreamer-0.10/ - install -m 0644 nvgstapps/usr/share/doc/nv_gstapps/* ${D}/usr/share/doc/nv_gstapps/ - install -m 0644 ${WORKDIR}/*.desktop ${D}/home/root/.local/share/applications/ - install -m 0644 ${WORKDIR}/mimeapps.list ${D}//home/root/.local/share/applications/ - ln -s libpcre.so.1 ${D}/usr/lib/libpcre.so.3 - ln -s libpcreposix.so.0 ${D}/usr/lib/libpcreposix.so.3 - - #nvidia restricted codecs - install -d ${D}/lib/firmware/ - install -m 0644 restricted_codecs/lib/firmware/* ${D}/lib/firmware/ - - #khronos headers for EGL/GLES/GLES2/OpenMax - for dir in EGL GLES GLES2 KD KHR - do - install -d ${D}${includedir}/$dir - install -m 0644 ${WORKDIR}/khronos_headers/$dir/* ${D}${includedir}/$dir - done - - #Override eglplatform.h that khronos provide. - install -m 0644 ${WORKDIR}/eglplatform.h ${D}${includedir}/EGL/ - - dir="OpenMAX/il" - install -d ${D}${includedir}/$dir - install -m 0644 ${WORKDIR}/$dir/* ${D}${includedir}/$dir - - install -d ${D}/usr/lib/pkgconfig - install -m 0644 ${WORKDIR}/*.pc ${D}/usr/lib/pkgconfig/ -} - -do_install_append_tegra3 () { - #OpenMAX-IL implementation library, evaluation version with fix to validate input frame rate - install -m 0644 ${WORKDIR}/libgstomx.so ${D}/usr/lib/gstreamer-0.10/ -} - -# Add the ABI dependency at package generation time, as otherwise bitbake will -# attempt to find a provider for it (and fail) when it does the parse. -python populate_packages_prepend() { - pn = d.getVar("PN", True) - d.appendVar("RDEPENDS_" + pn, " xorg-abi-video-${XSERVER_DRIVER_ABI_REQUIRED}") -} diff --git a/recipes-bsp/tegrastats/files/Tegrastats-gtk.desktop b/recipes-bsp/tegrastats/files/Tegrastats-gtk.desktop deleted file mode 100755 index 5424c2a..0000000 --- a/recipes-bsp/tegrastats/files/Tegrastats-gtk.desktop +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/env xdg-open - -[Desktop Entry] -Version=1.0 -Type=Application -Terminal=false -Icon[C]=gnome-monitor.png -Exec=/usr/bin/tegrastats-gtk -Name[C]=Tegrastats-gtk -Name=Tegrastats-gtk -Icon=gnome-monitor.png diff --git a/recipes-bsp/tegrastats/files/apalis-tk1/tegrastats b/recipes-bsp/tegrastats/files/apalis-tk1/tegrastats Binary files differdeleted file mode 100755 index 22a42cf..0000000 --- a/recipes-bsp/tegrastats/files/apalis-tk1/tegrastats +++ /dev/null diff --git a/recipes-bsp/tegrastats/files/tegrastats b/recipes-bsp/tegrastats/files/tegrastats Binary files differindex 5f76593..22a42cf 100755 --- a/recipes-bsp/tegrastats/files/tegrastats +++ b/recipes-bsp/tegrastats/files/tegrastats diff --git a/recipes-bsp/tegrastats/files/tegrastats-gtk b/recipes-bsp/tegrastats/files/tegrastats-gtk Binary files differdeleted file mode 100755 index 53d250d..0000000 --- a/recipes-bsp/tegrastats/files/tegrastats-gtk +++ /dev/null diff --git a/recipes-bsp/tegrastats/tegrastats.bb b/recipes-bsp/tegrastats/tegrastats.bb index 0718a5d..d1bc364 100644 --- a/recipes-bsp/tegrastats/tegrastats.bb +++ b/recipes-bsp/tegrastats/tegrastats.bb @@ -1,35 +1,21 @@ SUMMARY = "NVIDIAS tegrastats" -DESCRIPTION = "NVIDIAS tegrastats in a commandline version and one with output to a gtk title bar, gives information about cpu use" +DESCRIPTION = "NVIDIAS tegrastats gives information about cpu use for TK1" LICENSE = "CLOSED" PR = "r3" -SRC_URI = " \ - file://tegrastats \ - file://tegrastats-gtk \ - file://Tegrastats-gtk.desktop \ -" +SRC_URI = "file://tegrastats" S = "${WORKDIR}" -PACKAGES_prepend = "${PN}-gtk " - # Inhibit warnings about files being stripped. # Inhibit warnings about missing DEPENDS, Files are provided in binary form" INSANE_SKIP_${PN} = "already-stripped build-deps file-rdeps ldflags" -INSANE_SKIP_${PN}-gtk = "already-stripped build-deps file-rdeps" - do_install() { - install -d ${D}${bindir}/ ${D}/home/root/Desktop/ + install -d ${D}${bindir} install -m 0755 ${S}/tegrastats* ${D}${bindir}/ - install -m 0755 ${S}/Tegrastats-gtk.desktop ${D}/home/root/Desktop/ } -FILES_${PN}-gtk = " \ - ${bindir}/tegrastats-gtk \ - /home/root/Desktop/Tegra* \ -" - FILES_${PN} = "${bindir}/tegrastats" - -PACKAGE_ARCH_tegra124 = "${MACHINE_ARCH}" +PACKAGE_ARCH = "${MACHINE_ARCH}" +COMPATIBLE_MACHINE = "tegra124" diff --git a/recipes-bsp/u-boot/files/apalis-t30/Apalis_T30_2GB_800Mhz.bct b/recipes-bsp/u-boot/files/apalis-t30/Apalis_T30_2GB_800Mhz.bct Binary files differdeleted file mode 100644 index f228cd2..0000000 --- a/recipes-bsp/u-boot/files/apalis-t30/Apalis_T30_2GB_800Mhz.bct +++ /dev/null diff --git a/recipes-bsp/u-boot/files/apalis-t30/apalis_t30.img.cfg b/recipes-bsp/u-boot/files/apalis-t30/apalis_t30.img.cfg deleted file mode 100644 index 6fbdc0d..0000000 --- a/recipes-bsp/u-boot/files/apalis-t30/apalis_t30.img.cfg +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright (C) 2014 Toradex, Inc. -# -# This software is provided 'as-is', without any express or implied -# warranty. In no event will the authors be held liable for any damages -# arising from the use of this software. -# -# Permission is granted to anyone to use this software for any purpose, -# including commercial applications, and to alter it and redistribute it -# freely, subject to the following restrictions: -# -# 1. The origin of this software must not be misrepresented; you must not -# claim that you wrote the original software. If you use this software -# in a product, an acknowledgment in the product documentation would be -# appreciated but is not required. -# 2. Altered source versions must be plainly marked as such, and must not be -# misrepresented as being the original software. -# 3. This notice may not be removed or altered from any source distribution. - -Version = 0x00020001; -Bctcopy = 1; -Bctfile = Apalis_T30_2GB_800Mhz.bct; -BootLoader = u-boot-dtb-tegra.bin,0x80108000,0x80108000,Complete; diff --git a/recipes-bsp/u-boot/files/apalis-t30/fw_env.config b/recipes-bsp/u-boot/files/apalis-t30/fw_env.config deleted file mode 100644 index d2be4ee..0000000 --- a/recipes-bsp/u-boot/files/apalis-t30/fw_env.config +++ /dev/null @@ -1,15 +0,0 @@ -# Configuration file for fw_(printenv/setenv) utility. -# Up to two entries are valid, in this case the redundant -# environment sector is assumed present. -# Device offset must be prefixed with 0x to be parsed as a hexadecimal value. -# On a block device a negative offset is treated as a backwards offset from the -# end of the device/partition, rather than a forwards offset from the start. - -# Colibri T30/Apalis T30 -# U-Boot environment is stored at the end of the first eMMC boot partition -# hence use a negative value. The environment is just in front of the config -# block which occupies the last sector (hence -0x200) - -# Block device name Device offset Env. size -/dev/mmcblk0boot0 -0x2200 0x2000 - diff --git a/recipes-bsp/u-boot/files/tegra2/fw_env.config b/recipes-bsp/u-boot/files/tegra2/fw_env.config deleted file mode 100644 index 9d00835..0000000 --- a/recipes-bsp/u-boot/files/tegra2/fw_env.config +++ /dev/null @@ -1,11 +0,0 @@ -# Configuration file for fw_(printenv/setenv) utility. -# Up to two entries are valid, in this case the redundant -# environment sector is assumed present. -# Notice, that the "Number of sectors" is not required on NOR and SPI-dataflash. -# Futhermore, if the Flash sector size is ommitted, this value is assumed to -# be the same as the Environment size, which is valid for NOR and SPI-dataflash - -# MTD device name Device offset Env. size Flash sector size Number of sectors -#Colibri T20: flash sector size depends on module type and version -#/dev/mtd3 0x00000000 0x00001000 0x00040000 1 - diff --git a/recipes-bsp/u-boot/files/tegra3/fw_env.config b/recipes-bsp/u-boot/files/tegra3/fw_env.config deleted file mode 100644 index d2be4ee..0000000 --- a/recipes-bsp/u-boot/files/tegra3/fw_env.config +++ /dev/null @@ -1,15 +0,0 @@ -# Configuration file for fw_(printenv/setenv) utility. -# Up to two entries are valid, in this case the redundant -# environment sector is assumed present. -# Device offset must be prefixed with 0x to be parsed as a hexadecimal value. -# On a block device a negative offset is treated as a backwards offset from the -# end of the device/partition, rather than a forwards offset from the start. - -# Colibri T30/Apalis T30 -# U-Boot environment is stored at the end of the first eMMC boot partition -# hence use a negative value. The environment is just in front of the config -# block which occupies the last sector (hence -0x200) - -# Block device name Device offset Env. size -/dev/mmcblk0boot0 -0x2200 0x2000 - diff --git a/recipes-bsp/u-boot/u-boot-toradex-fw-utils_git.bb b/recipes-bsp/u-boot/u-boot-toradex-fw-utils_git.bb index 5dba294..56caa08 100644 --- a/recipes-bsp/u-boot/u-boot-toradex-fw-utils_git.bb +++ b/recipes-bsp/u-boot/u-boot-toradex-fw-utils_git.bb @@ -9,12 +9,7 @@ DEPENDS = "mtd-utils" include conf/tdx_version.conf inherit tegra-u-boot-localversion -COMPATIBLE_MACHINE = "(apalis-t30|apalis-tk1|colibri-t20|colibri-t30)" - -DEFAULT_PREFERENCE_apalis-t30 = "1" -DEFAULT_PREFERENCE_apalis-tk1 = "1" -DEFAULT_PREFERENCE_colibri-t20 = "1" -DEFAULT_PREFERENCE_colibri-t30 = "1" +COMPATIBLE_MACHINE = "(apalis-tk1)" FILESPATHPKG =. "git:" @@ -59,10 +54,6 @@ install_unlock_emmc() { install -m 0644 ${WORKDIR}/fw_unlock_mmc.sh ${D}${sysconfdir}/profile.d/fw_unlock_mmc.sh } -do_install_append_tegra3() { - install_unlock_emmc -} - do_install_append_tegra124() { install_unlock_emmc } @@ -71,10 +62,6 @@ do_install_append_tegra124m() { install_unlock_emmc } -pkg_postinst_ontarget_${PN}_colibri-t20 () { - grep u-boot-env /proc/mtd | awk '{print "/dev/" substr($1,0,4) " 0x00000000 0x00010000 0x" $3 " 1" >> "/etc/fw_env.config" }' -} - do_install_class-cross () { install -d ${D}${bindir_cross} install -m 755 ${S}/tools/env/fw_printenv ${D}${bindir_cross}/fw_printenv diff --git a/recipes-bsp/u-boot/u-boot-toradex_git.bb b/recipes-bsp/u-boot/u-boot-toradex_git.bb index 798c395..9237c6a 100644 --- a/recipes-bsp/u-boot/u-boot-toradex_git.bb +++ b/recipes-bsp/u-boot/u-boot-toradex_git.bb @@ -5,19 +5,13 @@ inherit tegra-u-boot-localversion PROVIDES = "u-boot virtual/bootloader" DEPENDS += "dtc-native" -DEPENDS_append_apalis-t30 = " cbootimage-native" DEPENDS_append_apalis-tk1 = " cbootimage-native" DEPENDS_append_apalis-tk1-mainline = " cbootimage-native" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6" -COMPATIBLE_MACHINE = "(apalis-t30|apalis-tk1|colibri-t20|colibri-t30)" - -DEFAULT_PREFERENCE_apalis-t30 = "1" -DEFAULT_PREFERENCE_apalis-tk1 = "1" -DEFAULT_PREFERENCE_colibri-t20 = "1" -DEFAULT_PREFERENCE_colibri-t30 = "1" +COMPATIBLE_MACHINE = "(apalis-tk1)" FILESPATHPKG =. "git:" S = "${WORKDIR}/git" @@ -30,10 +24,7 @@ SRC_URI = " \ git://git.toradex.com/u-boot-toradex.git;protocol=git;branch=${SRCBRANCH} \ file://0001-libfdt-move-headers-to-linux-libfdt.h-and-linux-libf.patch \ " -SRC_URI_append_apalis-t30 = " \ - file://apalis_t30.img.cfg \ - file://Apalis_T30_2GB_800Mhz.bct \ -" + SRC_URI_append_apalis-tk1 = " \ file://apalis-tk1.img.cfg \ file://PM375_Hynix_2GB_H5TC4G63AFR_RDA_924MHz.bct \ @@ -48,12 +39,6 @@ PR = "${TDX_VER_ITEM}" PACKAGE_ARCH = "${MACHINE_ARCH}" -do_deploy_append_apalis-t30() { - cd ${DEPLOYDIR} - cp ${WORKDIR}/Apalis_T30_2GB_800Mhz.bct . - cbootimage -s tegra30 ${WORKDIR}/apalis_t30.img.cfg apalis_t30.img - rm Apalis_T30_2GB_800Mhz.bct -} do_deploy_append_apalis-tk1() { cd ${DEPLOYDIR} cp ${WORKDIR}/PM375_Hynix_2GB_H5TC4G63AFR_RDA_924MHz.bct . |