<lurchi_>
Guest13123: thats typical for nand, in case one of the blocks is broken
<lurchi_>
the bootloader tries to reads blocks until it finds one with correct checksums
<Guest13123>
pmpp: how is the h3 nand?
<pmpp>
i don't have any nand based h3
<Guest13123>
ah.
<pmpp>
only A23/A33 7" cheapo tab
<gnarface>
Guest13123: not sure about any of this, but i do know that for the instructions i followed, it was mentioned specifically that while most partitioning software will safely skip the first 2MB by default, it's possible that some will not unless you explicitly tell it to. if your partitioning software defaults to starting right at 0 that may be a mistake
<gnarface>
Guest13123: i mean, that may be the mistake
<Guest13123>
gnarface: are you sure that's not referring to mmc/sd rather than nand?
<gnarface>
Guest13123: no, i'm not sure of that, but i took it to be non-media-specific
<Guest13123>
nand does not have a dos mbr. its partition table has a completely different structure
<gnarface>
that's something the nand chooses? i thought that was something the OS chooses
<Guest13123>
well, i'm pretty sure the boot rom chooses it
<gnarface>
but u-boot doesn't read partition tables, it just reads from a raw memory sector on the disk. it needs filesystem support but afaik it's partition-table agnostic
<gnarface>
i thought, at least. maybe i have that wrong...
<Guest13123>
yeah, but something reads u-boot itself from the nand, too
<pmpp>
so you know which is kernel and env that give you not much left :p
<Guest13123>
the partition called "boot" is the kernel (nandc)
<Guest13123>
but that does not tell me where the SPL is
<Guest13123>
and aside from the original firmware still on the nand, the only kernel i have successfully booted is mainline, but that cannot read nand
<Guest13123>
in the logs of this channel, MoeIcenowy mentioned better progress a while back, but i have not been able to duplicate it
anarsoul has quit [Ping timeout: 248 seconds]
alexxey has joined #linux-sunxi
anarsoul has joined #linux-sunxi
Andy-D has quit [Ping timeout: 240 seconds]
tllim has joined #linux-sunxi
popolon has quit [Quit: WeeChat 1.9.1]
alexxey has left #linux-sunxi ["Leaving"]
anarsoul|2 has quit [Ping timeout: 252 seconds]
cnxsoft has joined #linux-sunxi
ninolein_ has quit [Ping timeout: 255 seconds]
ninolein has joined #linux-sunxi
kaspter has quit [Quit: kaspter]
tllim has quit [Ping timeout: 255 seconds]
tllim has joined #linux-sunxi
kaspter has joined #linux-sunxi
wcc has joined #linux-sunxi
wcc has quit [Client Quit]
kaspter has quit [Quit: kaspter]
kaspter has joined #linux-sunxi
MoeIcenowy has quit [Ping timeout: 248 seconds]
dave0x6d has quit [Quit: Connection closed for inactivity]
kaspter has quit [Remote host closed the connection]
MoeIcenowy has joined #linux-sunxi
kaspter has joined #linux-sunxi
tllim has quit [Ping timeout: 246 seconds]
tllim has joined #linux-sunxi
kaspter1 has joined #linux-sunxi
kaspter has quit [Ping timeout: 240 seconds]
kaspter1 is now known as kaspter
tllim has quit [Ping timeout: 255 seconds]
tllim has joined #linux-sunxi
TheSeven has quit [Ping timeout: 255 seconds]
TheSeven has joined #linux-sunxi
tllim has quit [Ping timeout: 246 seconds]
tllim has joined #linux-sunxi
tllim has quit [Ping timeout: 252 seconds]
lurchi__ has joined #linux-sunxi
lurchi_ has quit [Ping timeout: 255 seconds]
tllim has joined #linux-sunxi
IgorPec has joined #linux-sunxi
RichardG867 has quit [Ping timeout: 255 seconds]
RichardG867 has joined #linux-sunxi
RichardG867 has quit [Changing host]
RichardG867 has joined #linux-sunxi
RichardG867 has quit [Ping timeout: 260 seconds]
JohnDoe_71Rus has joined #linux-sunxi
RichardG867 has joined #linux-sunxi
RichardG867 has quit [Changing host]
RichardG867 has joined #linux-sunxi
<montjoie>
dwmac-sun8i merged in net!
<MoeIcenowy>
wow
<MoeIcenowy>
exciting
jbrown has quit [Ping timeout: 240 seconds]
MoeIcenowy has quit [Remote host closed the connection]
reinforce has joined #linux-sunxi
chomwitt has joined #linux-sunxi
maz has joined #linux-sunxi
anarsoul|2 has joined #linux-sunxi
chomwitt has quit [Ping timeout: 240 seconds]
Mr__Anderson has joined #linux-sunxi
dev1990 has joined #linux-sunxi
chomwitt has joined #linux-sunxi
anarsoul|2 has quit [Ping timeout: 248 seconds]
Mr__Anderson has quit [Remote host closed the connection]
dev1990 has quit [Quit: Konversation terminated!]
msimpson has joined #linux-sunxi
sr-digitronic has joined #linux-sunxi
yann|work has quit [Ping timeout: 240 seconds]
maz has quit [Ping timeout: 248 seconds]
maz has joined #linux-sunxi
MoeIcenowy has joined #linux-sunxi
xvnvx has joined #linux-sunxi
xvnvx has quit [Max SendQ exceeded]
aalm has joined #linux-sunxi
cafijo has joined #linux-sunxi
cafijo has quit [Client Quit]
yann|work has joined #linux-sunxi
Ntemis has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
fkluknav has joined #linux-sunxi
lkcl has quit [Ping timeout: 240 seconds]
maz has quit [Ping timeout: 252 seconds]
tllim has quit [Read error: Connection reset by peer]
aballier has joined #linux-sunxi
xvnvx has joined #linux-sunxi
chomwitt has quit [Quit: WeeChat 1.0.1]
xvnvx has quit [Max SendQ exceeded]
xvnvx has joined #linux-sunxi
xvnvx has quit [Max SendQ exceeded]
xvnvx has joined #linux-sunxi
maz has joined #linux-sunxi
<MoeIcenowy>
mripard: U-Boot ethaddr code now cannot give ethernet labels that doesn't exist in U-Boot dtb but exists in Linux dtb mac addresses
umit has joined #linux-sunxi
maz has quit [Ping timeout: 248 seconds]
aalm has quit [Quit: xyz 1.9.1]
<MoeIcenowy>
mripard: patch sent for this
umit has quit [Ping timeout: 260 seconds]
lerc has quit [Remote host closed the connection]
maz has joined #linux-sunxi
xvnvx has quit [Quit: Leaving]
lerc has joined #linux-sunxi
chomwitt has joined #linux-sunxi
kever has quit [Ping timeout: 258 seconds]
maz has quit [Ping timeout: 240 seconds]
vagrantc has joined #linux-sunxi
VargaD_ has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft has joined #linux-sunxi
VargaD has quit [Ping timeout: 255 seconds]
VargaD_ is now known as VargaD
IgorPec2 has joined #linux-sunxi
IgorPec has quit [Ping timeout: 252 seconds]
jogoes has joined #linux-sunxi
<jogoes>
Hi, Anybody knows if is possible to use more than one slave with the V3S chip SPI peripheral? I have been reviewing the V3S datasheet, but I can only find one chip select (CS0).
<MoeIcenowy>
jogoes: you can use GPIO CS
<MoeIcenowy>
why is there more and more people playing with V3s?
<MoeIcenowy>
interesting
<jogoes>
But, is there any dedicated GPIO for Cs1, Cs2 and Cs3 ?
<jogoes>
the datasheet states that is possible to use up to 4 spi CS slaves
<jogoes>
But i have seen that normally only CS0 is used, and the SPI peripheral is normally connected to a flash memory slave
<MoeIcenowy>
no
<MoeIcenowy>
the IP block has 4 CS's, but only one is wired to the pin controller
<jogoes>
So physically, only is possible to connect CS0 to external slaves, right?
<MoeIcenowy>
yes
<MoeIcenowy>
but the Linux SPI framework allows you to use GPIOs as extra CS's
<jogoes>
I was trying to add a second SPI slave to my board, and adding a second chip select on the .fex file, but I was not succesful. I got problems with the flash memory and also I could not make appear the spi devices on /dev/spidev
<jogoes>
I was expecting to get something like dev/spidev/spi0.0 and dev/spidev/spi0.1
<jogoes>
But i got nothing
<MoeIcenowy>
I think FEX maybe not able to activate GPIO CS
datoga has joined #linux-sunxi
<jogoes>
So... do you know what would be the way for activating those extra CS?
<jogoes>
Btw, MoeIcenowy, thank you for your answers and help
IgorPec has joined #linux-sunxi
IgorPec2 has quit [Ping timeout: 246 seconds]
maz has joined #linux-sunxi
Uninstall has joined #linux-sunxi
Uninstall has quit [Changing host]
Uninstall has joined #linux-sunxi
IgorPec has quit [Ping timeout: 248 seconds]
forte has joined #linux-sunxi
forte has quit [Client Quit]
Andy-D has joined #linux-sunxi
dave0x6d has joined #linux-sunxi
<Guest13123>
MoeIcenowy: and do any of your A33 tablets have such an SPI peripheral in their fex? this one does
maz has quit [Ping timeout: 240 seconds]
matthias_bgg has quit [Ping timeout: 255 seconds]
Uninstall has quit [Remote host closed the connection]
zoobab has quit [Read error: Connection reset by peer]
jbrown has joined #linux-sunxi
<Pe3ucTop>
MoeIcenowy: sorry, but could you direct of any example/documentatino of using GPIO as CS for SPI ? I'm realy interested in it too.
<Pe3ucTop>
ok, no problem, but I anyway going to check ability to control those pins by sw. I know some phy are able to switch those pins mode. So why those could not be as i2c/mdio controled GPIOs :)
<MoeIcenowy>
yes for building the quite old lichee linux you need to use the quite old toolchain
<Guest13123>
ahh, that might be why i can get only mainline to boot
<MoeIcenowy>
nope
<Guest13123>
no?
<MoeIcenowy>
when I'm using gcc 4.9
<MoeIcenowy>
it can boot
<MoeIcenowy>
but hang when trying to clean display
<MoeIcenowy>
to boot legacy kernel with mainline u-boot
<MoeIcenowy>
you will need set two u-boot env varsa
<MoeIcenowy>
s/varsa/vars/
<Guest13123>
using 4.8 here, and it hangs on Booting kernel...
<Guest13123>
btw, does bootm_boot_mode also apply to bootz?
<MoeIcenowy>
bootz seems to be not able to boot legacy kernel
<Guest13123>
OK. why does mainline U-boot ignore the boot.scr passed to it in ram via FEL?
<MoeIcenowy>
I don't know...
<Guest13123>
so usb boot simply isn't possible?
<MoeIcenowy>
it is
<MoeIcenowy>
maybe you should check your setup
<Guest13123>
U-boot loads over usb, but then the text scrolls by quickly, so i can't be sure of the error, but it is the same in the end as when boot.scr is not found
Andy-D_ has joined #linux-sunxi
Andy-D has quit [Ping timeout: 240 seconds]
lkcl has joined #linux-sunxi
<jernej>
Guest13123: You have to use a bit different file, not boot.scr directly.
<jernej>
it is a plain text file and first line has to be: #=uEnv
<jernej>
so, it is actually uEnv.txt format
maz has joined #linux-sunxi
_whitelogger_ has joined #linux-sunxi
_whitelogger has quit [Remote host closed the connection]
cnxsoft has quit [Quit: cnxsoft]
_whitelogger has joined #linux-sunxi
_whitelogger_ has quit [Ping timeout: 246 seconds]
_whitelogger has joined #linux-sunxi
Putti has quit [Remote host closed the connection]
_whitelogger_ has joined #linux-sunxi
_whitelogger has quit [Ping timeout: 258 seconds]
maz has joined #linux-sunxi
<Guest13123>
MoeIcenowy: did you get a33 nand recognized in mainline?
<Guest13123>
kernel, that is
IgorPec has joined #linux-sunxi
msimpson has quit [Quit: Leaving]
tllim has joined #linux-sunxi
maz has quit [Ping timeout: 255 seconds]
reinforce has quit [Quit: Leaving.]
MoeIcenowy has quit [Remote host closed the connection]
matthias_bgg has joined #linux-sunxi
willmore has quit [Read error: Connection reset by peer]
dev1990 has joined #linux-sunxi
Ntemis has quit [Remote host closed the connection]
willmore has joined #linux-sunxi
tl_lim has joined #linux-sunxi
tllim has quit [Ping timeout: 252 seconds]
Putti has quit [Remote host closed the connection]
Putti has joined #linux-sunxi
putti_ has joined #linux-sunxi
Putti has quit [Ping timeout: 248 seconds]
reinforce has joined #linux-sunxi
putti_ has quit [Remote host closed the connection]