<arokux2>
focus_it: you might want to take a look at printenv in u-boot prompt
<Turl>
focus_it: it's either using the built in, default uboot environment, or a different one saved on the raw card
<Turl>
if you can boot the card, printenv is easiest
<arokux2>
good night!
arokux2 has quit [Remote host closed the connection]
<focus_it>
arokux2: thanks
<focus_it>
Turl: what i want to do is change it - if i pause it, change it and save it, will it remember next time i boot it?
<focus_it>
(i located what looks like the environment in the raw data - changed it by editing the bytes stored in uSD card - but that failed to do anything)
<focus_it>
hmmm... I remember changing the environment on a sheeva plug a long time ago and saving it - so I guess I must be able to modify and save - just have to do some googling i guess
<focus_it>
to find the commands to save the uboot environment once it has been changed
<focus_it>
Turl: thanks
<focus_it>
good night
<Turl>
focus_it: you can edit it and run 'saveenv'
<focus_it>
ok
<Turl>
sleep well
focus_it has quit [Quit: Leaving]
popolon has quit [Quit: Quitte]
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
benn has joined #linux-sunxi
<benn>
ping arokux
<benn>
I've got a package from allwinner, linux-with-multi-decoder.rar, which containing a libve and a test program
<benn>
when I run the VE test program, I got the following error
<benn>
open /dev/sunxi_mem failed. Anyone can provide some suggestion? to port sunxi_mem driver of there some other choice?
<benn>
I will go to allwinner next Monday to work with allwinner engineer.
<benn>
I think I need to do some preparation about the cedar
<benn>
is there an replacement option for sunxi_mem?
<libv>
benn: permissions? or does the device just not exist?
<benn>
If I knew the issue of current libve, I can ask them to fix for us
<benn>
not exist. the current kernel seem no sunxi_mem
<libv>
and sunxi_mem...
<libv>
sounds a bit samsungish
<libv>
where they shipped loads of phones with their whole mem directly mappable
<libv>
by a user
<benn>
sunxi_mem driver is developed by allwinner. I am quite sure about it.
<benn>
so my question is, should we make the sunxi_mem driver work, or just create a new wrapper for it
<benn>
the sunxi_mem will not make use of the ve reserved memory at all
<benn>
it's totally new starting from sun6i/sun7i
<Turl>
hi benn
<benn>
hi Turl
<Turl>
benn: I've made a patch for 400mhz mbus and have been testing a bit this afternoon, my cb2 seemed to behave correctly
<benn>
great! I will arrange a guy to test it this weekend. and make an SD card image for that today
<benn>
Turl: lubuntu desktop?
\\Mr_C\\ has quit [Quit: .]
<Turl>
benn: I prepared a card image for cb2 (~350M)
<Turl>
linaro alip + linux-sunxi 3.4
<benn>
Turl: ok. GPU enabled ?
<benn>
Turl: I want to test memtester + glmark_es2
<Turl>
benn: yes, I installed sunxi-mali and fbturbo
<Turl>
benn: yes, both included and working
<Turl>
also added tinymembench
<benn>
Turl: ok, thanks. Where I can download ?I can ask a guy to test it right now
<benn>
Turl: I can provide a ftp server for upload? do you need it ?
<mnemoc>
kz1: iirc their u-boot uses an special partition to know what to boot
<mnemoc>
and after writting the write text there u-boot will jump into fel
<mnemoc>
right text*
<kz1>
ok, so if I want to use their version of uboot I need to use their method to update but if I install the open version of uboot there is another method that works on linux?
<mnemoc>
fel + upload u-boot, linux and an installer initramfs
<oliv3r>
mnemoc: didn't wingrime always have an alias on the old server?
<mnemoc>
the mail forwarding was done by the dns hosting. and no wingrime there
BluesBoy has joined #linux-sunxi
<mnemoc>
i had to move out of pointhq as they dropped the free plans
AreaScout has joined #linux-sunxi
<oliv3r>
hmm, strange, i have seen him use that alias for quite some time :)
<oliv3r>
guess that's an 'oops' :)
<oliv3r>
wingrime: bad boy!
notmart has joined #linux-sunxi
<gzamboni>
mnemoc, if you need extra emails i can add it, just /msg me
<gzamboni>
oliver ___^
<oliv3r>
gzamboni: wingrime has one, or uses one, but i think it never was setup
<oliv3r>
wingrime@gmail.com i think it is
<gzamboni>
well, if you or he wants one and everyone is ok with that i can create it
<mnemoc>
+1
<gzamboni>
wingrime@sunxi-linux.org to wingrime@gmail.com ?
<gzamboni>
linux-sunxi
<mnemoc>
yes
<gzamboni>
ok, creating it
<mnemoc>
and that's why I also bought the backward domain :p
n01 has joined #linux-sunxi
_massi_ has joined #linux-sunxi
<gzamboni>
you did right
<gzamboni>
done, redirect should be working
enrico_ has joined #linux-sunxi
<gzamboni>
oliv3r, any news from fosdem ?
<oliv3r>
nothing yet
<oliv3r>
ok i'm debating wether I want a 'dban' image on my pxe server
<oliv3r>
accidentally booting and running it is kinda really bad
<oliv3r>
but having the option available is very interesting
FR^2 has joined #linux-sunxi
shineworld has joined #linux-sunxi
vicenteH has quit [Ping timeout: 260 seconds]
popolon has joined #linux-sunxi
apo has joined #linux-sunxi
vicenteH has joined #linux-sunxi
wolfy has joined #linux-sunxi
Black_Horseman has quit [Remote host closed the connection]
<JohnDoe_71Rus>
for me work U-Boot 2013.04-07297-gc8f265c-dirty (Jun 23 2013 - 14:31:49)
<speakman>
No really sunxi related, but anyone here knows how to utilize secure erase on SD cards through MMC interface? Or just any other way to erase an whole SD card without using 'dd if=/dev/zero ...'?
<speakman>
There seems to be support for erase and secure erase in the kernel, but I have no idea how to use it: http://lwn.net/Articles/395147/
<mnemoc>
be sure to use a good bs=
<JohnDoe_71Rus>
destroy card, burn it )
<mnemoc>
kitchen scissor might work well
<JohnDoe_71Rus>
yep
<speakman>
JohnDoe_71Rus: My need is to make sure every single byte on the SD is cleared (0), not getting rid of the SD card itself. :D
<oliv3r>
speakman: sd cards don't speak ATA, secure erase is an ATA command
<oliv3r>
oh, they added secure erase to mmc
<oliv3r>
interesting
<oliv3r>
i guess you use hdparm for that, just follow the security erase for ata
<n01>
jeez, I'm working on a chipset with 10MB ram. I'm able to fit kernel and rootfs inside
<wolfy>
n01: he's doing something "special"
<n01>
he is "special" :D
<wolfy>
he mention it's not production use
<mnemoc>
s/production//
<speakman>
Since running on MMC (as opposed to MTD directly) are there any good efficient read-only file system available for a non-changing rootfs?
<n01>
squashfs?
<mnemoc>
aufs + squashfs + tmpfs is awesome :p
<n01>
overlays FTW
<wolfy>
on a system whose nanda looks like http://www.fpaste.org/52669/38392410/ ( cb-a20-lubuntu-server-13.06-v1.00.img ) what do I have to change to get 1920x1080 ? I've already modified script.bin ( using 6, 9 and 10 for screen0_output_mode but it seems to be ignored or superseded somwhow )
<speakman>
Hm aufs was new. I do not actually need overlay, but a read-only rootfs is always to prefer when it should never be altered.
<wolfy>
whatever I tried, fbset after reboot reports mode "1280x720-50"
<mnemoc>
aufs makes your read-only rootfs writable ;-)
<speakman>
But squashfs is still The One when it comes to read-only file systems?
<ccube>
I think I have to stay with 3.4 series to have everything working?
<ccube>
Does anyone know if the LED1 on olimex a10s board i dimmable by a hardware PWM?
<n01>
ccube: mainline is not complete but anyway the kernel has all you need
<n01>
I usually boot mainline with a rootfs generated with buildroot as ramfs
<ccube>
can you boot a buildroot created image from NAND
<n01>
never tried
<ccube>
ok
<ccube>
so If I boot a mainline image, I dont have any RW device I can use?
hramrach has quit [Remote host closed the connection]
<ccube>
do you use git@gitorious.org:buildroot-olinuxino/buildroot-olinuxino.git
hramrach has joined #linux-sunxi
BluesBoy has quit [Quit: HydraIRC -> http://www.hydrairc.com <- Would you like to know more?]
<Turl>
slapin: tl;dr version would be i2c, emac, gpio, serial
<Turl>
slapin: it's not
<Turl>
slapin: maybe a bit for the 3.13 stuff, but that's not even merged in torvalds/master yet :)
<slapin>
Turl: ok
<slapin>
I am a bit frustrated about emac stuff
<slapin>
it doesn't respect ethaddr setting even
<slapin>
is it the same in mainline as in sunxi-3.4?
<Turl>
slapin: no
<Turl>
the driver is different
<Turl>
although they kind of share a far away ancestry
<Turl>
slapin: what's ethaddr?
<slapin>
Turl: u-boot setting of mac address
pfdm has joined #linux-sunxi
<Turl>
slapin: but that setting is just for uboot's own use afaik
<Turl>
(eg for tftp, dhcp in uboot)
<slapin>
Turl: no
<slapin>
Turl: most boards use this setting
<slapin>
Turl: just set in u-boot and don't touch anywhere, that is
<Turl>
slapin: you can set it on uboot, you need to make uboot set it on the dt and that should be it
<slapin>
there is no reason to have this different in u-boot and Linux
<slapin>
Turl: no need to DT it, just don't corrupt it
Gerwin_J has quit [Quit: Gerwin_J]
<slapin>
Turl: as everybody else do
<slapin>
Turl: it is easy
<slapin>
Turl: if you need to reset emac, just read address, then reset, then write it back
<slapin>
Turl: see all other embedded ethernet drivers, they do just that
<slapin>
the ethaddr setting in u-boot was created to be one-time protected setting for the whole machine
<slapin>
there's no reason to divert from that
maz has joined #linux-sunxi
<slapin>
you always can do nasty things later if you want to, it is just sane default
wolfy has quit [Quit: Statisticile sunt precum costumele de baie:iti arata ce stie toata lumea si iti ascund exact ceea ce ai fi vrut sa afli. (Georges Vedel)]
<maz>
silly question: has anyone got a CT with ethernet working in u-boot?
iamfrankenstein has quit [Ping timeout: 260 seconds]
<Turl>
slapin: uboot already copies it to dt for you, it should just work
<Turl>
slapin: what board are you using?
<Turl>
maz: no, CT uses gmac which is not supported on uboot nor mainline linux so far
<maz>
Turl: thanks. anybody got patches already, or should I start trying to understand this mess?
<maz>
Turl: assuming the gmac block is the same as the one on other SoCs, of course...
<Turl>
maz: no patches that I know of
<Turl>
maz: no, gmac is only present on A31 & A20
<Turl>
A20 also has emac
<Turl>
but the phy on CT is only usable with gmac
<maz>
Turl: Ah! but i can spot a gmac driver in the A31 u-boot...
awatch has joined #linux-sunxi
<Turl>
maz: dunno what's the status of A31
<Turl>
maz: talk with oliv3r, he was trying to get gmac working not so long ago
<Turl>
slapin: I think you just need an alias on your dt
<maz>
Turl: thanks, will get in touch.
<slapin>
Turl: cubie
<slapin>
Turl: cubieboard
<ccube>
mripard, the device has to be run standalone, it will be selled to customers. so NFS is not an option
<ccube>
seems like nobody cares, since the removal is 3 years old
<ccube>
Ramdisk image is corrupt or invalid
rz2k has joined #linux-sunxi
<ccube>
I have to use mkimage I think?
<arokux>
ccube: steev once told us it is not necessary, but maybe you should launch it differently
<ccube>
yeah
<ccube>
I think I didnt "guess" the right options in buildroot
<ccube>
is there any a10s-defconfig?
<arokux>
ccube: it shouldn't board specific, should it?
<ccube>
target options
<ccube>
ARM (big endian)?
<arokux>
aren't they are common for all sunxi?
<ccube>
think so
<arokux>
anyway, I can share with you my working config, it worked for A10.
<arokux>
if you want
<ccube>
but then I have to ask for a sunxi-defconfig :
<ccube>
yeah, would be grweat!
<arokux>
ccube: in an hour or so, I hope this is fine
<ccube>
no problem
pacopad has left #linux-sunxi [#linux-sunxi]
n01 has quit [Ping timeout: 260 seconds]
_massi_ has quit [Quit: Leaving]
enrico_ has quit [Quit: Bye]
<wens>
starting to look at gmac
<wens>
thinking about copying emac driver's structure, and pasting in gmac bits
<steev>
hmm?
<steev>
i told you what isn't necessary?
awatch has left #linux-sunxi [#linux-sunxi]
awatch has joined #linux-sunxi
soul has joined #linux-sunxi
soul is now known as Guest19362
rah has quit [Ping timeout: 260 seconds]
rah has joined #linux-sunxi
ZetaNeta has joined #linux-sunxi
pfdm has quit [Ping timeout: 250 seconds]
rah has quit [Ping timeout: 264 seconds]
shineworld has quit [Ping timeout: 272 seconds]
rah has joined #linux-sunxi
<oliv3r>
maz: i only booted gmac on 3.3 from the lichee kernel; that's it. I tried using emac with the gbit PHY but that didn't work due to rgmii not working with rmii or something
<oliv3r>
wens: i thought that too, but gmac is HUGELY different
<oliv3r>
wens: it's enormously different, so not so sure if that approach will worki
<maz>
oliv3r: I'll try to have a look at the A31 driver for u-boot (probably need some additional pinmux/clock hacking). If there is a kernel patch already, I can have a look too.
arokux2 has joined #linux-sunxi
<maz>
oliv3r: can you point me to this 3.3 branch?
fredy has quit [Excess Flood]
fredy has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
focus2 has joined #linux-sunxi
awatch has quit [Quit: awatch]
<kz1>
am I doing something wrong or is fastboot not supported by the allwinner uboot ?
<kz1>
everytime I run adb reboot bootloader it just reboots the device back into the OS
<arokux2>
ccube: have u received cfg?
<ccube>
yeah
<ccube>
thanx
<ccube>
it complained about my crossdev toolchain
<ccube>
now i am trying with internal one
<ccube>
i also have a look at openembedded
<ccube>
this one has java support :)
eebrah_ has quit [Ping timeout: 244 seconds]
<ccube>
arokux, so you also build kernel with buildroot?
<ccube>
is this neccesary if I built the uImage by myself?
eebrah_ has joined #linux-sunxi
<arokux2>
ccube: no, I've only built roofts
<arokux2>
ccube: there is an article on the wiki for OE
<ccube>
ok... I usedyour config, and it is downloading linux-formware etc
<ccube>
lets see what the result is, hehe
panda84kde has quit [Quit: Konversation terminated!]
<ccube>
I got a rootfs.cpio and a rootfs.tar
<ccube>
which one do you use?
<ccube>
just copy it to sd and load with uBoot?
<ccube>
arokux,
Fusing has joined #linux-sunxi
<arokux2>
rootfs.cpio
<arokux2>
no
<arokux2>
ccube: 1 sec
<ccube>
k
awatch has joined #linux-sunxi
<arokux2>
ccube: the firmware is for WLAN adapter
<arokux2>
ccube: you can use either cpio or tar. you need to extract one of those as root to the root partition
<ccube>
well, it shouldnt download the whole linux-firmware package~~
<arokux2>
ccube: you can also make use of sunxi-bsp
<ccube>
no root partition
<ccube>
just want to boot initramfs
<arokux2>
ccube: mm.. i'm not sure what i've selected there
<ccube>
RO
<arokux2>
ccube: you want to built it into the kernel itself?
<ccube>
doesnt matter, just wanna boot
<ccube>
dont care of firmware etc
jemk has joined #linux-sunxi
<ccube>
no
<ccube>
i have kernel
<ccube>
and initramfs
<ccube>
2 files
<arokux2>
ccube: and?
<ccube>
trying.
<ccube>
w8
<ccube>
Wrong Ramdisk Image Format - Ramdisk image is corrupt or invalid
<ccube>
i think i am missing something
<arokux2>
ccube: where have you got ramdisk?
<ccube>
sd
rellla has joined #linux-sunxi
<arokux2>
sorry, where from*
<ccube>
i want to use the buildroot cpio as initramfs
<arokux2>
ah, so have added the path to the rootfs.cpio to your kernel config?
<arokux2>
ccube: ping arokux2 please
<jemk>
wens: you want to work on gmac?
<ccube>
arokux, i paste my boot.cmd
<arokux2>
ccube: ping aroku2 please
<arokux2>
ccube: so have added the path to the rootfs.cpio to your kernel config?
<ccube>
arokux2, looks nice. dhcp works fine, also ssh. jamvm java vm is compiled in, but porting my java application to that old VM will take much effort i think. but this was a big step into the right direction today :)