<smaeul>
(I don't have any legacy kernels running ATM, but I think it's in /sys/class/misc or something)
<KotCzarny>
not in 3.4
fugitive has quit [Ping timeout: 240 seconds]
<MoeIcenowy>
I think it
<MoeIcenowy>
it's sunxi_dump ?
<KotCzarny>
not in 3.4
<MoeIcenowy>
should be /sys/class/sunxi_dump
<KotCzarny>
righ
<MoeIcenowy>
check it?
<KotCzarny>
right. it's there
<KotCzarny>
anyway, trying to make arisc turn off the soc
<MoeIcenowy>
AW has tons of debugging reserves ;-)
<pmpp>
creepy :p
<KotCzarny>
void arisc_fake_power_off(void)
<KotCzarny>
hah
<pmpp>
at least it is a real fake :p
miasma has quit [Ping timeout: 248 seconds]
miasma has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
cnxsoft has quit [Quit: cnxsoft]
guest2 has joined #linux-sunxi
<guest2>
Hi
awais has quit [Ping timeout: 240 seconds]
SP7RT has quit [Ping timeout: 258 seconds]
<guest2>
I'm looking for sources of the u-boot from Raspbian. Anyone knows where I can get them from?
<KotCzarny>
raspbian repo?
<ElBarto>
MoeIcenowy: is ccu-r documented somewhere ? (somewhere else than sources)
<guest2>
I didn't look for it there yet. ok, I'll take a look
<guest2>
Second question - what can be the reason to don't run given kernel from one uboot but on second uboot it is working fine?
<guest2>
I know there may be a lot of reasons
<guest2>
but maybe some pointers where can I look for soution?
<KotCzarny>
guest2: run mainline uboot and mainline if you can
<KotCzarny>
guest2: run mainline uboot and mainline kernel if you can
<guest2>
but I've got R40 and I'm not sure if it supported in mainline uboot
<guest2>
R40= bananapi m2-ultra
<KotCzarny>
oh well, wait for someone knowing more about r40 situation then
<guest2>
to be honest I've got some sources of uboot and it starts, but i cannot run any kernel from it
<guest2>
even the same kernel which is working from raspbian uboot
<guest2>
ok, looking for raspbina repo
<guest2>
another question: how to check if given kernel file consists of DTB?
<MoeIcenowy>
ElBarto: linux-sunxi.org/PRCM and A83T/A80 usermanual PRCM part
<ElBarto>
ah thanks I didn't look in the A83T manual
<ElBarto>
I guess that the one in the H3 differs a bit ?
<sunxi_fan>
Net147: whoaa!! ..finally (after the merge of drm-misc-next branch and some DTS tweaking..), i have the mirror mode working using 'kmstest': output of colored bars https://paste.debian.net/989015/
<sunxi_fan>
the funny thing is that i do not understand if i'm already in "dual screen mode" or in "mirror mode" because i have two same test cards but at different resolution..
<sunxi_fan>
as i don't think, the current driver is using the "HW scaler" on A20 (or are we?), i lean for the former.. but any hint would be helpful..
<sunxi_fan>
i'm gonna post the DTS on pastebin for a review, if interested..
jernej has joined #linux-sunxi
Keziolio has joined #linux-sunxi
Keziolio has joined #linux-sunxi
Keziolio has quit [Changing host]
<guest2>
anyone knows what is Falcon mode in U-boot?
<beeble>
boot kernel directly from spl instead of u-boot proper
<beeble>
so spl loads kernel and executes it
<guest2>
what is the difference between spl and u-boot?
<wens>
spl only does minimal hardware setup, like DRAM, core clocks and PMIC, then loads u-boot to do the rest (if needed)
<wens>
I don't think falcon is going to work for sunxi out of the box right now
<guest2>
ok, thanks
anarsoul|2 has joined #linux-sunxi
<wens>
u-boot does among other things, provide a working PSCI implementation for SMP, and fixes up the DT for PSCI, memory size, serial number, and generated Ethernet MAC addresses
<guest2>
so spl is some kind of first boot loader which runs uboot as default
<wens>
yes
<guest2>
as default application
<guest2>
i see
<wens>
the first boot loader is the BROM
<wens>
SPL is "secondary program loader"
<guest2>
ok
<guest2>
and as i understand the whole spl must fit the sram?
<guest2>
i mean it cannot be largere than sram?
maz has quit [Remote host closed the connection]
<beeble>
right
<guest2>
ok, i've just exceeded sram while I'm compiling u-boot
<beeble>
guest2: what compiler version are you using? old compiler tend to generate code thats too big
<guest2>
5.2.0
<guest2>
arm-none-eabi-gcc-5.2.0
chlorine has joined #linux-sunxi
<guest2>
so should I use newer one?
<beeble>
that one is more than 2 years old :)
<beeble>
give a newer one a try
chlorin__ has joined #linux-sunxi
<guest2>
:) i'll try
chlorine_ has quit [Ping timeout: 255 seconds]
anarsoul|2 has quit [Ping timeout: 260 seconds]
<guest2>
I used 5.2.0 because some other parts of soft couldn't be compiled and it was the only version which do it properly
chlorine has quit [Ping timeout: 240 seconds]
chlorin__ has quit [Ping timeout: 240 seconds]
Pe3ucTop_ is now known as Pe3ucTop
chlorine has joined #linux-sunxi
chlorine has quit [Read error: Connection reset by peer]
chlorine has joined #linux-sunxi
maz has joined #linux-sunxi
aalm has quit [Ping timeout: 246 seconds]
chlorine_ has joined #linux-sunxi
Andy-D has joined #linux-sunxi
chlorine has quit [Ping timeout: 248 seconds]
<Pe3ucTop>
Hello to all, anybody could comment on placing bootloader on NAND ?
leviathanch has quit [Read error: Connection reset by peer]
leviathanch has joined #linux-sunxi
<marble_visions>
Pe3ucTop: I'm playing around with spl and uboot on nand on the olinuxino board
<marble_visions>
what are your troubles?
<Pe3ucTop>
I have many question, because of I'm using SPI-NAND , I got kernel detect it and have it as block device ..
<Pe3ucTop>
So I'm looking the way to place bootloader there.. And if needed MBR/Partition table or...
<Pe3ucTop>
Curently I see utility "nand-part" , does it work with standart block device based on nand, or it need special driver?
<marble_visions>
from what i understand, spl needs to know the address of uboot since raw flash does not contain partition information in itself
<Pe3ucTop>
I know that my board have posibility to boot from SPI-NAND , over logic analyser I see it tries to read it as standard NAND at boot time.
<Pe3ucTop>
It reads 1k from address 0x0 , then from other location , similary as decribed in NAND instalation on linux-sunxi.org
a|3x has joined #linux-sunxi
<marble_visions>
olinuxino has fel support, so i can't really tell what it's doing when i supply the spl image
<marble_visions>
i do sunxi-fel spl PATH_TO_SPL_IMAGE
<marble_visions>
sorry, if it's the case of how to get your SPL to the SPI-NAND, can't help then
hipboi has joined #linux-sunxi
<Pe3ucTop>
Ok, anyway thanks for help.
hipboi_ has joined #linux-sunxi
<marble_visions>
but be aware that nands are not block devices and you need to take care not to treat them as such.. this may be handled in some kernel layer down the line, but it maybe not
<Pe3ucTop>
marble_visions: but do you have your SPL on board or boot over USB like you show ?
<marble_visions>
yes, i've gotten the setup to a point where i have the spl and uboot on nand
<Pe3ucTop>
marble_visions: did you use nand-part for that or ??
<marble_visions>
iirc it's a copy paste for the uboot image+padding, but the spl image is copied many times in the page it occupies
scream has joined #linux-sunxi
<Pe3ucTop>
Thanks, I will go throug this script to find way how they do it..
<marble_visions>
my workflow is: do sunxi-fel spl PATH_TO_SPL (to load spl to nand), load uboot to ram, erase flash, write uboot and env to flash
<marble_visions>
you're welcome, hope this helps
IgorPec has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
netlynx has joined #linux-sunxi
dave0x6d has joined #linux-sunxi
hipboi_ has quit [Quit: Leaving]
hipboi has quit [Read error: Connection reset by peer]
Andy-D has quit [Ping timeout: 248 seconds]
guest2 has quit [Quit: Page closed]
anarsoul|2 has joined #linux-sunxi
SP7RT has joined #linux-sunxi
chlorine_ has quit [Read error: Connection reset by peer]
chlorine has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
diego_r has quit [Ping timeout: 240 seconds]
afaerber has quit [Quit: Leaving]
matthias_bgg has quit [Ping timeout: 246 seconds]
chlorine has quit [Ping timeout: 240 seconds]
fugitive_ has quit [Ping timeout: 240 seconds]
fugitive_ has joined #linux-sunxi
Putti has quit [Read error: Connection reset by peer]
Putti has joined #linux-sunxi
netlynx has quit [Quit: Ex-Chat]
yann has joined #linux-sunxi
SP7RT has quit [Ping timeout: 246 seconds]
SP7RT has joined #linux-sunxi
tkaiser has joined #linux-sunxi
fugitive_ has quit [Ping timeout: 258 seconds]
tom_nov has quit [Quit: Leaving]
BenG83 has joined #linux-sunxi
fugitive_ has joined #linux-sunxi
fdcx__ has quit [Remote host closed the connection]
<Putti>
I've been trying to look the pinctrl, gpio and led binding documentation in addition to driver code but cannot figure out where does the 7 and 6 in "gpio = <&pio 7 6 GPIO_ACTIVE_HIGH>;" come from. Is there some documentation somewhere?
yann-kaelig has joined #linux-sunxi
<Putti>
the number 6 seems to be the pin number but what is 7?
<beeble>
gpioblock
<beeble>
GPIOA = 0
<beeble>
GPIOH = 7
fdcx has joined #linux-sunxi
<beeble>
just the position in the alphabet starting at 0 for A
<Putti>
beeble, thanks, can you give me a pointer to source code or documentation also?
<JBrooksBSI>
Is this the right place to discuss Allwinner H5 linux driver bugs and hardware errata not mentioned in the Datasheet/TRM?
<beeble>
Seppoz: take a look at your fex file if one of that parameters is on. if the touch is just a hdi usb device you will have to do it differently (check lsusb output for that or take a look at the dmesg output if you see hid devices)
<freemangordon>
Wizzup: I have some vague memories that PIO only mode ahould be enabled and DMA mode disabled, but not really sure
<Wizzup>
yes, I think that was the case before at least
<beeble>
JBrooksBSI: best to just ask and see if someone has an answer. but probably yes
<freemangordon>
MoeIcenowy: hi! do you have any clue if USB DMA mode should be disabled on A33 in order USB OTG to function?
<KotCzarny>
i think you have to load any g_* module to enable usb otg
<Seppoz>
jernej: you mind helping with controlling an HDMI attached LCD
<Seppoz>
i want to turn off the backlight
<pmpp>
he wants to know if ddc channel is accessible through i2c 3
<aalm>
i've used ddcutil to switch input from display via ddc(i2c), might do backlights too
<Putti>
beeble, but how does one know what bank number corresponds to which bank (unless one reads the code)?
<jernej>
I never put too much effort in ddc
<Seppoz>
is there another way to disable the screen?
<Putti>
beeble, I don't think the allwinner manual uses anything other than the PX format which does not tell you what is the underlying number for it
anarsoul has quit [Ping timeout: 260 seconds]
<jernej>
let me check
<beeble>
Putti: thats standard linux numbering scheme. but yes more documentation is always good. but i can't except patches. so best to just send a patch and see what mripard will say tonit
<pmpp>
yeah probably need some hours to port that on arm or just your screen does not agree
<pmpp>
better luck next time !
<pmpp>
if you find something please feedback it is usefull stuff
dave0x6d has joined #linux-sunxi
ykchavan has joined #linux-sunxi
ykchavan has quit [Remote host closed the connection]
<Seppoz>
i love how the system crashes if i read the EDID
ykchavan has joined #linux-sunxi
<Seppoz>
does the fact that i find a device on bus 3 with address 50 that the screen generally has dcc and that there is a working i2c communication with it?
<Seppoz>
or is the edid provided by the cpu
<pmpp>
probablt edid is intended to be provided *before* starting screen not while running
<pmpp>
could be used for something else to lower costs or whatever
scream has quit [Remote host closed the connection]
<willmore>
Does 'setterm' not work?
fugitive has joined #linux-sunxi
anarsoul has quit [Ping timeout: 248 seconds]
chomwitt has quit [Ping timeout: 246 seconds]
anarsoul has joined #linux-sunxi
lurchi_ is now known as lurchi__
jernej has quit [Ping timeout: 248 seconds]
<Seppoz>
ddcztils wont happen
<Seppoz>
it requires the whole x11 libs to compile
<Seppoz>
no idea why ppl make that stupid shit
<Seppoz>
i mean its just fucking screen control
lemonzest has quit [Quit: Quitting]
SP7RT has quit [Ping timeout: 258 seconds]
ykchavan has quit [Read error: Connection reset by peer]
IgorPec has quit [Ping timeout: 240 seconds]
ykchavan has joined #linux-sunxi
leviathanch has quit [Remote host closed the connection]
phipli has joined #linux-sunxi
fkluknav has quit [Ping timeout: 260 seconds]
<ullbeking>
hey all, finally my orange pi boards arrived, yay!
ykchavan has quit [Quit: Leaving]
<ullbeking>
3 x pi zero, 2 x pi r1, 1 x zero plus 2, and pi pc2
<ullbeking>
i also ordered one of those plastic boxes for the pc2. not sure whether it's faulty manufacturing or just a tight squeeze, but i can't for the life of me seem to get the pc2 to fit inside that box with the port in the right places, etc. i feel like i'm about to break the board!!
<ullbeking>
anybody else have this sort of problem?
<Seppoz>
i got opi zero
jstein has quit [Read error: Connection reset by peer]
<ullbeking>
i wonder how it _really_ performs as a NAS
dev1990 has quit [Quit: Konversation terminated!]
<ullbeking>
there's an msata interface, a regular sata interface, and two usb interfaces. it doesn't seem like you can do much redundancy, etc, with this board..?
ganbold has quit [Ping timeout: 240 seconds]
<ullbeking>
i'm not even sure if the msata and regular sata are real sata; perhaps they are just interfaces to a usb hub, that the two usb ports access too
<ullbeking>
i'm going to try to find schematics for this board
<ullbeking>
in other words, i just don't understand how this is supposed to be used
reinforce has quit [Quit: Leaving.]
nemunaire has quit [Quit: quit]
phipli has quit [Quit: Leaving]
popolon has quit [Quit: WeeChat 1.9.1]
<Net147>
sunxi_fan: kmstest is creating a framebuffer for each screen so it is not mirror. the framebuffer console is mirrored on both displays.
fugitive has quit [Ping timeout: 240 seconds]
fugitive has joined #linux-sunxi
popolon has joined #linux-sunxi
<JBrooksBSI>
@ullbeking: Yes, Orange Pi Zero 13-pin hdr has only 2x USB 2 ports for I/O, so NAS expansion will not have much bandwidth
<ullbeking>
JBrooksBSI: it seems like a very silly board
<ullbeking>
i'm very suspicious of using these small sbcs for accessing more than one disk at a time
<ullbeking>
sometimes the sata is not real sata for example
<JBrooksBSI>
Yeah, going for cheap & easy NAS, not quality or performant
<ullbeking>
it's just an adapter to the usb
<ullbeking>
these small cheap sbcs, most of them seems to usb hubs with all sorts of converters hanging off them
<JBrooksBSI>
Right. If they were using the 26-pin GPIO, they could do higher bandwidth, but drivers are more complex
<ullbeking>
i think it's important to look at the schematics
<ullbeking>
and also
<ullbeking>
i think this is why opi +2e has the best system architecture
<JBrooksBSI>
There are probably lots of use-cases where device compatibility is more important than performance or reliability
<ullbeking>
but how does compatability figure in here?
<ullbeking>
opi is barely even merged into linux kernel upstream
nemunaire has joined #linux-sunxi
<JBrooksBSI>
Allow user convenience of plugging in a SATA or mSATA HD.
<JBrooksBSI>
Agreed, OPI leads on budget hardware, trails on software
<willmore>
ullbeking, I printed a case for my PC2 and it was hard to get in in there. It's a friction fit design. Find the port that sticks out the most and get that wedged through the proper opening and then try to bend the case a little bit so that the other side fits in.
<willmore>
The PC2 is a really nice board.
<ullbeking>
i hope i can get it working with the cheap plastic case that came with the kit
<willmore>
ullbeking, got access to a 3d printer?
<ullbeking>
nope :-(
<willmore>
Okay, that rules out my solution. :(
<willmore>
Maybe trim away a little plastic where the board hits the case?