<macromorgan>
anyone familiar with while loops in a script? I'm trying to iterate through a file 100MB at a time (due to RAM constraints) and my loop only seems to run once.
<macromorgan>
while itest ${ubifullsize} > ${ubiimageoffset}; do load usb 0:1 0x44300000 nand.ubi 0x6400000 ${ubiimageoffset} && setexpr ubiimageoffset ${ubiimageoffset} + ${filesize}; done
<macromorgan>
(file is 460MB in size roughly)
<macromorgan>
nevermind :-(
<macromorgan>
figured it out
<macromorgan>
while itest ${ubifullsize} > ${ubiimageoffset}; do load usb 0:1 0x44300000 nand.ubi 0x6400000 ${ubiimageoffset}; setexpr ubiimageoffset ${ubiimageoffset} + ${filesize}; done
<macromorgan>
(now I just need to add the "write to nand bits" in there
torez has joined #u-boot
matthias_bgg has quit [Ping timeout: 240 seconds]
NishanthMenon_ is now known as NishanthMenon
<Tartarus>
wonder a little bit why nand.ubi didn't exit 0
<Tartarus>
should that be nand.ubi write ... ?
<Tartarus>
er, yeah, I guess you knew, nm :)
<mps>
apritzel_: I got 10x20 terminus fonts in u-boot, now I know how to add more. thanks for hints
<apritzel_>
mps: ah, cool. But now you took away my procrastination project ;-)
<apritzel_>
but 10x20 must still be scarily small on 227 dpi?
<mps>
apritzel_: yes, and I added also 12x24, looks better
<mps>
apritzel_: I see you copied 16x32 from kernel, do you know is it normal or bold variant? to me looks as bold but not sure
<apritzel_>
yeah, don't know either. The original commit message says it's from ter-i32b.psf, does that reveal the weight?
<mps>
apritzel_: yes, it is bold then, normal have 'n' instead of 'b' in name
<mps>
filename*
<mps>
apritzel_: btw, I download mailing list mbox file and tried to post mail about cursor but mail can't reach mail server, have to look why
<apritzel_>
no worries, I will have a look anyway
<mps>
apritzel_: I don't need to search for loupe now when working on u-boot console, thanks :)
<mps>
it is better than ttf options
<mps>
xypron: I tried to build it with your patch on alpine x86_64 lxc and got this error `/bin/sh: ./scripts/gen_ll_addressable_symbols.sh: not found`
crb_ is now known as crb
vagrantc has joined #u-boot
___nick___ has quit [Ping timeout: 256 seconds]
blmaier has quit [Quit: ZNC 1.7.5+deb4 - https://znc.in]