Issue with GL driver on Raspbian Stretch - Mender Hub

文章推薦指數: 80 %
投票人數:10人

However, when running raspi-config and trying to enable the GL driver (full KMS) it prompts no driver ... I would take it up with the Raspberrypi community. IssuewithGLdriveronRaspbianStretch GeneralDiscussions valtteric August5,2019,5:11pm #1 FollowedthistutorialwithRaspbianStretch2019-04-08,gotthedeviceworkingandregisteringtoMender.However,whenrunningraspi-configandtryingtoenabletheGLdriver(fullKMS)itpromptsnodriver/kernelinstalled. Runningapt-getdist-upgradeforthedevicefixesthis,butwhatisthecorrectwaytoenablethisstraighttotheconvertedimage?(I’massumingdoingthedist-upgradeforthegoldendevicedoesnotfixthis,theGLdriversshouldbeinplacewithoutitanyway.) Thanks. RaspberryPi3ModelB/B+Raspbian mirzak August5,2019,5:25pm #2 I’massumingdoingthedist-upgradeforthegoldendevicedoesnotfixthis Thiswouldseemthecorrectapproachtome.Thatis, bootthegoldenimage runthecommandsyouneedtoinstallthenecessaryparts shutdownthesystem dumptheSDcard runintroughmender-convert Ifthenecessarypartsarenotpresentina“stock”image,andyouwouldexpectthemtobe,IwouldtakeitupwiththeRaspberrypicommunity. valtteric August5,2019,8:53pm #3 ThevanillaraspbiandoeshaveaworkingGLsetupwithnoneedforthedist-upgrade,that’swhyIwasassumingtheconvertedimageisusingsomeotherkernelorsomething. BulI’lltryitout. mirzak August6,2019,8:17am #4 RaspberryPi3ModelB/B+Raspbian ThevanillaraspbiandoeshaveaworkingGLsetupwithnoneedforthedist-upgrade,that’swhyIwasassumingtheconvertedimageisusingsomeotherkernelorsomething. Wetrytohaveverylittleimpactonimagecontentwhenweconvertthemandmostofitshouldbeintact. Whatwedochangeismostlyaroundthebootprocess,aswehavetoaddU-bootwhichisnotthereinastockimagebutrequiredtobeabletointegrateMendertoperformrobustupdatesusingtheA/Bapproach.Butkernelandalluser-spacecomponentsshouldbeas-is. ProblemswithRaspbianBuster valtteric August12,2019,12:02pm #5 Icreatedanactualgoldenimagenow,verifiedit’sworkingproperlyandcanbeflashedtoanotherdeviceswithnoissueswiththeGL. Didamender-convertforit,I’mnowfacing2issues: TheGLisnotworking.Thisisunfortunatelyashowstopperforus.Theraspi-configisnotveryinformative,attachedscreenshots.Inanycase,it’squitecertainsomething’shappeninduringthemenderconvert.YoucanmostlikelyreproducethisbyjusttryingtoenabletheGLdriverwithaconvertedvanillaraspbian. ThedeviceisnotshownonMenderdashboardeventhoughit’sconnectedtotheinternet.Wedohaveafirewallenabledonthesystem,butifIunderstoodcorrectlythereshouldn’tbearequirementforincomingtrafficbecauseofMender? I’mhappytocontinuethisconversationprivatelyviaemailaswell. mirzak August12,2019,12:17pm #6 Thankyoufortheupdate@valtteric.Iwouldpreferifwecancontinuethediscussionshere(Ihavemovedthistoaseparatetopicontheforum). TheGLisnotworking.Thisisunfortunatelyashowstopperforus.Theraspi-configisnotveryinformative,attachedscreenshots.Inanycase,it’squitecertainsomething’shappeninduringthemenderconvert.YoucanmostlikelyreproducethisbyjusttryingtoenabletheGLdriverwithaconvertedvanillaraspbian. Iwilltakeacloserlookonwhatthatrpi-configistryingtodoandwhyitwouldfailonaconvertedimage. ThedeviceisnotshownonMenderdashboardeventhoughit’sconnectedtotheinternet.Wedohaveafirewallenabledonthesystem,butifIunderstoodcorrectlythereshouldn’tbearequirementforincomingtrafficbecauseofMender? ThereisnorequirementforinboundtrafficbecauseofMenderonthedevice.Canyoutryrunningsudojournalctl-f-a-umenderandprovidetheoutputhere. mirzak August12,2019,12:28pm #7 TheGLisnotworking.Thisisunfortunatelyashowstopperforus.Theraspi-configisnotveryinformative,attachedscreenshots.Inanycase,it’squitecertainsomething’shappeninduringthemenderconvert.YoucanmostlikelyreproducethisbyjusttryingtoenabletheGLdriverwithaconvertedvanillaraspbian. Thisiswhyitiscomplaining, if[!-e/boot/overlays/vc4-kms-v3d.dtbo];then whiptail--msgbox"Driverandkernelnotpresentonyoursystem.Pleaseupdate"20602 return1 fi Thisissomethingthatischangedonaconvertedimage,aswemountthebootpartitionon/ubootinsteadof/bootwhichisdoneonastockimageanditwillnotabletofind/boot/overlays/vc4-kms-v3d.dtbo Butlookingatwhattheraspi-configtoolistryingtodoisbasicallyaddingalineto/uboot/config.txt,sotheequivalentcommandtoenableFullKMSusingashellwouldbe: echo'dtoverlay=vc4-kms-v3d'|sudotee-a/uboot/config.txt Thereisactuallyanpull-requestopentoenablethisbydefault,tosolveotherproblemsthatarepresentonRaspbianBuster.Moreinfoonthishere mirzak August12,2019,12:35pm #8 AlsoIbelivethatthereisaprobleminthe1.x.xversionofmender-convertthatremovesanychangesyoumadetothegoldenimage(atleastoverlays). Wehavefixedthisinthemasterbranch,andspecificallythiscommit.Ifyoucouldtryusingmasterbranchofmender-convertandreportbackthatwouldbegreat. mirzak August12,2019,12:41pm #9 AlsoIwouldliketohighlightthis, Newiterationofthemender-converttoolGeneralDiscussions Hi, Asyoumightbeawareofwehaveatoolwecallmender-converttoenablesupportforMenderonbinarydistributions. Wearehappythatthishasworkedout,enablingpeopletosecurelyupdatetheirdevicesonnon-Yoctodevices.Eventhoughwearehappywiththefunctionalityofthecurrenttool,thereareacoupledrawbacksinthecurrentdesignofthetool,whichwewanttoimprove.Welookedhardatthecurrentcodeanddecided,toachievethedesireddesignwewouldneedtodoare-wri… Thenewiterationshouldalsowork,ifyouhaveenabledFullKMSonyourgoldenimage.(thoughraspi-configwillprobablyshowsameproblem) valtteric August12,2019,2:10pm #10 Hi,soundsgreat!Yeahtheideaisthateverythingshouldbeproperlyconfiguratedwithinthegoldenimageandnoneedtotweakraspi-configoranythingelseinthatregard.I’lltrythingsouttomorrowandreportback. Thanks! valtteric August13,2019,7:27am #11 mirzak: ThereisnorequirementforinboundtrafficbecauseofMenderonthedevice.Canyoutryrunningsudojournalctl-f-a-umenderandprovidetheoutputhere. ThereareauthorizationfailederrorsreturnedfromMender,I’mquitesureIjustforgottosetupthetokenafterredoingmostofthestepswiththecontainer. valtteric August13,2019,12:29pm #12 Goteverythingworkingprettymuchperfectlyusingthemasterbranch.Thanks! 1Like mirzak August13,2019,12:57pm #13 Greattohear.Thanksforreportingback. xandrei2772 November26,2021,1:10pm #14 (postdeletedbyauthor) xandrei2772 November26,2021,2:55pm #15 heyimrunningintothesameissue,icantseemtounderstandthesolutionveryclearcanyoupleaseexplainthestepstogoaboutfixingthisagain



請為這篇文章評分?