<marble_visions>
this datasheet is not for my flash but they say this: The size of a Page is either 528 Bytes (512 + 16 spare) or 264 Words (256 + 8 spare) depending on whether the device has a x8 or x16 bus width.
<marble_visions>
why does the width of the bus determine the page size?
<marble_visions>
i'm asking since in NTC
<marble_visions>
in NTC's chip scripts, they have an eraseblock size of 4194304, which divided by the size of the page is 8192, which is 512
<marble_visions>
that came out confusing, 4194304 (eraseblock size) / 8192 (pagesize) = 512 (number of pages)
jelly has quit [Ping timeout: 240 seconds]
dorin has joined #linux-sunxi
dorin has left #linux-sunxi [#linux-sunxi]
dorin has joined #linux-sunxi
<marble_visions>
their page size is double (16384 instead of 8192) and their oob is 1664.. i don't get it
<marble_visions>
if the page size is doubled, then the oob should be doubled as well, but 1664/2=832 which doesn't exist in the nand manual..
jelly-home has joined #linux-sunxi
afaerber has joined #linux-sunxi
massi has joined #linux-sunxi
dave0x6d has joined #linux-sunxi
gnarface has quit [Quit: Leaving]
bobryan has quit [Ping timeout: 246 seconds]
<ceng>
Is there a need for mali user space interface. I was talking to a friend and he said something about a user space libMali.so
bobryan has joined #linux-sunxi
<ceng>
marble_visions: Mali support was fine?! On NTC chip?
<marble_visions>
ceng: i don't yet understand the whole graphics stack, but from what i've seen: they've got an hdmi out and mali repos..
<marble_visions>
i'm willing to downgrade to kernel 3.x just to get mali running
<marble_visions>
but Net147 has some repos with mali stuff around
<marble_visions>
so i might get lucky with 4.x
Gerwin_J has joined #linux-sunxi
gnarface has joined #linux-sunxi
alexxy has quit [Quit: No Ping reply in 180 seconds.]
alexxy has joined #linux-sunxi
Gerwin_J has quit [Ping timeout: 258 seconds]
popolon has joined #linux-sunxi
f0xx has joined #linux-sunxi
fugitive has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft has joined #linux-sunxi
Putti has quit [Ping timeout: 248 seconds]
Putti has joined #linux-sunxi
cnxsoft1 has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 248 seconds]
cnxsoft1 is now known as cnxsoft
muvlon has quit [Quit: Leaving]
Worf has quit [Quit: Konversation terminated!]
afaerber has quit [Quit: Leaving]
Andy-D has joined #linux-sunxi
fugitive has quit [Ping timeout: 240 seconds]
cosm has quit [Ping timeout: 255 seconds]
fkluknav has joined #linux-sunxi
cosm has joined #linux-sunxi
fugitive has joined #linux-sunxi
BenG83 has joined #linux-sunxi
lemonzest has joined #linux-sunxi
fugitive_ has joined #linux-sunxi
fugitive has quit [Ping timeout: 248 seconds]
tom_nov has joined #linux-sunxi
<awais>
ceng: Yes, a userspace Mali blob is must. You will also need to find the correct blob. Its version must match the kernel driver version and should have the right backend for your needs(fb, Xorg, wayland, gbm)
chomwitt has quit [Ping timeout: 246 seconds]
f0xx has quit [Ping timeout: 246 seconds]
<MoeIcenowy>
wens: it seems that the ADC and power supply on AXP803 and AXP813/818 is the same
<MoeIcenowy>
should we call it in a common way, like axp8x3?
fugitive_ has quit [Ping timeout: 264 seconds]
fkluknav has quit [Ping timeout: 260 seconds]
fugitive_ has joined #linux-sunxi
fkluknav has joined #linux-sunxi
<marble_visions>
all, if i want nand *and* mali gpu support, which kernel should i try adopting? 3.x or 4.x?
* marble_visions
has a13/r8 chips
<mripard>
NextThing's
<ceng>
The user space mali blob must match the kernel?
<ceng>
Crap...
<mripard>
no
<mripard>
but NAND doesn't give you the choice
<ceng>
Raw NAND ond eMMC NAND?
<mripard>
raw NAND
<marble_visions>
mripard: ceng: raw nand
<marble_visions>
FTL-less
<marble_visions>
alright then, it's ntc
<ceng>
I'll try to go raw nand + libMali.so + fb/eglfs for QT5
<ceng>
Oops, I mean eMMC nand.
<ceng>
With FTL.
<marble_visions>
ceng: keep us updated :).. i'm doing raw nand + mainline kernel + mainline buildroot, but after the reality check, i'm doing raw nand + ntc-linux + ntc-buildroot
<marble_visions>
friends weren't joking that graphics stacks are complicated and at times a real pain
<ceng>
marble_visions: Mainline buildroot? Can you post your defconfig when you get it booting? What about bootloader? U-boot? NTC-Linux is a 3.10 kernel?
<marble_visions>
i've had success with mainline uboot, mainline kernel and mainline buildroot, booting from an sdcard and with no mali
<ceng>
And this is with the R8 from chip co?
<marble_visions>
a13/r8 chips on custom hw
<ceng>
When is their custom GR8 dev board coming out?
<marble_visions>
thought it was out.. is chip still on sale? olimex were highly critical of the 9$ price tag
<marble_visions>
what do you guys thing? scam/AW legal deal/AW illegal deal/secret sauce?
kaspter has quit [Quit: kaspter]
<marble_visions>
s/scam/kickstarter deal that won't last/
<ceng>
What's stopping us from getting Mali-400MP2 support in mainline?
<ceng>
Why doesn't allwinner support it anyways? Did something legal happen between them and ARM INC?
<Pe3ucTop>
Hello all, question about SPI NAND , is any body tried it ? And any u-boot code to test booting from SPI NAND ??
yann-kaelig has joined #linux-sunxi
<forkbomb>
ceng: userspace Mali stuff is closed source
<ceng>
So who do you need to pay and how much? ARM holdings inc? Or Rockchip? Or Allwinner?
<Pe3ucTop>
MoeIcenowy: I noticed, you mentioned that V3s/Zero can't boot from SPI NAND, where did you get it ??
<ceng>
Pe3ucTop: I think SPI NAND is fairly well supported in u-boot.
<Pe3ucTop>
ceng: sorry? could you point me where it could be selected ?? SPI NOR flash yes, but NAND ??
jbrown has joined #linux-sunxi
<ceng>
Oops. It's late. I thought NOR.
<ceng>
Brain not working.
<Pe3ucTop>
it's ok..
<forkbomb>
ceng: arm, but I doubt they're willing to OSS it.
<forkbomb>
that's why we have lima :)
fkluknav has quit [Ping timeout: 240 seconds]
<ceng>
I checked the lima website a few weeks ago. Looks dead.
<ceng>
Where are the good references for mali + linux (aside from linux-sunxi.org)
<MoeIcenowy>
P.S. someone is doing a DRI-base lima
<ceng>
What does it mean base? Direct rendering interface base?
<ceng>
I'll check it out!
<MoeIcenowy>
although it seems to be a part-time project
Langoor has joined #linux-sunxi
Ntemis has joined #linux-sunxi
Andy-D has quit [Ping timeout: 255 seconds]
<ceng>
Dang. That yuq guy must be ARM/allwinner insider. Crazy.
<forkbomb>
yuq works for amd
fkluknav has joined #linux-sunxi
aidin has joined #linux-sunxi
aidin has quit [Client Quit]
aidin has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<miasma>
ceng: arm holdings doesn't want anyone from the free/open source community to use their stuff. i doubt they're willing to produce mali drivers no matter how much you pay
<KotCzarny>
why pay-once-use-many-times, when they can charge every time? ;)
<ceng>
Just sad. So it's really arm holdings being the bad guy, not allwinner?
<miasma>
people also like to pay without getting any support so why should they provide any support at all :)
<KotCzarny>
see the money flow
<KotCzarny>
as always, if you dont know what's going on, trace the money
<miasma>
ceng: the idea probably is to keep everything closed and locked down so that mobile devices can't be upgraded. that way people buy more and more devices -> more moneys to everybody involved
fl_0 has quit [Ping timeout: 240 seconds]
<Ke>
ARM openly noted that there is absolutely no demand for open source drivers for mali
<Ke>
they may be lying, but that's what they say IIRC
<Ke>
if you have enough money, you can just buy their IP
fl_0 has joined #linux-sunxi
<miasma>
i guess the mali stuff in many dev boards is already quite obsolete anyways
<Pe3ucTop>
Question about U-Boot : if I'm going to apply SPI NAND , do I have to write 2 drivers - for SPL and for TPL ?
<marble_visions>
to arm's defense, they have lowered the upfront costs from their cortex-m line.. now you only pay the royalties from sales. but that's only what i've read, i haven't designed anything with those cores myself to know for sure :)
SP7RT has joined #linux-sunxi
awais has quit [Ping timeout: 240 seconds]
afaerber has joined #linux-sunxi
SP7RT_ has joined #linux-sunxi
cnxsoft has quit [Remote host closed the connection]
SP7RT has quit [Ping timeout: 240 seconds]
cds has joined #linux-sunxi
BenG83 has quit [Ping timeout: 240 seconds]
enrico_ has joined #linux-sunxi
f0xx has joined #linux-sunxi
jstein_ has joined #linux-sunxi
jstein_ is now known as jstein
jelly-home has quit [Ping timeout: 248 seconds]
jernej has joined #linux-sunxi
jelly-home has joined #linux-sunxi
<willmore>
Ke keep in mind that ARM's customers are Allwinner, etc. Not you and me who end up owning devices with their chip in them.
JohnDoe_71Rus has joined #linux-sunxi
<marble_visions>
how did allwinner actually decide to do that github codedrop?
nove has joined #linux-sunxi
anarsoul has joined #linux-sunxi
<Ke>
willmore: exactly
ykchavan has joined #linux-sunxi
aalm has quit [Ping timeout: 240 seconds]
massi has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
fkluknav has quit [Ping timeout: 264 seconds]
SP7RT_ has quit [Ping timeout: 255 seconds]
reinforce has quit [Quit: Leaving.]
BenG83 has joined #linux-sunxi
<nove>
so, what is new at the all winners? (didn't keep up with anything FLOSS related in this last months)
fkluknav has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
<miasma>
nove: you mean new end user products or SoC options?
<nove>
miasma: anything really
<MoeIcenowy>
mripard: it seems that in u-boot currently config VIDEO is defined both in arch/arm/mach-sunxi/Kconfig and in drivers/video/Kconfig
<KotCzarny>
nove: the only interesting thing is H6
<KotCzarny>
but seems there is only one product including it
aidin has quit [Remote host closed the connection]
tom_nov has quit [Quit: Leaving]
<cds>
Is there a way to force (A20) HDMI video / audio on boot, before the connected TV/monitor is turned on? Turning the TV on after is too late - it gets detected but no subsequent video/audio output.
<nove>
thanks everybody, (i will eventually get up to date in this next days)
<smaeul>
I'm trying to use mainline u-boot on orangepi win plus and neither sd card nor ehci works
afaerber has quit [Quit: Leaving]
jernej has joined #linux-sunxi
<smaeul>
are there any patches needed? armbian doesn't seem to be using any
<smaeul>
mmc info works, but I get "## Unknown partition table type 0"
<smaeul>
and EHCI init gives me "USB0: PA: set_value: error: gpio PA0 not reserved"
<smaeul>
somehow phy->gpio_vbus == 0 in sunxi_usb_phy_power_on
<smaeul>
even when CONFIG_USB1_VBUS_PIN=""
fkluknav has quit [Ping timeout: 248 seconds]
<smaeul>
I'd be happy to get either one (mmc or usb) working
<KotCzarny>
going to enable slab debugging
<KotCzarny>
oops. wrong chan
JohnDoe_71Rus has joined #linux-sunxi
<MoeIcenowy>
opi win is an ignored board
<MoeIcenowy>
:-(
<MoeIcenowy>
The A64 Pine family is too shining that the shine hidden other A64 boards
<ceng>
Hah.
<ceng>
A64 pine still doesn't have eglfs_mali integration right?
<MoeIcenowy>
and I have even no interest to buy other A64 boards
<MoeIcenowy>
(except BPi sent me a BPi M64)
<ceng>
We can send you other boards!
<MoeIcenowy>
ceng: yes
<MoeIcenowy>
as the only available blob is x11 variant
<MoeIcenowy>
not gbm variant
<smaeul>
I needed opi win because it has CPUS UART exposed on 40-pin connector
<KotCzarny>
MoeIcenowy: i think it's thanks to pine64
<miasma>
are there plans to finalize the support for old h2/h3/h5 boards now that the support is pretty good in general? e.g. some dtb files are still missing. the wiki suggests using configs for other boards. it's a bit hard to find what's still missing since there are no tags for todo items, only for fully supported boards
<MoeIcenowy>
KotCzarny: yes ;-)
<MoeIcenowy>
miasma: usually popular boards can get better support ;-)
<KotCzarny>
they actually done quite a bit of work to make them usable
<MoeIcenowy>
and for enhancements by me only boards owned by me can be covered ;-)
<cds>
Any A20 HDMI experts here?
<KotCzarny>
typ
<KotCzarny>
yup
<MoeIcenowy>
(As I don't dare to enable features on boards that I don't have ;-)
<miasma>
MoeIcenowy: the only task left of copy pasting the device tree config from one board to another
<MoeIcenowy>
but I need testing
<miasma>
so it's not possible to include one that possible does not work, then fix it later?
<miasma>
it's better to have no support at all?
<MoeIcenowy>
for H2+/H3/H5 I personally have OPi PC/One/Zero/PC2/Prime, BPi M2+/M2 Zero(not yet mainlined as it's not the final version), Nano Pi NEO2
ykchavan has quit [Ping timeout: 264 seconds]
<MoeIcenowy>
miasma: yes
<MoeIcenowy>
add new things may break old things
<cds>
I'm trying to solve the problem of booting a board and app, that uses HDMI, _before_ the TV is turned on.
<miasma>
MoeIcenowy: the support is missing from opi mini 2, opi plus 2
<cds>
If the board is started first, I can't get console output.
<smaeul>
MoeIcenowy: any idea where to start debugging the u-boot issue? is it possibly a device tree problem?
<MoeIcenowy>
smaeul: I don't know why MMC doesn't work on OPi Win
<MoeIcenowy>
and for EHCI/OHCI it may be several problems
<MoeIcenowy>
I don't know whether it works on Pine64
<MoeIcenowy>
if it works on Pine64 then it may only be DT issue
jstein has quit [Remote host closed the connection]
<smaeul>
ok, I'll have to compare with pine64
f0xx has quit [Ping timeout: 264 seconds]
<MoeIcenowy>
as I said, in communities popular boards get more support and unpopular boards get less
f0xx has joined #linux-sunxi
<MoeIcenowy>
miasma: P.S. for OPi Plus2 the hardware difference compared to OPi Plus is only number differences -- 2GiB DRAM v. 1GiB, 16GB eMMC v. 8GB
<MoeIcenowy>
software is fully compatible with OPi Plus
<MoeIcenowy>
the same thing happens on OPi Win&Win Plus
enrico_ has quit [Quit: Bye]
<miasma>
MoeIcenowy: maybe in terms of specs, but the board looks a bit different
akaizen has quit [Excess Flood]
f0xx has quit [Ping timeout: 248 seconds]
msimpson has quit [Quit: Leaving]
akaizen has joined #linux-sunxi
SP7RT has joined #linux-sunxi
aidin has joined #linux-sunxi
dev1990 has quit [Read error: Connection reset by peer]
dev1990 has joined #linux-sunxi
aidin has quit [Ping timeout: 260 seconds]
dave0x6d has quit [Quit: Connection closed for inactivity]
anarsoul|2 has joined #linux-sunxi
lurchi__ is now known as lurchi_
lurchi_ is now known as lurchi__
yann has quit [Ping timeout: 264 seconds]
Gerwin_J has quit [Quit: Gerwin_J]
Mr__Anderson has joined #linux-sunxi
<jernej>
MoeIcenowy: Did you try to use mali x11 driver on H3 with 4.13 kernel?
<jernej>
MoeIcenowy: I only managed to get 2 fps
dave0x6d has joined #linux-sunxi
<anarsoul|2>
jernej: how do you measure it?
<jernej>
glmark-es2
SP7RT_ has joined #linux-sunxi
SP7RT has quit [Ping timeout: 246 seconds]
antony1 has quit [Quit: Leaving.]
aidin has joined #linux-sunxi
vagrantc has joined #linux-sunxi
duracrisis has quit [Quit: Remember, smarter not harder!]
duracrisis has joined #linux-sunxi
duracrisis is now known as Guest67931
Andy-D has quit [Ping timeout: 240 seconds]
IgorPec has quit [Ping timeout: 260 seconds]
Guest67931 has quit [Changing host]
Guest67931 has joined #linux-sunxi
Guest67931 is now known as starship
aidin has quit [Remote host closed the connection]
starship is now known as duracrisis
fugitive_ has quit [Ping timeout: 240 seconds]
yann has joined #linux-sunxi
SP7RT_ has quit [Ping timeout: 260 seconds]
Hao_ has joined #linux-sunxi
SP7RT has joined #linux-sunxi
Hao has quit [Ping timeout: 264 seconds]
BenG83 has quit [Quit: Leaving]
fugitive_ has joined #linux-sunxi
gnufan has joined #linux-sunxi
GPenguin has quit [Quit: Leaving]
BenG83 has joined #linux-sunxi
argulp has quit [Ping timeout: 248 seconds]
fugitive_ has quit [Ping timeout: 248 seconds]
fugitive_ has joined #linux-sunxi
argulp has joined #linux-sunxi
cds has quit [Ping timeout: 260 seconds]
lurchi__ is now known as lurchi_
antony has joined #linux-sunxi
aidin has joined #linux-sunxi
fugitive__ has joined #linux-sunxi
aidin has quit [Ping timeout: 240 seconds]
fugitive_ has quit [Ping timeout: 248 seconds]
SP7RT_ has joined #linux-sunxi
jstein_ has joined #linux-sunxi
jstein_ is now known as jstein
SP7RT has quit [Ping timeout: 240 seconds]
lurchi_ is now known as lurchi__
GPenguin has joined #linux-sunxi
Putti has quit [Ping timeout: 248 seconds]
clemens3 has joined #linux-sunxi
Putti has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
antony has quit [Quit: Leaving.]
jstein has quit [Remote host closed the connection]