Tartarus changed the topic of #u-boot to: SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot v2021.10 is OUT / Merge Window is OPEN until 25 October 2021 / Release v2022.01 is scheduled for 10 January 2022 / http://www.denx.de/wiki/U-Boot / Channel archives at https://libera.irclog.whitequark.org/u-boot
torez has joined #u-boot
sdfgsdfg has quit [Quit: ZzzZ]
torez has quit [Quit: torez]
sdfgsdfg has joined #u-boot
samekh_ has joined #u-boot
samekh has quit [Ping timeout: 260 seconds]
GNUtoo has quit [Remote host closed the connection]
GNUtoo has joined #u-boot
GNUtoo has quit [Quit: leaving]
GNUtoo has joined #u-boot
mmu_man has quit [Ping timeout: 250 seconds]
qschulz has quit [Remote host closed the connection]
camus has quit [Ping timeout: 260 seconds]
camus has joined #u-boot
qschulz has joined #u-boot
astroid has quit [Quit: IRCNow!]
astroid has joined #u-boot
astroid has quit [Changing host]
astroid has joined #u-boot
camus has quit [Ping timeout: 260 seconds]
camus has joined #u-boot
Guest64873 has joined #u-boot
Guest64873 has left #u-boot [#u-boot]
georgem has quit []
vagrantc has joined #u-boot
sdfgsdfg has quit [Quit: ZzzZ]
macromorgan has joined #u-boot
<macromorgan> hate to be a bother, but I'm a shitty C programmer. If I want to printf the contents of a buffer (defined as "u8 *data") how would I go about doing that?
<macromorgan> I'm trying to troubleshoot why U-Boot proper and U-Boot SPL see different contents of the same NAND device
<macromorgan> even more specifically, I want to see what this function ACTUALLY sees... U-Boot and Linux can read anything either write, but SPL can't read anything at all: https://source.denx.de/u-boot/u-boot/-/blob/master/drivers/mtd/nand/raw/sunxi_nand_spl.c#L257
camus1 has joined #u-boot
camus has quit [Ping timeout: 250 seconds]
camus1 is now known as camus
astroid has quit [Remote host closed the connection]
sdfgsdfg has joined #u-boot
astroid has joined #u-boot
astroid has joined #u-boot
sdfgsdfg has quit [Client Quit]
camus1 has joined #u-boot
camus has quit [Read error: Connection reset by peer]
camus1 is now known as camus
sdfgsdfg has joined #u-boot
vagrantc has quit [Quit: leaving]
camus1 has joined #u-boot
camus has quit [Remote host closed the connection]
camus1 is now known as camus
<urja> for (int i=0;i<data_length;i++) printf("%02X ", data[i]);
<urja> that said, i bet there's a hexdump function around somewhere already
<urja> (that one above is very crude as you can see... and you do need to know the length somehow anyways)
<Forty-Bot> macromorgan: lib/hexdump.c
<Forty-Bot> but you can also use md.b if you are on the command line
sdfgsdfg has quit [Quit: ZzzZ]
sdfgsdfg has joined #u-boot
camus1 has joined #u-boot
camus has quit [Ping timeout: 250 seconds]
camus1 is now known as camus
fdanis_away is now known as fdanis
agust has joined #u-boot
mckoan|away is now known as mckoan
matthias_bgg has joined #u-boot
gsz has joined #u-boot
guillaume_g has joined #u-boot
sszy has joined #u-boot
persmule has quit [Ping timeout: 276 seconds]
michalkotyla has joined #u-boot
persmule has joined #u-boot
michalkotyla has quit [Read error: Connection reset by peer]
mmu_man has joined #u-boot
matthias_bgg has quit [Ping timeout: 250 seconds]
matthias_bgg has joined #u-boot
suprothunderbolt has quit [Ping timeout: 252 seconds]
sszy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
sszy has joined #u-boot
camus has quit [Ping timeout: 240 seconds]
camus has joined #u-boot
sbach has quit [Read error: Connection reset by peer]
sbach has joined #u-boot
sdfgsdfg has quit [Quit: ZzzZ]
persmule has quit [Remote host closed the connection]
apritzel_ has joined #u-boot
tnovotny has joined #u-boot
camus has quit [Ping timeout: 256 seconds]
camus1 has joined #u-boot
camus1 is now known as camus
lucaceresoli has joined #u-boot
sdfgsdfg has joined #u-boot
sdfgsdfg has quit [Client Quit]
sdfgsdfg has joined #u-boot
monstr has joined #u-boot
milkylainen has quit [Quit: Connection closed]
milkylainen has joined #u-boot
lucaceresoli has quit [Read error: Connection reset by peer]
michalkotyla has joined #u-boot
michalkotyla has quit [Client Quit]
lucaceresoli has joined #u-boot
camus1 has joined #u-boot
camus has quit [Ping timeout: 256 seconds]
camus1 is now known as camus
matthias_bgg has quit [Read error: Connection reset by peer]
matthias_bgg has joined #u-boot
michalkotyla has joined #u-boot
sdfgsdfg has quit [Quit: ZzzZ]
camus has quit [Ping timeout: 256 seconds]
camus has joined #u-boot
lucaceresoli_ has joined #u-boot
lucaceresoli_ has quit [Ping timeout: 256 seconds]
lucaceresoli_ has joined #u-boot
<macromorgan> urja: Thank you. Luckily I can extrapolate the length from the ecc size.
<macromorgan> Forty-Bot: Unfortunately I can't, because I'm still in SPL mode and that's where I need to do the dumping (I can't get SPL to read the U-Boot image). I want to see what SPL sees so I can know if I'm dealing with an ECC issue, a randomizer issue, or something else.
monstr has quit [Ping timeout: 240 seconds]
lucaceresoli_ has quit [Quit: Leaving]
<mripard_> macromorgan: if you're using an A13, it will read 0.
<macromorgan> that is exactly what it's reading...
<mripard_> if you want a quick fix, revert the patch I replied to
<mripard_> otherwise, ping Miquel :)
<macromorgan> I think I did and it didn't fix it, but I'll try again
<macromorgan> (at least I'll see what I read when I revert it this time)
<mripard_> you're likely to need the first two patches
monstr has joined #u-boot
<macromorgan> Error while initializing dma interrupt... that's new
<macromorgan> looks like there might be a bit more to roll back too, I'll look at that whole patch series
<mripard_> this was working on my CHIP Pro back in may/june
<mripard_> it might have been broken in other places since
<macromorgan> that did it
<macromorgan> you have to roll back both 13/20 and 14/20
<macromorgan> but rolling those two back works
<macromorgan> thank you for all your help, once again
<macromorgan> I now have a PocketCHIP that runs upstream from the SPL stage down through the kernel and up to the userspace.
<mripard_> awesome :)
<macromorgan> (if you count the 3 patches I have pending and one I'm about to write as "mainline")
<apritzel_> mripard_: I figured my H6 TV box has raw NAND flash, but I probably stay away from it ...
<mripard_> apritzel_: and MLC I assume?
<apritzel_> of course!
<mripard_> only macromorgan is crazy enough to work on that :)
<mripard_> the only boards that have SLC afaik are the chip pro and the nintendo nes and super nes classic
<mripard_> and the latter aren't exactly developper friendly
<mripard_> (and the chip pro is fairly difficult to find these days)
<apritzel_> indeed, I became curious a few weeks ago, because it could cover a weak spot in my testing, but couldn't find anything
<mripard_> the only place I could get one from was the CHIP SubReddit
<mripard_> it l
<mripard_> *it looks like there's still a few there
<apritzel_> Hardware Exchange Megathread?
<mripard_> yep
camus has quit [Ping timeout: 256 seconds]
camus has joined #u-boot
michalkotyla has quit [Ping timeout: 240 seconds]
<macromorgan> yes, I am quite crazy
michalkotyla has joined #u-boot
<macromorgan> I even pushed a series of patches adding slc-emulation for U-boot, though I don't know where they currently stand
torez has joined #u-boot
<macromorgan> now I wonder if I can fit slc-mode in the SPL stage... hmm...
persmule has joined #u-boot
macromorgan_ has joined #u-boot
macromorgan is now known as Guest7033
macromorgan_ is now known as macromorgan
Guest7033 has quit [Read error: Connection reset by peer]
monstr has quit [Remote host closed the connection]
bq has quit [Ping timeout: 268 seconds]
cengiz_io has quit []
cengiz_io has joined #u-boot
persmule has quit [Ping timeout: 276 seconds]
tnovotny has quit [Read error: Connection reset by peer]
persmule has joined #u-boot
camus1 has joined #u-boot
camus has quit [Ping timeout: 265 seconds]
camus1 is now known as camus
matthias_bgg has quit [Read error: Connection reset by peer]
bq has joined #u-boot
fdanis is now known as fdanis_away
matthias_bgg has joined #u-boot
___nick___ has joined #u-boot
srk has quit [Remote host closed the connection]
srk has joined #u-boot
guillaume_g has quit [Quit: Konversation terminated!]
lucaceresoli has quit [Remote host closed the connection]
mckoan is now known as mckoan|away
matthias_bgg has quit [Ping timeout: 250 seconds]
matthias_bgg has joined #u-boot
apritzel_ has quit [Ping timeout: 256 seconds]
camus1 has joined #u-boot
camus has quit [Read error: Connection reset by peer]
camus1 is now known as camus
sszy has quit [Ping timeout: 240 seconds]
<Forty-Bot> what do you guys use to send those "applied to foo/master" emails?
<rfs613> Forty-Bot: probably "b4 ty"
<Forty-Bot> ah, that looks good
vagrantc has joined #u-boot
<Forty-Bot> no I just need to figure out how to configure it
<austriancoder> Is there a way to timestamp the different boot stages? I want to find out what during the POR to the U-Boot shell take the most time.
<rfs613> austriancoder: check out CONFIG_BOOTSTAGE, in menuconfig under Boot options -> Boot timing
<rfs613> of course this only starts when u-boot code starts. Whatever your platform does before that point is outside scope. For recording that, I would suggest a terminal program that timestamps each line.
<austriancoder> rfs613: that's what I am looking for - thanks
redbrain has joined #u-boot
sdfgsdfg has joined #u-boot
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
___nick___ has joined #u-boot
___nick___ has quit [Client Quit]
___nick___ has joined #u-boot
___nick___ has quit [Ping timeout: 265 seconds]
GNUtoo has quit [Ping timeout: 276 seconds]
GNUtoo has joined #u-boot
matthias_bgg has quit [Quit: Leaving]
sdfgsdfg has quit [Quit: ZzzZ]
sdfgsdfg has joined #u-boot
gsz has quit [Quit: leaving]
torez has quit [Quit: torez]
redbrain has quit [Ping timeout: 256 seconds]
FredO2 has quit [Quit: Leaving]
agust has quit [Quit: Leaving.]
sdfgsdfg has quit [Quit: ZzzZ]
suprothunderbolt has joined #u-boot
sdfgsdfg has joined #u-boot
wyre_ has joined #u-boot
wyre has quit [Ping timeout: 265 seconds]