<oliv3r>
hno: A10 & A13 boots the SPL loader from block 8. This then loads actual u-boot from block 40 onwards, counted in 1KB blocks. Replace /dev/sdX with the device name of your media
<oliv3r>
but then 2 lines lower If using v2013.07 or earlier then the procedure is slightly different
<oliv3r>
but both section talk about block 40
<oliv3r>
so I think (maybe under a special header) seek=32 for old
<oliv3r>
also, old uses u-boot.bin (at seek=40), but 'new' isn't mentioned at all (which uses u-boot.img)
<oliv3r>
default boot action lists 'watchdog 0' but i think that command is long gone
popolon has joined #linux-sunxi
notmart has joined #linux-sunxi
notmart has joined #linux-sunxi
rellla2 has joined #linux-sunxi
<oliv3r>
hno: also, possibly unrelated, but maybe make a mention in your very last chapter (about SD card layout) that when using a GUID the maximum amount of partitions is 15, due to the BROM starting to read at 8k?
ZetaNeta has quit [Ping timeout: 260 seconds]
<hno>
oliv3r I am not familiar with GUID partition table requirements.
<hno>
is anyone even using GUID partitions on SD cards?
<oliv3r>
you don't have to know about GUID, except for that little image which explains pretty much all
<oliv3r>
or is a nice summary :)
<oliv3r>
what I don't understand is why 8k offset was choosen; just such an arbitrary offset. MBR + partition table is only 512 bytes, 4k offset maybe ideal for 4k sector drives (that we'd not even use on flash or mmc) or 64k for a fully blown GUID
<oliv3r>
8k is so ... random
<oliv3r>
also, the 'size' in the storage map is wrong, the start appears to be right
<hno>
oliv3r, I don't know why 8KB. But it appears that is the only offset BROM tries to load the boot image from.
ZetaNeta has joined #linux-sunxi
<oliv3r>
yeah, i was just curious behind the thought-process or reasoning
<hno>
what is wrong in size?
<hno>
or better yet, just fix what is wrong.
<oliv3r>
it says start 8, size 24k, but then start 40 for the next, making it not align with the size
<oliv3r>
while 24 (23.5) is the current size, do we want to list the maximally available 'space' or the current size there?
<oliv3r>
hno: exactly!
<hno>
in layout it's the size of the reserved region.
<oliv3r>
hno: 32 KiB (with a mention that the SPL itself cannot be larger then 30k due to hardware limits?)
<oliv3r>
anyhow, i've never edited a github wiki so no clue :p
<hno>
just push edit button, or check out the wiki git repo and edit with whatever tool you like.
<oliv3r>
ok, i'll fix it :)
<oliv3r>
i'll also reword How to make a bootable sunxi SD-card
<oliv3r>
hno: should be good now
<oliv3r>
i left watchdog section in for now
panda84kde has joined #linux-sunxi
<oliv3r>
hno: have you pushed your changes to sunxi yet?
<oliv3r>
the seek=40 changes?
<oliv3r>
i dont' see them yet
<oliv3r>
nvm, i'm looking wrong
<oliv3r>
what's this combined u-boot + spl image for?
CoSM0 has quit []
vicenteH has joined #linux-sunxi
Black_Horseman has quit [Ping timeout: 264 seconds]
merbanan has joined #linux-sunxi
<oliv3r>
hno: +#define CONFIG_SPL_MAX_SIZE 0x4000 /* 16 KiB */ what is this limit for?
<Seppoz>
hno :ping
<oliv3r>
Seppoz: are you trying the new u-boot?
<Seppoz>
no im trying to figure out what exactly is new
<oliv3r>
the addressing has changed
<oliv3r>
the maximum size allowed has changed
<oliv3r>
before, you used to do dd=u-boot.bin of=/dev/sdX size=1024 seek=32
<oliv3r>
now you have to do dd if=u-boot.IMG of=/dev/sdX size=1024 seek=40
<oliv3r>
note the IMG (hence caps) and the new seek=*40*
<oliv3r>
hno: i think you broke the BSP, let me figure out how to fix it ;)
<oliv3r>
hmm, maybe it's not the BSP that's broken?
<oliv3r>
make[1]: *** No rule to make target `/silo/build/sunxi-bsp/build/cubieboard2-u-boot/spl/sunxi-spl.bin', needed by `/silo/build/sunxi-bsp/build/cubieboard2-u-boot/u-boot-sunxi-with-spl.bin'. Stop.
<oliv3r>
make Cubieboard2 CROSS_COMPILE=arm-pc-linux-gnueabi- O=/silo/build/sunxi-bsp/build/cubieboard2-u-boot/
<oliv3r>
we found out that the SPL can be larger, since we where hitting the limits almost allready, we changed the sizes to be ready for future expansions
<oliv3r>
and since the BROM can read 30k, why not use 30k
<mnemoc>
greed....
<oliv3r>
lol
<oliv3r>
no, but it means we stablize the disklayout more :)
deasy has joined #linux-sunxi
geecko has joined #linux-sunxi
<libv>
oliv3r: i worked for nokia, on the N9
<oliv3r>
ahh i wasnt sure anymore :p
<Turl>
libv: the N9 ads are awesome
<oliv3r>
Turl: can I steal 5 minutes of your time?
<Turl>
void * casts to any * without needing an explicit cast
<oliv3r>
ok i'll drop the cast then
<oliv3r>
i still find it aids in readability :p
<Turl>
it's dangerous tho
<oliv3r>
it can be, i agree there
<Turl>
explicit casts can be evil :P
<oliv3r>
i thoguht you where bbl-ing :)
<Turl>
yeah, needed to pick a few things still :P
<Turl>
now I'm gone for real
wingrime has joined #linux-sunxi
wingrime has quit [Ping timeout: 245 seconds]
tinti has joined #linux-sunxi
rellla has quit [Ping timeout: 264 seconds]
wingrime has joined #linux-sunxi
<mnemoc>
will temporarily shutdown the sunxi server (2 minutes) to get some extra partitions mounted..... damn lxc
Black_Horseman has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
<mnemoc>
up
Black_Horseman has quit [Quit: Zwi se logou mou!!!]
ganbold_ has joined #linux-sunxi
akaizen_ has quit [Read error: Connection reset by peer]
akaizen has joined #linux-sunxi
<wingrime>
mnemoc: why mount additional partitions requires reboot?
rz2k has joined #linux-sunxi
<mnemoc>
wingrime: because the /dev/... don't exist within the container
<mnemoc>
and lxc doesn't have a tool to run things in the guest's namespace as vserver does
<oliv3r>
you mount the partition UNDER lxc?
<wingrime>
mnemoc: we use VPS ?
<oliv3r>
e.g. /path/to/lxcontainers/vm1/home
<oliv3r>
where vm1 would have its root mounted (if at all)?
<oliv3r>
so then i understand you have to stop the container, mount the partition and start the vm
<mnemoc>
oliv3r: the config file tells where is /, the rest is an fstab in the host
<mnemoc>
oliv3r: stop the container, edit fstab, start the container
<oliv3r>
ah right
<oliv3r>
i have so much to do, i need a todo list so i dont' keep forgetting it
<oliv3r>
and maybe use it to force myself to actually do it
<mnemoc>
wingrime: it's isolated, but it doesn't have resource restrictions
<wingrime>
mnemoc: there is anything more that runs on same server?
<mnemoc>
my build server
<mnemoc>
and some other minor usage web apps
* wingrime
can't figure whats difference between lxc and chroot
<mnemoc>
chroot can see the world's processes, lxc/vserver/vz doesn't
<mnemoc>
capabilities and resources can also be limited. and you can't escape the jail... as it can be done with chroot
<wingrime>
why not xen
<mnemoc>
each guest has it's own pid 1
<mnemoc>
more expensive?
<mnemoc>
containers don't virtualize or emulate, and run the same one kernel
<mnemoc>
vserver/lxc/vz is basically a secure chroot with it's own pid 1
<mnemoc>
very lightweight
<mnemoc>
but lxc is still a child
<wingrime>
xen more perefed if you buy VPS
<oliv3r>
can you 'suspend' an lxc like you'd suspend a KVM?
<oliv3r>
xen is shit
<wingrime>
oliv3r: xen can't be overselled so easy
<oliv3r>
it's all cooperatized
<wingrime>
oliv3r: vz can
<mnemoc>
oliv3r: don't think so..... but you can stop it :p
<oliv3r>
hmm, one of the things i like baout my KVM remote desktop is, that I can save/resume it whenver i shutdown/reboot my server
<oliv3r>
tecnically it should be possible imo :)
<mnemoc>
the key advantage of lxc is that it's mainlined and comes enabled by default in my package-manager controlled kernel :p
<wingrime>
mnemoc: not sure that hardware virtualizatoin and paravirtualizet hw have much speed impact
<wingrime>
mnemoc: kvm also mainlined
<mnemoc>
i use kvm to test work, to see how things boot. but i don't need emulation to isolate a web app
<oliv3r>
yeah that's why i'm slwoly switching from kvm to lxc
<oliv3r>
but not having suspend ability kinda really sucks
<wingrime>
there is anyone who tryed digital ocean or amazon aws?
<mnemoc>
if you want to suspend a service, just stop it
<oliv3r>
i also have a few kvm'ed hosts that run some things. If i need to reboot my server, no problem, they continue to run after a reboot
<wingrime>
oliv3r: also kvm must be workable on a20
<oliv3r>
wingrime: i think so :)
<mnemoc>
allwinner's a7 has virtualization?
<oliv3r>
mnemoc: so if i stop the process, does its memory get written to disk, and when I start it again, it reads the memory and resumes from where it left off/
<oliv3r>
mnemoc: of course
<oliv3r>
mnemoc: A7 == slow(A15)
<oliv3r>
so it has kvm possibility :)
<mnemoc>
sloooooooooowly
<wingrime>
mnemoc: At least we can try emualte gameboy with it
<xtofury>
Ok red led issue solved, nail polish it is.. lol.. but now I have a new annoyance that I just simply do not get. There are two internal storage partitions, and the one for apps is too small seeing as if I wanted to store anything else I'd use sata or I'd use extsd. Where do I find the part of the source that can change the size of these partitions, so that the end compiled image winds
<xtofury>
up giving my apps more breathing room, and, is there any reason for mnt/sdcard at all or can I get rid of it entirely?
<Turl>
mripard: the /* proper way */ comment next to the group thing kinda gives a hint ;)
boycottg00gle has joined #linux-sunxi
ganbold_ has quit [Remote host closed the connection]
<xtofury>
looks like it is under /bootable/diskinstaller
tinti has quit [Ping timeout: 256 seconds]
tinti has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
rz2k has quit [Read error: Connection reset by peer]
boycottg00gle has quit [Remote host closed the connection]
gzamboni has quit [Ping timeout: 245 seconds]
arete74_ has joined #linux-sunxi
arete74 has quit [Ping timeout: 264 seconds]
panda84kde has quit [Quit: Konversation terminated!]
notmart has quit [Quit: notmart terminated!]
WarheadsSE has quit [Ping timeout: 268 seconds]
WarheadsSE has joined #linux-sunxi
gzamboni has joined #linux-sunxi
massi has quit [Remote host closed the connection]
<oliv3r>
hno: i saw hansg's patch drop by; but i'm not using _FEL
<oliv3r>
Turl: dunnow how to add the v on all patches, since i manually edit the cover letter; ohh wasn't there some trick to modify the [PATCH] think, yeah i remember you talking about
<oliv3r>
mripard: i don't understand why it's sun4i-sid, but not sun7i-sid
ykchavan has quit [Read error: No route to host]
ykchavan has joined #linux-sunxi
<oliv3r>
mripard: I'm fine with changing it, but how was I supposed to know! I Or was it supposed to be sun4i-a10-sid too but it kinda happened this way?
<oliv3r>
hno: with your latest commit (hansg) it builds again
<wingrime>
Tsvetan: are you get last SDK ?
<wingrime>
hno: #if 1
geecko has joined #linux-sunxi
<geecko>
hi all
jemk has joined #linux-sunxi
leowt has joined #linux-sunxi
BJfreeman has quit [Read error: Connection reset by peer]
_BJFreeman has joined #linux-sunxi
<robb83>
anyone know, how to process /dev/input/event2 touchscreen data?
_BJFreeman is now known as BJfreeman
jabjoe1 has joined #linux-sunxi
fredy has quit [Excess Flood]
fredy has joined #linux-sunxi
<jabjoe1>
Hi, I've been working on a driver for the gslx680 touch screen my A13 tablet has. It's now working well enough for my uses.
<wingrime>
oliv3r: tv saying that pirated totaly blocked
<wingrime>
oliv3r: but I not even noticed
<oliv3r>
yeah
<oliv3r>
propaganda, its sad really
<wingrime>
oliv3r: some providers realy do,
<oliv3r>
we only hear negative news t hese days from russia
<mnemoc>
the best thing about the uk's wall is that it will be implemented by huawei. same as china's, iran's and vietnam's
<wingrime>
oliv3r: I have bought VPN for that case
<mnemoc>
experts in.... child protection!
<wingrime>
oliv3r: but not use it
<oliv3r>
lol; atleast you know your in good company
<oliv3r>
yeah i wanna get a .at and .usa vps (for other things) but also will use it as vpn gateway
<mnemoc>
wingrime: part of the great wall features is that your connection gets resets if they detect you are trying to skip it
<wingrime>
mnemoc: there many ways to avoid
<wingrime>
mnemoc: tor
<wingrime>
mnemoc: i2p
<wingrime>
mnemoc: ssh
<wingrime>
mnemoc: ...
<oliv3r>
if i have more income, i'll host a tor exit node with a few VPS'es that'll allow it
<mnemoc>
yes, and there are many ways to punish you for using them
<oliv3r>
sattelite internet :)
<mnemoc>
=)
<hno>
$$$
<wingrime>
mnemoc: but most probles , that thay ban for IP , that means that can ban many innocent sites
<oliv3r>
over here, it's not too expensive anymore
<wingrime>
oliv3r: with up-link ?
<oliv3r>
here, they offer tripple play via sat
<wingrime>
oliv3r: I also heared that in iran sat dishes not allowed
<oliv3r>
but i watch tv via sat!
<oliv3r>
yeah, then again; i wouldn't wanna live in a country like that
<hno>
oliv3r, all such solutions I have seen uses some wired media as uplink.
<mnemoc>
wingrime: .cn blocked cubieboard.org and not linux-sunxi.org, both using the same IP
<wingrime>
mnemoc: yes, I know
<mnemoc>
and it wasn't a resolving problem. connection simply failed
<wingrime>
mnemoc: but our blockers is too crazy
<oliv3r>
hno: here in NL; upstream goes via sat
<mnemoc>
if you use tor you can be assumed to be doing something fishy.... like with bitcoins
<wingrime>
mnemoc: DPI is too expensive to many ISPs
<oliv3r>
but your lat is horrible and speeds aren't great
<mnemoc>
or playing with a knife on the street
<oliv3r>
this is via Astra of course; but the provider also offers internet via fiber if it's available in your area (the fiber is open to competition)
<wingrime>
oliv3r: I have never saw localy sat modems with up-link
<wingrime>
oliv3r: I have only simple dish with reciver
<hno>
there is no need for high bandwidth DPI to block a sitename, just do it at DNS level.
<oliv3r>
you need special LNB of course, but they offer it
<wingrime>
hno: google dns
<oliv3r>
i only have receiver too
<oliv3r>
wingrime: google dns helps (unless its blocked standard by GFW) but how do simple users do that?
<wingrime>
hno: no, I mean openvpn are same proto as https
<hno>
but DNS blocks can be worked around by alternative name service, i.e. a /etc/hosts file or similar.
<wingrime>
oliv3r: ok, but price, and payment way
<hno>
it's not that hard to identify an OpenVPN session masqueraded at https, but requires some statistical analysis that makes it hard to scale at high traffic.
<oliv3r>
well it's not cheap; but not ueber expensive
<wingrime>
oliv3r: mesh networks over wifi-routers
<wingrime>
hno: crytography means that result will be statisticly white
<wingrime>
hno: ofcouse you can transmit noise other time
<wingrime>
mnemoc: most interseting intension , form users, looking for blocker's IPs and share it
<oliv3r>
it's currently a constant battle with the block/unblocking
<wingrime>
oliv3r: thats impossible block something with in one-range network
<wingrime>
except white-list mode
<hno>
wingrime, https traffic pattern have some distinct patterns.
<wingrime>
ssvb: disp can resize overlays by fraction number?
<ssvb>
techn_, jemk: but I don't see any substantial difference between the ump secure id and dmabuf handle, they can be used in similar ways and abstracted by a thin wrapper
<ssvb>
wingrime: overlays can be scaled to arbitrary size
<jemk>
ssvb: ok, i don't realy understand how ump works, but i think i'll find out
<pitillo>
hello, does someone know why this happens with cb2 when booting from sd? (kernel 3.4.43) [mmc-msg] sdc0 power off
<oliv3r>
need a little more info there; or is that everything that is displayed with regards to sdc and mmc?
<oliv3r>
<6>[mmc-msg] found data error, need to send stop command
<oliv3r>
pitillo: try a different SD card
<pitillo>
oliv3r: thank you very much
<jemk>
ssvb: i get the address and size pf reserved memory from kernel and use own allocator there
<jemk>
ssvb: so everything should be possible, also using other allocator directly should be possible
<ssvb>
jemk: is allocation done for each new frame?
<jemk>
ssvb: whenever vdpau client creates new videosurface
<jemk>
ssvb: mplayer e.g. only does this once till it has enough videosurfaces
<ssvb>
jemk: ok, it might be a bit tricky, but still doable
<ssvb>
jemk: we would need a way to know which frame exactly to make visible in a window, when the x server gets DRI2SwapBuffers request
<jemk>
ssvb: ah, i missed one step, in real world videosurfaces are mixed by videomixer onto outputsurfaces which are shown then...
<ssvb>
jemk: maybe some alternative method to set/query this information might be needed (or maybe not)
<jemk>
ssvb: only my poc shortcuts this
<jemk>
ssvb: but this should be done by disp/g2d in theory
<wingrime>
jemk: color key
<ssvb>
jemk: disp is managed by the x server (to that we have no glitches with the windows stacking order, their sizes, etc.), and g2d can be used by either client side vdpau or by the x server
<ssvb>
jemk: for dri2 we just need to know when some buffer with pixels needs to be shown in a window
popolon has joined #linux-sunxi
Soru has quit [Ping timeout: 260 seconds]
<wingrime>
jemk: also , I hope that your code will work on a13/a20.....
ZetaNeta has quit [Ping timeout: 245 seconds]
Soru has joined #linux-sunxi
BJfreeman has quit [Ping timeout: 268 seconds]
wingrime has quit [Ping timeout: 245 seconds]
ZetaNeta has joined #linux-sunxi
jemk has quit [Remote host closed the connection]
geecko has quit [Quit: Quitte]
vicenteH has joined #linux-sunxi
jabjoe1 has left #linux-sunxi [#linux-sunxi]
\\Mr_C\\ has quit []
akaizen has quit [Remote host closed the connection]