techn__ has quit [Read error: Connection reset by peer]
FDCX has joined #linux-sunxi
FDCX_ has quit [Ping timeout: 252 seconds]
popolon has quit [Quit: Quitte]
<libv>
oliv3r: nikrou his nand problem is probably the same that i had
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
FreezingAlt has joined #linux-sunxi
FreezingCold has quit [Read error: Connection reset by peer]
penghb has joined #linux-sunxi
FreezingAlt has quit [Read error: Connection reset by peer]
FreezingCold has joined #linux-sunxi
newleaves has quit [Quit: Leaving]
newleaves has joined #linux-sunxi
newleaves has quit [Read error: Connection reset by peer]
FreezingCold has quit [Read error: Connection reset by peer]
FreezingAlt has joined #linux-sunxi
FRQuadrat has joined #linux-sunxi
tinti has quit [Remote host closed the connection]
FreezingAlt has quit [Ping timeout: 246 seconds]
FR^2 has quit [Ping timeout: 252 seconds]
FRQuadrat has quit [Remote host closed the connection]
FRQuadrat has joined #linux-sunxi
newleaves has joined #linux-sunxi
FRQuadrat has quit [Remote host closed the connection]
FRQuadrat has joined #linux-sunxi
FRQuadrat has quit [Remote host closed the connection]
FRQuadrat has joined #linux-sunxi
bsdfox has quit [Ping timeout: 272 seconds]
bsdfox has joined #linux-sunxi
FreezingCold has joined #linux-sunxi
deasy has quit [Remote host closed the connection]
FreezingCold has quit [Ping timeout: 248 seconds]
JohnDoe_71Rus has joined #linux-sunxi
FreezingCold has joined #linux-sunxi
[7] has quit [Disconnected by services]
TheSeven has joined #linux-sunxi
newleaves has quit [Quit: Leaving]
bsdfox has quit [Ping timeout: 248 seconds]
<penghb>
oliv3r: I may have the same nand problem as nikrou.
<penghb>
I flashed the v1.01 Android image 2 days ago. after boot lubuntu-desktop, I can not boot the Android v1.01 from nand.
<penghb>
I used awimage with the image file. I found that RFSFAT16_BOOTLOADER_FEX00 is smaller than the v1.00 one. There is no boot.axf, script.bin
bsdfox has joined #linux-sunxi
<libv>
the last thing nikrou should be doing is try to flash the nand again
<libv>
sd-card is the road to getting his kid(s) a working system fast
newleaves has joined #linux-sunxi
<penghb>
I flashed Android v1.01 image again. The files stored in UDISK are still there. It looks like only MBR or the head part of the nand was modified.
hipboi has joined #linux-sunxi
hipboi has quit [Client Quit]
Black_Horseman has quit [Read error: Operation timed out]
<gzamboni_>
also i've checked some new funtionalities with the http://lxr.free-electrons.com , so either they did a backport of those new functionalities , either its the 3.8
<hno>
gzamboni_, :
<hno>
if [ -r include/generated/utsrelease.h ]; then
<oliv3r>
gzamboni_: i strongly feel that they backported some required stuff
<wens>
wow 2015
<oliv3r>
future proof
<libv>
88mph
<oliv3r>
i'm looking for dram standby code
<oliv3r>
great scott!
<hno>
oliv3r, there is none. It's managed by a different cpu.
<oliv3r>
hno: really? crap
<hno>
same on a31.
<oliv3r>
crap
bbrezillon has joined #linux-sunxi
<hno>
standby was reworked to use an openrisc core to monitor for wakeup.
<gzamboni_>
hno, it doesnt have the generated/utsrellease.h neither
<hno>
gzamboni_, generated/ is... generated at build time.
<gzamboni_>
ah, ok
<gzamboni_>
let me build it
<oliv3r>
and we dont have that firmware src :(
<hno>
never had. But we did have a blob in a31 sources. Did not immediately spot one here.
wolfy has joined #linux-sunxi
wolfy has left #linux-sunxi [#linux-sunxi]
<oliv3r>
well there must be a blob somewhere, or we can't standby :p
<oliv3r>
i wonder what the version string of the a23 bootloader is compared to the a31 bootloader
<gzamboni_>
oliv3r, you were right #define UTS_RELEASE "3.4.39"
npcomp has quit [Ping timeout: 272 seconds]
npcomp has joined #linux-sunxi
rellla2 has joined #linux-sunxi
rellla has quit [Ping timeout: 260 seconds]
pwhalen has quit [Read error: Operation timed out]
maz_ has joined #linux-sunxi
<rm>
mnemoc, why I can't edit User namespace pages (specifically, mine)?
<libv>
rm: because you are not a person :p
<oliv3r>
you are but a meat popsicle
<rm>
that must have been a recent development
<rm>
because I have created and edited that userpage in the past
<libv>
rm: try now
<rm>
but now I can't even update my homepage URL on it
<rm>
thanks
<rm>
also can someone educate me on the subject of NAND?)
<rm>
can we treat it as a regular block device with a regular partition table
<rm>
or is there still some magic and Allwinnerism involved
<oliv3r>
yes, no yes
<oliv3r>
libnand exposes nand as a regular block device; it does not have a regular partition table, it requires nand_part to create/edit as usual; lots of magic and allwinnerisms in libnand by default :)
<libv>
rm: there is this page called NAND on our wiki
<rm>
danke
maz_ has quit [Ping timeout: 245 seconds]
rz2k has joined #linux-sunxi
_massi_ has joined #linux-sunxi
<oliv3r>
ok, so
<oliv3r>
where do you guys get your ubuntu image sfrom? because i'm trying a debootstram to ubuntu; but there's no official arm packages by ubuntu are there?/
<mripard_>
wens: adding a Cc isn't modifying the patch, so yeah, resend v2 will be fine
nikrou has joined #linux-sunxi
<nikrou>
Hi all
<nikrou>
I think it's not a good idea to post my problem on your mailing list. How can I do if I want more of you seeing my problem to eventually help me ?
penghb has quit [Quit: Leaving.]
<oliv3r>
mripard_: i may have moved it to my linux-sunxi box; i'll check later today
<oliv3r>
nikrou: read the backlog at irclog.whitequark.org is a good start
<oliv3r>
nikrou: you will quadruple your chances of success, by adding serial debugging capability so you can see what's going on
enrico_ has joined #linux-sunxi
shineworld has joined #linux-sunxi
<oliv3r>
ah hah!
<oliv3r>
ports.ubuntu
juanfont has left #linux-sunxi ["Saliendo"]
juanfont has joined #linux-sunxi
<oliv3r>
ok; installing saucy :D
<nikrou>
Thanks Oliver
penghb has joined #linux-sunxi
<oliv3r>
nikrou: the reason you want serial debug, on the default uart0; is that you can see if your boot0 and boot1 are intakt; if that is the case, recovery should be relativly easy; possibly update libnand to add support for your specific flash chip
<oliv3r>
if your boot0/boot1 are corrupt; then things get harder, as you will need to replace those
<nikrou>
Ok
<nikrou>
I will double check serial console page
<oliv3r>
but blindfoldedly doing a slalom is really hard :)
<JohnDoe_71Rus>
oliv3r: what do you think, how long sunxi-3.4 will be building on-board cubieboard2?
<libv>
oliv3r: he is on the inet 86vz
<libv>
oliv3r: he only has serial on the uart
<oliv3r>
libv: so no mmc?
<oliv3r>
shared; like yours
<libv>
indeed
<oliv3r>
JohnDoe_71Rus: 30 mins? i dunno
<oliv3r>
libv: ok that's crapshit
<oliv3r>
nikrou: you may have to solder wires to the uart pins :p
<oliv3r>
nikrou: actually; you can boot via FELBOOT and use the uart
<oliv3r>
nikrou: libv has a nice doc for that :)
<oliv3r>
nikrou: but that means either uSD breakout board; or use the shared pins
<nikrou>
I'm not sure to understand
<nikrou>
I'm just re-read the related pages but it's not clear
<oliv3r>
actually booting fel mode or booting from SD card won't make a difference
<oliv3r>
i forgot you got a bootable SD card
<oliv3r>
well the only diff it'll make is that you can use the UART for debugging
<oliv3r>
you'd need an initramfs with the tools to fix this
<nikrou>
My only question : what do I need to do for hardware. I do not have any material
<oliv3r>
maybe we can extract boot0 and boot1 from flash and see if it seems sensible
<oliv3r>
then again; if you can create a parttion, and put boot.axf and u-boot there, it should atleast boot that
<oliv3r>
so lets try that route, it's the easiest
<oliv3r>
when you boot from sdcard, what does uname -a tell you and what does parted /dev/nand say?
<oliv3r>
or nand_part /dev/nand even
vpelletier has joined #linux-sunxi
<nikrou>
I have no nand device under /dev nor /dev/block
popolon has quit [Quit: Quitte]
<oliv3r>
libv: i've put that linaro rootfs on /dev/sda2; i pass that as root=; any other reason why it doesn't boot? the kernel loads fine, but i get nothing after the kernel. i'm using the same kernel as i boot my fedora rootfs with
<oliv3r>
libv: i think both use system.d and it would complain about a missing init i'd expect
<oliv3r>
nikrou: pastebin dmesg
<nikrou>
I'm at work and didn't succeed to boot to my tablet to the wpa2 entreprise wifi. But I can access my sdcard. What do you want exactly ?
<oliv3r>
Linux version 3.4.75; that sounds good atleast :)
<oliv3r>
btw, simtec electronics; is that the IP used for the DMA engine? or is it AW 's own with simtec being some pseudo name
<oliv3r>
nikrou: ah i see yeah; libnand doesn't know your nand chip
<libv>
oliv3r: i know a few former simtec guys, they work at codethink now
<oliv3r>
libv: since the aw dma engine driver from the old stuff is printing simtec copyright
<libv>
oliv3r: i think this just another bit of dma code that was copied
<oliv3r>
ah quite likly
<oliv3r>
sun7i_defconfig still fails to build the first time; needs a second pass to work; ti_firmware missing
<libv>
oliv3r: you went through all the motions, right? and moved the stuff from binary/ one level up?
<oliv3r>
libv: yes! :)
<oliv3r>
i'm building my own kernel now, to see if i get more debugging stuff
<nikrou>
Yes Oliv3: my nand chip is not known
<oliv3r>
nikrou: so we need to update libnand with the parameters from your nandchip
<oliv3r>
nikrou: on the ML libv i think sent some patches to do that for his tablet; chances are they are the same. you probably have to open up your tablet and read the nand chip markings and compare them to those of libv's tablet; if they are the same, it should be easy
<nikrou>
I took more picture
<nikrou>
I will put them online. Difficult because I cannot make good macro with my camera
<libv>
nikrou: what's wrong with trying to get an android working on an sd-card?
Eyal_ has quit [Ping timeout: 245 seconds]
<libv>
actually...
<libv>
aren't people building livesuit images for themselves?
<nikrou>
libv I think there's nothing wrong with android system on sd-card but it's slow
<libv>
this guy even knows that rx/tx are multiplexed on the sdcard
<libv>
rx/tx on both sides of the board
<oliv3r>
i tried to read; but it's to french for me :p
<libv>
anyway, i asked him to come help us out
<libv>
:)
<libv>
i can't say i am too satisfied that i am able to read that.
<libv>
i would've rather spent that highschool time learning something more useful
<libv>
hehe: "1) Le cpu ne tourne pas à 1.2GHz mais à seulement 1GHz, les 200MHz en plus c’est pour attirer le pigeon."
<libv>
1.2g, not really, those extra 200Mhz is for "attracting pigeons"
<libv>
nice expression
<oliv3r>
LOL
HdkR has quit [Remote host closed the connection]
<mripard_>
libv: a pigeon in french is also a dupe
<hsteak>
"attracting pigeons" mean "trap gullible consumers" in this case, for those who didn't catch that
<oliv3r>
i didn't catch that
<oliv3r>
i thoguht it wa sufnny
<hsteak>
i guessed
<hsteak>
i wonder where this expression came from
<libv>
mripard_: ok, that this was the common word for dupe i did not know
<libv>
mripard_: i understood the expression though, as it conjures up the right image
<libv>
pigeons are not the smartest of animals, they are always in harms way, and i love way they tilt their heads to look at things to try to determine whether it is edible or not, and then try to eat it anyway
<oliv3r>
t3st3r: a20 was supposed to be a follow up from a10 so it was always expected to have it
<wingrime>
oliv3r: what do you think about , can we ?
<oliv3r>
t3st3r: who was throwing these claims around?
<oliv3r>
wingrime: calibrate ram with that? well we can start using some of this stuff and compare it
<wingrime>
oliv3r: we still don't know how much ram speed is normal
<t3st3r>
[17:19:15] <oliv3r> t3st3r: who was throwing these claims around? <- well, some guy who actually works somewhere in company which does some A31-based development,
<t3st3r>
It appears it's not his project but he seen sata on dev board, that what makes it interesting oO. Though it could be usb bridge or so, sure.
<hno>
wingrime, if we have some suitable flash memory for u-boot SPL then we likely have sufficient for a full u-boot as well.
<hno>
nand/mmc/emmc/spi.,
<oliv3r>
t3st3r: heh; :p
<wingrime>
hno: a80 have strange BROM0 and BROM1 and buch of sram
<oliv3r>
wingrime: you mean the memory mappings?
<oliv3r>
wingrime: yeah i'm worried a little
<oliv3r>
but right now we need a23 boot0 code really to get the dram timings
<wingrime>
hno: new soc's looks like have more sram than before
<wingrime>
hno: according memory maps in new kernel
nove has joined #linux-sunxi
<hno>
The official A31 dev board do not have SATA connectors. If there was SATA I would think there would be a connector for it.
<oliv3r>
wingrime: have you read the backlog?
eyal has joined #linux-sunxi
<wingrime>
oliv3r: no
arete74_ has quit [Ping timeout: 272 seconds]
pwhalen has joined #linux-sunxi
pwhalen has quit [Changing host]
pwhalen has joined #linux-sunxi
cubear has quit [Quit: Leaving]
<wingrime>
oliv3r: ?
CoSM0 has quit [Quit: ciao]
arete74 has joined #linux-sunxi
<t3st3r>
[17:24:47] <wingrime> hno: a80 have strange BROM0 and BROM1 and buch of sram <- and where these a80 appear in the wild?
<oliv3r>
t3st3r: we have the a23 sdk which has sun9i information in it, which is likly the a80
jemk has joined #linux-sunxi
<t3st3r>
ahh I hoped it out and obtainable as some device :)
<wingrime>
enrico_: can gst avoid some problems in vdpau, for example have many frames in VE memory, not copy each specialy...
<wingrime>
jemk: again, I not get some things in 4K patch
<wingrime>
jemk: I realy not understand why A13 buffer suddenly needed for 4K .....
<wingrime>
jemk: and you added some strange bit in VE_CTRL reg, I have newer saw, thats used somewhere
<enrico_>
wingrime: i think the decoder (as the encoder) needs contiguous frames, so they must stay in VE memory ( BUT i tested it with stage/sunxi-3.4 too where the buffers should come from CMA)
<enrico_>
wingrime: not copy: probably yes, because some gst elements ask the "peer" for buffers to fill so you can pass a VE buffer to it, avoiding one memcpy (it's a TODO written somewhere in my plugin)
paulk-collins has joined #linux-sunxi
<wingrime>
enrico_: you right, VE need physicaly lineral memory
<wingrime>
enrico_: at least for single frame....
<nove>
we have to start think about /dev/cedrus
<wingrime>
nove: indeed no
<wingrime>
nove: DRM interface
deasy has joined #linux-sunxi
<wingrime>
nove: /dev/drm
<nove>
wingrime: yes, was just a way to say the kernel side
<wingrime>
nove: kernel side looks will be very same, It will expose regs to libDRM
<wingrime>
nove: like any GPU currently works
<jemk>
wingrime: the a13 buffers are simply buffers a13 needs always, a10/a20 need only for width >= 2048. Maybe they need a new name, i begin to get an idea of what they are used for
<jemk>
and I wouldn't go for drm too much, kernel has a nice api for such things: v4l mem2mem
<wingrime>
jemk:maybe, we need talk to someone who once deal with it
<wingrime>
jemk: also, are you tryed examine what actualy in that buffer?
<wingrime>
jemk: I consider that croma/luma temp buffer
<jemk>
wingrime: i am trying, but no real results yet, only vague ideas
<wingrime>
jemk: can you dump it in some file, for each frame ...
<jemk>
wingrime: i tried to display it with disp, but it doesn't look like any picture
<jemk>
wingrime: and the problem is, i only can test these with 4k material, as only a13 needs it always
<wingrime>
jemk: if you allocate this, and use non 4k video, decoder simply leaves this buffer untouched?
<jemk>
wingrime: yes
<oliv3r>
wingrime: i asked this question in the linux-media list; and they also said, mem2mem; also there are patches for samsung and imx i think's VPU's
<oliv3r>
samsung even has a jpeg codec driver using mem2mem allready merged
<wingrime>
jemk: Can you dump SRAM than, I only guess, thats can be some data that not fits to SRAM
<jemk>
wingrime: that would mean a13 has less ve sram?!
<wingrime>
jemk: indeed, looks so
<wingrime>
jemk: but need some test
<wingrime>
jemk: also, try play with counters again, maybe you notice something differnet for 4k video
paulk-collins has quit [Ping timeout: 252 seconds]
<wingrime>
sram cost IC space, If they tryed make small chip, thay possible strip much/
paulk-collins has joined #linux-sunxi
specing has joined #linux-sunxi
paulk-collins has quit [Read error: Operation timed out]
paulk-collins has joined #linux-sunxi
paulk-collins has quit [Read error: Operation timed out]
pwhalen has quit [Ping timeout: 245 seconds]
<nikrou>
I had no time this afternoon to compile my kernel but I hope I can do it this evening. In any case I of course let you know if it works and will update wiki after that !
AreaScout2 is now known as AreaScout
<nove>
enrico_: gstreamer is finally installed, is working (in A13)
<libv>
hramrach: did you open the thing up already?
<libv>
hramrach: as you claimed no visible uarts...
<libv>
hramrach: yet there the rx/tx pins which are multiplexed with the sd-card are available on both sides, and are marked
<oliv3r>
nieuwbie: double check your script.bin
printallthething has joined #linux-sunxi
aynam has joined #linux-sunxi
shineworld has quit [Remote host closed the connection]
<aynam>
hello am getting this error when i do "make" in "sunxi-tools" git folder. error libusb.h does not exist
<aynam>
how can i solve that issue?
<rz2k>
apt-get install libusb-dev ?
enrico_ has quit [Quit: Bye]
jinzo has joined #linux-sunxi
jinzo has joined #linux-sunxi
<aynam>
yes i installed libusb-dev
paulk-collins has joined #linux-sunxi
atiti has quit [Ping timeout: 246 seconds]
<nove>
aynam: is the error?, then install libusb-1.0-0-dev, or similar name
<aynam>
nove: libusb-1.0-0-dev is correctly installed
<oliv3r>
aynam: updatedb; locate libusb.h
<aynam>
oliv3r: find cmd gave that result /usr/include/libusb-1.0/libusb.h
<oliv3r>
good; thats where it should be
netlynx has joined #linux-sunxi
<aynam>
oliv3r: do i have to modify the line ( CFLAGS += -Iinclude/ ) in the file Makefile?
<nieuwbie>
hack=0101
steev has quit [Ping timeout: 252 seconds]
paulk-collins has quit [Ping timeout: 252 seconds]
rellla has joined #linux-sunxi
steev has joined #linux-sunxi
<nieuwbie>
oliv3r: I went into fel mode to obtain script.bin but when I converted it acording to instruction which I found on wiki I get a blank file.
jemk has quit [Ping timeout: 252 seconds]
<nieuwbie>
script.fex is blank.
aynam has quit [Ping timeout: 272 seconds]
paulk-collins has joined #linux-sunxi
paulk-collins has quit [Quit: Ex-Chat]
<nieuwbie>
oliv3r: Now its ok. I recompiled sunxi-tools.
pwhalen has quit [Ping timeout: 272 seconds]
<nieuwbie>
oliv3r: they differ so I replaced the correct script.bin but it improved nothing
<nieuwbie>
by correct I mean the original.
FreezingCold has joined #linux-sunxi
nieuwbie has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
pwhalen has joined #linux-sunxi
pwhalen has joined #linux-sunxi
pwhalen has quit [Changing host]
nikrou has joined #linux-sunxi
itdaniher has joined #linux-sunxi
<hramrach>
hmm, I built a supposedly bootable mmc card and it does not boot
<hramrach>
I still get android
<nikrou>
Hi all
<nikrou>
My kernel is ready for installation
netlynx has quit [Quit: Leaving]
<nikrou>
I'm in contact with someone who have the exact same tablet (buy on the same site, same number on mainboard, same date, same lsmod,...), how can he helps me and make a rom from is running tablet whithout breaking it ?
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
<hramrach>
SD card can be copied easily
<hramrach>
but nand is in allwinner proprietary format which cannot be copied easily
<hramrach>
the kernel goes out of its way to not make all of the nand accessible
wingrime has quit [Ping timeout: 260 seconds]
<hramrach>
technically you should be able to make backup of each partition and then assemble them into an image using something like alwinner_pack_tools
<hramrach>
not sure about the name. I don't use them
<nikrou>
but for complete image flashable with livesuit we need boot0, boot1, and other stuff like that
<nikrou>
I already have all my nands backup
<hramrach>
you take that from existing image for same device
<hramrach>
those part of flash are unreadable
<hramrach>
boot0 is in neither
<nikrou>
Yesssssssssssssss it works !
<nikrou>
I build a kernel with libv patch for my nandchip and I can see my nand !
<libv>
nikrou: note that you cannot access anything beyond 0x1000 in the first part of your nand
<libv>
this is where boot0 lives
<nikrou>
ok
<libv>
and i told you about this several days ago
techn_ has joined #linux-sunxi
<libv>
nikrou: this is also why i told you to just live with the nand until we (not me) have figured out how to access the lot reliably
<nikrou>
Yes I remember
<libv>
live with sdcard even
<nikrou>
so now what can I do
<libv>
you can either fix up libnand to properly allow access to everything, which might further destroy the contents of your nand, and which should really be done on a development board
<libv>
or you can live with the sdcard until someone else fixes this
<nikrou>
I'm afraid I cannot modify libnand. I made some C stuff more than ten years ago but very basically
paulk-collins has joined #linux-sunxi
<libv>
nikrou: well, that's the situation
<nikrou>
And when I made my nands "backup" I didn't copy beyond 0x1000 ?
<libv>
you didn't copy anything between 0x00 and the start of your first partition
<libv>
you did however copy your partitions
<libv>
nikrou: actually, you might get luck
<libv>
lucky
<libv>
but you've had quite a lot of luck already
<libv>
do you still have the same partition scheme as before?
<nikrou>
yes I know
<libv>
if not, you might want to recreate it
<libv>
and then dd the individual partitions back into their place
vpelletier has quit [Quit: leaving]
<libv>
you might get lucky that way and boot0 might still work
<nikrou>
I don't understand
<libv>
...
<nikrou>
I removed the non correct nands and recreate with the content and no problem for accessing beyond 0x1000 ? Is it that ?
<libv>
nikrou: you first verify that the partition scheme matches the sizes of your nand partition backups.
<libv>
partitioning even
<libv>
my brain-fingers fifo has limited depth apparently