<oliver[m]>
Hey guys; I'm struggling to understand the load and entry points of a FIT image. So I do have a working system; just want to make sure it is not needlessly copying data
<oliver[m]>
So, I have load and entry = 0x080008000 in my FIT image; I'm loading the FIT image via either TFTP or from SDCard to 0x8200000 (the default in my uboot) and then bootm 0x8200000 (don't count the exact zero's I may be off by one here or there)
<oliver[m]>
Anyway, does this mean, that the FIT image resides at 0x82000000 (should be) and then the kernel section is copyed to 0x800080000 by uboot? Or is this the area we tell linux to self-decompress? in which case, it makes sense; though it would then overwrite the image potentially? (e.g. the FDT and initramfs
dddddd has joined #linux-sunxi
reinforce has joined #linux-sunxi
victhor has joined #linux-sunxi
jonkerj has quit [Quit: reboot]
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 246 seconds]
nuuuciano_ has joined #linux-sunxi
jonkerj has joined #linux-sunxi
chomwitt has joined #linux-sunxi
AneoX has joined #linux-sunxi
AneoX_ has quit [Ping timeout: 244 seconds]
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 250 seconds]
AneoX_ has quit [Ping timeout: 246 seconds]
apritzel has quit [Ping timeout: 250 seconds]
AneoX has joined #linux-sunxi
apritzel has joined #linux-sunxi
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 268 seconds]
apritzel has quit [Ping timeout: 246 seconds]
arti has joined #linux-sunxi
dddddd has quit [Remote host closed the connection]
leviathanch_ has joined #linux-sunxi
m4ssi has quit [Quit: Leaving]
xerpi has quit [Remote host closed the connection]
jstein_ has joined #linux-sunxi
jstein_ is now known as jstein
reinforce has quit [Ping timeout: 245 seconds]
reinforce has joined #linux-sunxi
reinforce1 has joined #linux-sunxi
reinforce has quit [Ping timeout: 244 seconds]
reinforce has joined #linux-sunxi
reinforce1 has quit [Ping timeout: 250 seconds]
Amit_T has joined #linux-sunxi
AneoX has joined #linux-sunxi
AneoX_ has quit [Ping timeout: 244 seconds]
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 245 seconds]
leviathanch_ is now known as leviathanch
apritzel has joined #linux-sunxi
nuuuciano_ has quit [Read error: Connection reset by peer]
dddddd has joined #linux-sunxi
nuuuciano_ has joined #linux-sunxi
AneoX has joined #linux-sunxi
AneoX_ has quit [Ping timeout: 244 seconds]
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 245 seconds]
popolon has joined #linux-sunxi
apritzel has quit [Ping timeout: 246 seconds]
nuuuciano__ has joined #linux-sunxi
arti has quit [Quit: arti]
arti has joined #linux-sunxi
nuuuciano_ has quit [Ping timeout: 272 seconds]
nuuuciano_ has joined #linux-sunxi
AneoX has joined #linux-sunxi
nuuuciano__ has quit [Ping timeout: 250 seconds]
AneoX_ has quit [Ping timeout: 250 seconds]
apritzel has joined #linux-sunxi
ian_l has joined #linux-sunxi
ian_l has quit [Client Quit]
nuuuciano_ has quit [Ping timeout: 246 seconds]
nuuuciano_ has joined #linux-sunxi
apritzel has quit [Ping timeout: 240 seconds]
nuuuciano_ has quit [Ping timeout: 240 seconds]
Rafael1980 has joined #linux-sunxi
lurchi_ is now known as lurchi__
nuuuciano_ has joined #linux-sunxi
megi has joined #linux-sunxi
BenG83 has quit [Remote host closed the connection]
BenG83 has joined #linux-sunxi
geomatsi has joined #linux-sunxi
tnovotny has joined #linux-sunxi
apritzel has joined #linux-sunxi
m4ssi has joined #linux-sunxi
IgorPec has quit [Ping timeout: 244 seconds]
<apritzel>
quark_: Hi, you mentioned a joined sun4i/sun6i SPI driver for U-Boot, is that available somewhere?
<ElBarto>
yeah so no sun6i (it's different I think)
<apritzel>
just asking because Jagan posted a separate SPI driver for sun6i: http://git.denx.de/?p=u-boot/u-boot-sunxi.git;a=commitdiff;h=b03f135aebd87f1824f6a6551a5399173bbaec39
<apritzel>
it seems like various people have their own version of the driver
<apritzel>
including me ;-)
<Wizzup>
I think this was also tested on sun6i hw when SJRvanSchaik and I wrote it
<apritzel>
and other people had code as well, AFAIK, but nobody posted something AFAIK
<Wizzup>
maybe stefan from olimex didn't submit that code as well
<ElBarto>
apritzel: great find btw for the alternate location, that will allow me to create some gpt images for FreeBSD
<apritzel>
ElBarto: yeah, reportedly that was the reason for AW introducing the alternate location in the first place
<Wizzup>
apritzel: yeah so this seems to be for sun6i too
tnovotny has quit [Quit: Leaving]
<apritzel>
Wizzup: I don't care so much for some drivers somewhere, we need something in mainline
<apritzel>
but I don't like to have a separate driver for that
<Wizzup>
apritzel: most of that driver was mainlined
<Wizzup>
that's the u-boot commit I linked
<Wizzup>
I am not sure why only the sun4i part was taken, as it's mostly generic IIRC
lerc_ has quit [Ping timeout: 246 seconds]
<apritzel>
Wizzup: but that's really only sun4i and quite far some being able to support sun6i as well
lerc has joined #linux-sunxi
<apritzel>
s/some/from/
<Wizzup>
apritzel: mhm. if there is already a newer driver, fine, I'm just saying that the current sun4i mainline driver is mostly the gh driver, which also supports sun6i and others, so maybe that can be easily added on top of mainline sun4i driver
<Wizzup>
but I don't have time to do it now, so I'll keep quiet :D
<apritzel>
Wizzup: that's the point: I tried to add sun6i support on top of that, and wasn't really happy with it
<apritzel>
quark_ mentioned that he did this as well, and he sounded much more happy with it
<Wizzup>
ok :)
kaspter has quit [Ping timeout: 246 seconds]
IgorPec has joined #linux-sunxi
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 244 seconds]
kaspter has joined #linux-sunxi
msimpson_ has joined #linux-sunxi
msimpson_ has quit [Remote host closed the connection]
msimpson has quit [Ping timeout: 240 seconds]
<quark_>
apritzel: I did implement only minimal changes to sun4i driver support both sun4i/sun6i.
<apritzel>
quark_: that sounds good!
<apritzel>
quark_: do you have the code or the patches somewhere?
<quark_>
sun4i driver would need anyway some changes. get clocks from dt
<quark_>
for example
<apritzel>
I know, that's one of the reason I'd prefer a unifed driver
Andy-D has joined #linux-sunxi
<apritzel>
quark_: the "clocks from DT" issue is what Jagan addressed in his series
leviathanch has quit [Remote host closed the connection]
<quark_>
I was about to send to u-boot mailing list in couple of days. I did not change any defines name. So maybe some rename patch is required after functional changes
<apritzel>
quark_: sure, we can always bikeshed about this ;-)
<aalm>
s/can/will/
<aalm>
jk
<quark_>
I had to disable/enable clocks while claiming/releasing bus, but is seems jagan sun6i driver is doing to too.
<quark_>
instead of that maybe clearing some register value could be enough