From fa7ca293d983cf3039c96b904b84c5caea8c9ee7 Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Sun, 23 Dec 2018 11:37:13 +0100 Subject: [PATCH] some adds --- create_arm_img_urpmi.sh | 8 ++- rpi/brcmfmac43455-sdio.clm_blob | Bin 0 -> 11231 bytes rpi/brcmfmac43455-sdio.txt | 92 ++++++++++++++++++++++++++++++++ tools/install_graphical.sh | 8 +-- tools/install_gstreamer.sh | 2 +- 5 files changed, 103 insertions(+), 7 deletions(-) create mode 100644 rpi/brcmfmac43455-sdio.clm_blob create mode 100644 rpi/brcmfmac43455-sdio.txt diff --git a/create_arm_img_urpmi.sh b/create_arm_img_urpmi.sh index 2120849..eb1ebec 100755 --- a/create_arm_img_urpmi.sh +++ b/create_arm_img_urpmi.sh @@ -564,6 +564,10 @@ brcmfmac" >> "$BUILD_PATH"/etc/modules info "copying u-boot for $TARGET 3 32 bits" cp "$BUILD_PATH/usr/lib/u-boot/rpi_3_32b/u-boot.bin" "$RPI_BOOT/kernel7.img" ;; + 3+) + info "copying u-boot for $TARGET 3b+ 32 bits" + cp "$BUILD_PATH/usr/lib/u-boot/rpi_3_32b/u-boot.bin" "$RPI_BOOT/kernel7.img" + ;; esac # info "copying raspberry optionals files in opt" @@ -573,8 +577,8 @@ brcmfmac" >> "$BUILD_PATH"/etc/modules if ! [ -d "$ROOT/usr/lib/firmware/brcm/" ];then /bin/mkdir -p "$ROOT/usr/lib/firmware/brcm/" fi - if ! [ -f "$ROOT/usr/lib/firmware/brcm/brcmfmac43430-sdio.txt" ];then - /bin/cp "$SOURCE_PATH/$CONFIG_PATH/brcmfmac43430-sdio.txt" "$ROOT/usr/lib/firmware/brcm/" + if ! [ -f "$ROOT/usr/lib/firmware/brcm/brcmfmac434"* ];then + /bin/cp "$SOURCE_PATH/$CONFIG_PATH/brcmfmac434"* "$ROOT/usr/lib/firmware/brcm/" if [ $? -ne 0 ];then error "line $LINENO error copying wifi firmware in $ROOTP/usr/lib/firmware/brcm/ : exiting" exit 1 diff --git a/rpi/brcmfmac43455-sdio.clm_blob b/rpi/brcmfmac43455-sdio.clm_blob new file mode 100644 index 0000000000000000000000000000000000000000..09b930be33e3e16171f56a2ef146b5d7b8036fd1 GIT binary patch literal 11231 zcmd5?OKclicD?Vt;;*O=zox98NlBI^Syq#>EXxvGLl%qTuSl0kil#J9(&Gq*(a3m= zfnzj`MyD4IBWM_nMvzWpFpI`4yqd*eW))yIvrCp)1p{P&Ad6&?Re)>*IOo2qlI?B> znE|qhU|H{T-+lLU?tQAOGmbPxkYrt?Rp6 z*Mm;|*ZT2~esK1uKl$DI=0*~UMXkLQ1wBKj?Ul~RU^skmVn5hH4tMm!V= z#iP+!EEbQ)S65fJR(DqqS0AlDUHxSB`RW&|->m*(YioCR_i*>o?$h1phldXyJb3ir zlLyZqeDUC$M~@yoee}tr=a0U4{`~nD&%b{D%@<#M{q@)1eEo}WzNywlwJ)keQ9YJc zU04la^+c^IYfVu*5w%lc*OlE7^}47J#8FEe^+m%HjlO8&-?3=fp;leA2BI|-ZC7^s zM(3_@TEZC$=U6x+(XEQ^P;|$l=ZM~I;X1+{3im|xZ;Sr17}Uj}B?cWa>_>)o&rlTR)$`QMMcVyhNGl4W%vz| zCdqv=?1<5h$#&eZCydvfvZCak3P?jB<>67;oO*+U!Nb8aYV4nL4IPo;O6f)oXA0Ek z92}D9>48Ixdwdx}_ehS&_#`UsP07(~>TfZTtU`#?P>9pG7)}alyb_s^6i!HR9~Vbl zRDP@UT8Rl1g+vBsVg*9-Xv%OB#%@}A%@i(c9V#)Sn2?(ZqjKJ(Duz)B%dM2*@g-GJ z!XpaC9+F{&SpUN*!%7$%JQmWxH^Y$8!yhdhiTmeb%3g^3m~1gj;-fG^k3*g*bI{_R zN6E#ZS6o5y?CqivsHuIMQLuyZ?O>=qGAgFA2dSaF^b7^>g)lP|VOx;ws^j8HfdjhS(SE771c8Z>j* z2vfwxgqRdlQc6?C<%Eivra2jpPfScqPE1WsPE9RstrSaO z$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8d1=B#nbC@)D6FY?Csfyo>-=IR@ zUo=Ytol;6v7$B4A4a@)_(LpreHIA2?K@ezo<@aVE1UsTZgJzEAZ)14Fn6Va`C6PpfzBpFvbQ5A|1km z(M2R)-Zt9&_7=!hn;|r zFLP-a$UKD1dc_|irRY3A41^y-c(1GP?`en7LdV5$s7yP7Gvg5IXibNA5lHmMxYD{S zLM}h{<0}igP2WdLpw2N|sr`OjjhcIjU7U=o3G-I^CY6q%1uq z7*j{V2(aOEE{*EErD;-f#Kz?0Ir2}wsZq<9XXG1-Mm^+&1XiLEV62zyyX=dUO^LgJ zI-4aq#s&2Z&EhCu@~0SY)4Yn|@?m_Pr?^FV+yt14cPV4+Fcx&7PvVaHBhX-v7@Ag8 zzzu;`Igh90$piBMqee6xo5cBje3uq(EMKRk@tCIgu$CVqs5Sh?r<7tl=W&scG^QmL zPD;=MEr}BZwO6`EF}g z;2RD+Z4YzmjpCemC9}CKbIdVE?|Y9~wB~ZT8s^R^tEQMLm&@3?Ua`;X5-;7#wN;G2 z55WsIB`NSQCU5;RWiU^ zo!;o()xC992ztTz^nxDfb=hh@n3d%TIs>kkJgBnYX4Mi0;5>@+fUu$9fYKD+cZLhl zF$#=wctL7>=3~MdIz>PeiRV$}0MiGo<3%vcypcZ+8i#lmsMf}*0a%$?!c(KNiYlnxDo!*@yOd$R`26!}{l8UR2*mY~Lc7@$ASU zkIA;xCMH8H;gwDoVR^jJX{gL)b&LU2Ue_B`84Q34uX2LImj+Hvt#fWz!)UyQ#>W1}ha1l}KHvE1#?SZn_dneK{KF4FeD>kzAO7^& VvuB?_`}yaefBsYa{2aG$^xt@eZ`%L> literal 0 HcmV?d00001 diff --git a/rpi/brcmfmac43455-sdio.txt b/rpi/brcmfmac43455-sdio.txt new file mode 100644 index 0000000..260c929 --- /dev/null +++ b/rpi/brcmfmac43455-sdio.txt @@ -0,0 +1,92 @@ +# Cloned from bcm94345wlpagb_p2xx.txt +NVRAMRev=$Rev: 498373 $ +sromrev=11 +vendid=0x14e4 +devid=0x43ab +manfid=0x2d0 +prodid=0x06e4 +#macaddr=00:90:4c:c5:12:38 +macaddr=b8:27:eb:74:f2:6c +nocrc=1 +boardtype=0x6e4 +boardrev=0x1304 + +#XTAL 37.4MHz +xtalfreq=37400 + +btc_mode=1 +#------------------------------------------------------ +#boardflags: 5GHz eTR switch by default +# 2.4GHz eTR switch by default +# bit1 for btcoex +boardflags=0x00480201 +boardflags2=0x40800000 +boardflags3=0x48200100 +phycal_tempdelta=15 +rxchain=1 +txchain=1 +aa2g=1 +aa5g=1 +tssipos5g=1 +tssipos2g=1 +femctrl=0 +AvVmid_c0=1,165,2,100,2,100,2,100,2,100 +pa2ga0=-129,6525,-718 +pa2ga1=-149,4408,-601 +pa5ga0=-185,6836,-815,-186,6838,-815,-184,6859,-815,-184,6882,-818 +pa5ga1=-202,4285,-574,-201,4312,-578,-196,4391,-586,-201,4294,-575 +itrsw=1 +pdoffsetcckma0=2 +pdoffset2gperchan=0,-2,1,0,1,0,1,1,1,0,0,-1,-1,0 +pdoffset2g40ma0=16 +pdoffset40ma0=0x8888 +pdoffset80ma0=0x8888 +extpagain5g=2 +extpagain2g=2 +tworangetssi2g=1 +tworangetssi5g=1 +# LTECX flags +# WCI2 +ltecxmux=0 +ltecxpadnum=0x0504 +ltecxfnsel=0x22 +ltecxgcigpio=0x32 + +maxp2ga0=80 +ofdmlrbw202gpo=0x0022 +dot11agofdmhrbw202gpo=0x4442 +mcsbw202gpo=0x98444422 +mcsbw402gpo=0x98444422 +maxp5ga0=82,82,82,82 +mcsbw205glpo=0xb9555000 +mcsbw205gmpo=0xb9555000 +mcsbw205ghpo=0xb9555000 +mcsbw405glpo=0xb9555000 +mcsbw405gmpo=0xb9555000 +mcsbw405ghpo=0xb9555000 +mcsbw805glpo=0xb9555000 +mcsbw805gmpo=0xb9555000 +mcsbw805ghpo=0xb9555000 + +swctrlmap_2g=0x00000000,0x00000000,0x00000000,0x010000,0x3ff +swctrlmap_5g=0x00100010,0x00200020,0x00200020,0x010000,0x3fe +swctrlmapext_5g=0x00000000,0x00000000,0x00000000,0x000000,0x3 +swctrlmapext_2g=0x00000000,0x00000000,0x00000000,0x000000,0x3 + +vcodivmode=1 +deadman_to=481500000 + +ed_thresh2g=-54 +ed_thresh5g=-54 +eu_edthresh2g=-54 +eu_edthresh5g=-54 +ldo1=4 +rawtempsense=0x1ff +cckPwrIdxCorr=3 +cckTssiDelay=150 +ofdmTssiDelay=150 +txpwr2gAdcScale=1 +txpwr5gAdcScale=1 +dot11b_opts=0x3aa85 +cbfilttype=1 +fdsslevel_ch11=6 diff --git a/tools/install_graphical.sh b/tools/install_graphical.sh index 4537ad6..a446922 100755 --- a/tools/install_graphical.sh +++ b/tools/install_graphical.sh @@ -16,8 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -if [ "$1" = "" ];then - echo "syntax install_graphical.sh [xfce | lxde | lxqt | plasma | gnome] ( see task-* for all )" +if [ "$1" = "" ] || [ "$1" = "-h" ];then + echo "syntax install_graphical.sh [ sugar | xfce | lxde | lxqt | enlightenment | mate | cinnamon plasma5 | gnome] ( see 'urpmq -Y task-' for all )" else PATH="$(/bin/dirname "$(readlink -f "$0")")" echo "installing Video drivers" @@ -25,6 +25,6 @@ else echo "installing gstreamer" . $PATH/install_gstreamer.sh echo "installing task-$1" - /usr/sbin/urpmi --auto --no-verify-rpm task-$1 sox + /usr/sbin/urpmi --auto --no-verify-rpm task-$1 sox sddm fi -systemctl enable sddm +/usr/bin/systemctl enable sddm diff --git a/tools/install_gstreamer.sh b/tools/install_gstreamer.sh index 83880da..5b39dbf 100755 --- a/tools/install_gstreamer.sh +++ b/tools/install_gstreamer.sh @@ -17,4 +17,4 @@ # along with this program. If not, see . -/usr/sbin/urpmi --auto --no-verify-rpm gstreamer1.0-schroedinger gstreamer1.0-gsm gstreamer1.0-plugins-ugly gstreamer1.0-opencv gstreamer1.0-vp8 gstreamer1.0-flac gstreamer1.0-amrnb gstreamer1.0-plugins-bad gstreamer1.0-lame gstreamer1.0-plugins-good gstreamer1.0-twolame gstreamer1.0-ofa gstreamer1.0-libav gstreamer1.0-pulse gstreamer1.0-transcoder gstreamer1.0-faad gstreamer1.0-neon gstreamer1.0-mpeg gstreamer1.0-libvisual gstreamer1.0-wavpack gstreamer1.0-mpeg2enc gstreamer1.0-vaapi gstreamer1.0-x264 gstreamer1.0-tools gstreamer1.0-editing-services gstreamer1.0-speex gstreamer1.0-x265 gstreamer1.0-soup gstreamer1.0-a52dec gstreamer1.0-libass gstreamer1.0-omx +/usr/sbin/urpmi --auto --no-verify-rpm gstreamer1.0-gsm gstreamer1.0-plugins-ugly gstreamer1.0-opencv gstreamer1.0-vp8 gstreamer1.0-flac gstreamer1.0-amrnb gstreamer1.0-plugins-bad gstreamer1.0-lame gstreamer1.0-plugins-good gstreamer1.0-twolame gstreamer1.0-ofa gstreamer1.0-libav gstreamer1.0-pulse gstreamer1.0-transcoder gstreamer1.0-neon gstreamer1.0-mpeg gstreamer1.0-libvisual gstreamer1.0-wavpack gstreamer1.0-mpeg2enc gstreamer1.0-vaapi gstreamer1.0-x264 gstreamer1.0-tools gstreamer1.0-editing-services gstreamer1.0-speex x265 gstreamer1.0-soup gstreamer1.0-a52dec gstreamer1.0-libass gstreamer1.0-omx qt5-gstreamer task-codec-audio task-codec-video task-pulseaudio