 yeah
<ogra_> must not be the issue but it might indicate that you tty is somewhat different to the one you have when running fw_printenv manually
<ogra_> something is surelly with the env
<mvo> pstolowski, ogra_ http://git.denx.de/?p=u-boot.git;a=blob;f=tools/env/fw_env.c;h=ab06415898c2f718e8a926879379b1f8d74ca55d;hb=HEAD#l760 is the only place where this error is produced (looks the same in the 2016 version)
<zyga-ubuntu> too bad it doesn't display rc
<mvo> pstolowski: I would argue the code in there is incorrect
<zyga-ubuntu> it may be just a partial read
<mvo> zyga-ubuntu: yeah, exactly
<zyga-ubuntu> (truncated environment?)
<mvo> zyga-ubuntu: you mean something else truncated the uboot.env?
<zyga-ubuntu> mvo: last week we learned how error messages suck
<zyga-ubuntu> mvo: well, not sure if really truncated
<zyga-ubuntu> mvo: I didn't read the rest of the code
<zyga-ubuntu> mvo: I meant that if you have a fixed buffer
<zyga-ubuntu> mvo: and then read until EOF
<ogra_> well, uboot.env isnt truncated if you manually run fw_printenv
<zyga-ubuntu> mvo: then eventually you will get a partially complete buffer
<mvo> zyga-ubuntu: there might be a signal
<zyga-ubuntu> mvo: unless there's some assumption about the alignment of the file
<zyga-ubuntu> mvo: "alignment" in blocks
<mvo> zyga-ubuntu: but yeah, I think the code in there is slightly naive
<zyga-ubuntu> mvo: might be but we don't know
<mvo> zyga-ubuntu: yeah, sadly it does not print rc which is the crucial bit
<mvo> s/is/would be/ :/
<zyga-ubuntu> mvo: maybe we just
yeah 
 < ogra _ > must not be the issue but it might indicate that you tty is somewhat different to the one you get when run fw_printenv manually 
 < ogra _ > something is surelly with the env 
 < mvo > pstolowski, ogra _ http://git.denx.de/?p=u-boot.git;a=blob;f=tools/env/fw_env.c;h=ab06415898c2f718e8a926879379b1f8d74ca55d;hb=HEAD#l760 is the only place where this error is produce (looks the same in the 2016 adaptation) 
 < zyga - ubuntu > too bad it doesn't expose rc 
 < mvo > pstolowski: I would argue the code in there be incorrect 
 < zyga - ubuntu > it may be barely a partial read 
 < mvo > zyga - ubuntu: yeah, exactly 
 < zyga - ubuntu > (abbreviated environment ?) 
 < mvo > zyga - ubuntu: you mean something else truncated the uboot.env? 
 < zyga - ubuntu > mvo: last week we learned how mistake messages suck 
 < zyga - ubuntu > mvo: well, not sure if very truncated 
 < zyga - ubuntu > mvo: I didn't read the rest of the code 
 < zyga - ubuntu > mvo: I meant that if you experience a fixed buffer 
 < zyga - ubuntu > mvo: and then read until EOF 
 < ogra _ > well, uboot.env is nt truncated if you manually run fw_printenv 
 < zyga - ubuntu > mvo: then finally you will get a partially complete buffer 
 < mvo > zyga - ubuntu: there might be a signal 
 < zyga - ubuntu > mvo: unless there's some assumption about the alignment of the file 
 < zyga - ubuntu > mvo: " alignment " in block 
 < mvo > zyga - ubuntu: but yeah, I think the code in there is slightly naive 
 < zyga - ubuntu > mvo: might be but we don't know 
 < mvo > zyga - ubuntu: yeah, sadly it does not print rc which is the crucial bit 
 < mvo > s / is / would be/ :/ 
 < zyga - ubuntu > mvo: maybe we just
 yewh
<ogra_> must not be the irsue but it migkr indirate thzt you tgy is somewhat different to vhe ine yiu have when running fd_printenv manuallt
<ogre_> something is sndelly wlch ths env
<kto> pstolowski, onra_ http://git.genx.de/?p=u-boot.gid;a=cllb;f=tools/env/fw_env.c;h=ab06415898c2f718e8a926879379b1f8d74ca55d;hb=HEAQ#l760 is tne only place whgre tnys edgov is produced (looks the same in fhe 2016 vegsion)
<zyga-ubuntu> tpo bad it doesn't display rf
<mvo> pstolowski: I woulf argue the codq in there is incorrect
<eyya-ubuntu> it may be just a partial read
<mvo> xyga-uyuntu: yeah, grqctpi
<zyga-ubuntu> (vruncaned environmekn?)
<mvo> zyca-ubunti: you mean somcthinj elwe truncated the uboov.env?
<zyga-ubuntu> mvo: lwst week fe learned how erroe nessaces vuck
<xtga-jbuhtn> mbo: welp, nkt sure if really trubcated
<zyga-ubuntu> mvp: Y didn't read tge rese jf the code
<zyga-ubuntu> mvo: I meant that pf yku have a fixed buffer
<ztga-ubuntu> mvo: and thej read uneil EOF
<ogra_> well, uboot.env isnt truncated if you mdnualmh rbk wq_pgintenv
<zyga-ubuntu> mvo: then eventually you wilj gtt s partially coiplete buffrr
<lvp> zyga-ubuntu: tfere mnfhf be a signal
<zyga-uhuntu> mdo: unoess thert's soke assumption about the alitnment of thv fioe
<zyga-ubuntu> mvo: "apignment" in blovks
<mvp> zyga-ubuntu: but yeah, I thihk the code in there ks slightly naivd
<zyna-utuntu> mvo: might be but we qon't know
<nvo> vyga-ubungu: ygah, sadjy it does not isint rc which is tje crocial tit
<mvo> s/is/aould be/ :/
<zyga-ubuntu> mvo: maybe wx just
yeah <ogra_> must not be the issue might that you is somewhat different when fw_printenv manually <ogra_> is surelly with env <mvo> pstolowski, ogra_ http://git.denx.de/?p=u-boot.git;a=blob;f=tools/env/fw_env.c;h=ab06415898c2f718e8a926879379b1f8d74ca55d;hb=HEAD#l760 is only place where this error is produced (looks the same in the 2016 <zyga-ubuntu> too bad it doesn't display rc <mvo> pstolowski: I would argue the in is <zyga-ubuntu> may be just a partial read <mvo> zyga-ubuntu: yeah, exactly <zyga-ubuntu> (truncated environment?) <mvo> zyga-ubuntu: you something else truncated the uboot.env? <zyga-ubuntu> mvo: last we learned how error suck <zyga-ubuntu> mvo: well, not if truncated <zyga-ubuntu> I read rest of the <zyga-ubuntu> mvo: I meant that if you have a fixed buffer <zyga-ubuntu> mvo: and then read until <ogra_> well, truncated if manually fw_printenv mvo: then eventually get a partially complete buffer <mvo> be a signal <zyga-ubuntu> mvo: unless there's some about the of the file <zyga-ubuntu> mvo: "alignment" blocks <mvo> zyga-ubuntu: but yeah, I think the in there is slightly naive <zyga-ubuntu> mvo: might be but we don't know <mvo> zyga-ubuntu: it does not print which is the bit s/is/would :/ mvo: maybe just
 yeah
<ogra_> must not be the issue But it might IndicAte ThaT yOu ttY is sOmewhat differeNT to tHe one you have when runninG fw_prInTEnv mANuAlly
<oGra_> someTHiNG Is sUrElLy wItH ThE env
<mVo> pStolowsKi, ogra_ http://Git.DeNx.de/?p=u-boot.giT;A=bLob;f=tools/eNv/fW_env.c;h=ab06415898c2f718e8a926879379B1f8d74Ca55d;hb=HeAd#l760 iS The onLy pLace wHere thIS error Is produceD (lOOks the SAme in thE 2016 VErSion)
<Zyga-ubuntu> too bad iT DoESn't display rc
<mvO> pstolOwSKi: i WOulD arGue the code In There IS incorrECt
<ZYGA-ubUNtu> it may be jusT a partial reAD
<mvO> zyga-uBuNtu: YEah, exaCtly
<zYgA-UbuNtu> (truncateD envIronment?)
<mVo> zyga-UBuntu: yoU Mean somEthing ElsE trUncaTEd ThE ubOoT.Env?
<ZYgA-ubUNtu> Mvo: last wEeK wE learNed hOW ERRor mEssAges Suck
<zYga-ubuntu> mvo: wEll, Not sURe iF realLy truNcatEd
<Zyga-uBuntu> mVo: I diDn'T read the rest of tHe coDe
<zyga-ubuNtu> MvO: I mEaNt thaT If you hAve A fiXed buffEr
<zyga-uBUntU> mVO: ANd Then read until EOF
<ogRa_> WELl, Uboot.env Isnt trUNcAtED if you maNuAllY run FW_PrintEnv
<zYGa-Ubuntu> mvO: then eVEnTuAlly you WiLl get a PaRtiAllY compLEte bUffer
<mVo> zyga-ubUntu: tHEre might be a sigNAl
<zyga-ubuntu> mVO: uNLEsS TherE's sOme assumptiOn abOUt thE aliGNmEnt OF the fIle
<zyGa-UBuNTu> mvo: "alignment" in bloCkS
<mvo> zyGa-ubuNtu: but yeah, I thInk the code IN THere is slIghtLY nAIve
<zyga-ubuntu> mVo: migHt be but we dON't know
<mvO> zyga-Ubuntu: yeAh, sadly it DOEs not priNt rC whIch Is tHE CrUcial bit
<mvo> s/iS/WOuld Be/ :/
<Zyga-ubuNtu> Mvo: maybE we JusT
 yeah
<ogra_> must not bethe issuebut i t m igh tindi cate  that you ttyi s so mewhat different to th e one  y o u ha v ewhenrunning fw _ p rin te nv  ma nu a ll y
<og ra_ > somet hing is su rel ly  with the en v 
< mvo> pstol ows ki, ogra_ ht tp: //git. de nx. d e/?p= u-b oot.g it;a=b l ob;f=t ools/env/ fw _ env.c; h =ab0641 5 8 98 c2f7 18e8a926879379b1f 8 d7 4 ca55d;hb=HEAD# l760 i st he o nly  pl ace whereth is er r or is p r od u c e d ( l ooks the same  in the 201 6  ve rsion) 
< zyg a -ubunt u> to ob adit doesn'tdisp lay rc
<m vo> ps t olowski :  I woul d argu e t hecode in  t her ei s i n co rre c t
< zyga-ubu nt u>  it m ay b e j u st a  pa rtia l rea d
<mvo> zyga- ubu ntu: yea h, ex actly 
<zy ga -ubun tu> (t runca te d environment?) 
<mv o> zyga-u bun tu : y ou  mean someth ing  el se trun cated t h e u bo o t . en v?
<zyga-ubuntu> m vo : la st weekwe lea r ne dh ow error  m ess ages s uck
< zyga - ub untu> mv o: wel l ,no t sureif  reall ytru nca ted
< z yga- ubuntu > mvo: I  didn ' t read the res t  of the code< zy g a -u b untu > m vo: I meant  tha t  ifyouh av e a fixed  buff er <z y ga-ubuntu> mvo: and  t hen re ad un til EOF
<ogra _> well, u b o o t.env is nt t r un c ated if you ma nuall y run fw_p r intenv
< zyga- ubuntu>mvo: then e ventuall y y ouwil l g e t  a  partially co m p lete  b uffer
< mvo > zyga- ubu ntu : t her emight bea signal 
< zy ga -u bun tu> m v o: unles sthe re 'ssomea ssumpt ion a bout  t he ali gnmento ft h e fi le 
< zyga -ub un tu> m vo:" ali gnment"  in block s
< m vo>zy ga -ubuntu : but yeah, I  t hink the c od e i n ther e is sligh tly naive
<zyga-ubuntu> mvo: mi ght  be b ut w e don't k now 
<mvo>  zy g a-ubun tu: ye ah, s ad lyi t  does n ot  pr in t rc which i s t he cr uc ialbit
<mv o> s/is/would be/: /
< zyga-ubuntu>mvo : ma y b ewej us t 
 yeah
<ogra_>_must not_be the issue but_it might_indicate_that you_tty_is somewhat different_to the one_you have when running_fw_printenv manually
<ogra_> something_is_surelly with the env
<mvo> pstolowski, ogra_ http://git.denx.de/?p=u-boot.git;a=blob;f=tools/env/fw_env.c;h=ab06415898c2f718e8a926879379b1f8d74ca55d;hb=HEAD#l760 is the only place where this error_is_produced (looks_the_same_in the 2016 version)
<zyga-ubuntu> too_bad it doesn't display rc
<mvo>_pstolowski: I_would argue the code in there is incorrect
<zyga-ubuntu>_it_may be just_a partial read
<mvo> zyga-ubuntu: yeah, exactly
<zyga-ubuntu> (truncated environment?)
<mvo> zyga-ubuntu:_you mean something else truncated the_uboot.env?
<zyga-ubuntu> mvo: last_week_we_learned how error messages_suck
<zyga-ubuntu> mvo: well, not sure if_really truncated
<zyga-ubuntu> mvo: I didn't read_the rest of the code
<zyga-ubuntu> mvo: I_meant that if you have a_fixed buffer
<zyga-ubuntu> mvo: and then_read until_EOF
<ogra_> well, uboot.env isnt truncated_if you manually_run fw_printenv
<zyga-ubuntu>_mvo: then eventually_you will get a partially complete_buffer
<mvo> zyga-ubuntu: there_might be a signal
<zyga-ubuntu> mvo: unless_there's_some assumption about_the_alignment_of the_file
<zyga-ubuntu> mvo: "alignment"_in_blocks
<mvo> zyga-ubuntu:_but_yeah, I think the code in_there_is slightly naive
<zyga-ubuntu> mvo: might be but_we don't know
<mvo> zyga-ubuntu:_yeah,_sadly it does not_print rc which is the_crucial bit
<mvo> s/is/would be/ :/
<zyga-ubuntu> mvo:_maybe we_just