msimpson has quit [Read error: Connection reset by peer]
foxx_ has joined #linux-sunxi
mavkhimenia has joined #linux-sunxi
vpeter has quit [Remote host closed the connection]
vpeter has joined #linux-sunxi
victhor has joined #linux-sunxi
nuuuciano has joined #linux-sunxi
megi has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft1 has joined #linux-sunxi
cnxsoft1 is now known as cnxsoft
mavkhimenia has quit [Remote host closed the connection]
elros has joined #linux-sunxi
t3st3r has joined #linux-sunxi
mhlavink has quit [Ping timeout: 265 seconds]
mhlavink has joined #linux-sunxi
fkluknav has quit [Ping timeout: 256 seconds]
kloczek has quit [Ping timeout: 265 seconds]
chomwitt has joined #linux-sunxi
fkluknav has joined #linux-sunxi
doppo has quit [Ping timeout: 256 seconds]
doppo has joined #linux-sunxi
doppo has quit [Ping timeout: 265 seconds]
fkluknav has quit [Ping timeout: 264 seconds]
fkluknav has joined #linux-sunxi
mavkhimenia has joined #linux-sunxi
hanni76 has joined #linux-sunxi
kaspter has quit [Ping timeout: 268 seconds]
mavkhimenia has quit [Remote host closed the connection]
mavkhimenia has joined #linux-sunxi
fkluknav has quit [Ping timeout: 240 seconds]
doppo has joined #linux-sunxi
kaspter has joined #linux-sunxi
mhlavink has quit [Ping timeout: 248 seconds]
fkluknav has joined #linux-sunxi
lkcl has joined #linux-sunxi
lkcl has quit [Ping timeout: 240 seconds]
fkluknav has quit [Ping timeout: 240 seconds]
fkluknav has joined #linux-sunxi
mhlavink has joined #linux-sunxi
afaerber has quit [Quit: Leaving]
lkcl has joined #linux-sunxi
lurchi_ is now known as lurchi__
afaerber has joined #linux-sunxi
fredl-pc has joined #linux-sunxi
IgorPec has quit [Ping timeout: 248 seconds]
matthias_bgg has quit [Read error: Connection reset by peer]
matthias_bgg has joined #linux-sunxi
mhlavink has quit [Ping timeout: 255 seconds]
dddddd has joined #linux-sunxi
qeed has joined #linux-sunxi
aalm has quit [Quit: xyz 2.0.1]
mhlavink has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
mhlavink has quit [Ping timeout: 255 seconds]
<fredl-pc>
hey guys, I have an image made with buildroot
<fredl-pc>
I put the image onto my eMMC chip with mmc write...
<fredl-pc>
And I see this:
<fredl-pc>
=> mmc part
<fredl-pc>
2 133120 122880 00000000-02 83
<fredl-pc>
1 2048 131072 00000000-01 0c Boot
<fredl-pc>
Part Start Sector Num Sectors UUID Type
<fredl-pc>
Partition Map for MMC device 0 -- Partition Type: DOS
sunshavi has quit [Read error: Connection reset by peer]
SP7RT has joined #linux-sunxi
<fredl-pc>
Does that look healthy?
sunshavi has joined #linux-sunxi
<fredl-pc>
the image is made with the bananapi genimage.cfg so I have a FAT on emc 0:1 and ext4 on emc 0:2
sunshavi has quit [Ping timeout: 240 seconds]
<fredl-pc>
Yet when I boot with bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 the kernel complains it VFS: Cannot open root device "mmcblk0p2"
jbrown has joined #linux-sunxi
<fredl-pc>
the only thing the *kernel* says about the eMMC is:
<fredl-pc>
[ 1.233919] sunxi-mmc 1c0f000.mmc: Got CD GPIO
<beeble>
but just reading the dtb on your host pc would be a lot easier...
<fredl-pc>
the DTS is the source right, so I would need to make a new DTS, then compile that to DTD and get that onto the board
TheSeven has quit [Ping timeout: 265 seconds]
TheSeven has joined #linux-sunxi
<beeble>
dtb, but yes right
<fredl-pc>
so in the buildroot tree there would be only ONE source, the one in the kernel?
<fredl-pc>
Or is there an alternative one for u-boot like in the standalone u-boot?
<fredl-pc>
and I also see a bunch of them in the host-dtc-1.4.4/
<fredl-pc>
Mostly right now, if I get in contact with hardware guys we can hammer a proper DTS out
<fredl-pc>
but I need to know where to place it or if there's multiple places in the buildroot tree
<beeble>
there is one devicetree for u-boot and one for the kernel
<fredl-pc>
they're mostly identical I assume?
<beeble>
they are similar
fkluknav has quit [Ping timeout: 265 seconds]
matthias_bgg has quit [Ping timeout: 240 seconds]
kaspter has quit [Quit: kaspter]
fkluknav has joined #linux-sunxi
foxx_ has quit [Ping timeout: 256 seconds]
anarsoul has joined #linux-sunxi
netlynx has joined #linux-sunxi
hlauer has quit [Ping timeout: 276 seconds]
hramrach has quit [Ping timeout: 240 seconds]
jaganteki has quit [Ping timeout: 260 seconds]
hramrach has joined #linux-sunxi
reinforce has joined #linux-sunxi
<fredl-pc>
Any of you guys in the Netherlands?
<Wizzup>
yes
<fredl-pc>
Wizzup, sent you PM
elros has quit [Remote host closed the connection]
IgorPec has quit [Ping timeout: 260 seconds]
aalm has joined #linux-sunxi
foxx_ has joined #linux-sunxi
anarsoul has quit [Ping timeout: 256 seconds]
yann has quit [Ping timeout: 264 seconds]
Ntemis has joined #linux-sunxi
Ntemis has quit [Remote host closed the connection]
<wens>
jailbox: what "version"? the panel? my panel is the dual interface one with a mipi dsi - rgb bridge on it
<wens>
oops
<wens>
jaganteki: ^
fkluknav has quit [Ping timeout: 255 seconds]
IgorPec has joined #linux-sunxi
msimpson has joined #linux-sunxi
msimpson has quit [Read error: Connection reset by peer]
Marc_One has joined #linux-sunxi
<Marc_One>
hello. i have problems with spdif audio output on my cubietruck(allwinner a20, sun4i_spdif). it crackles and pops in my speakers. it gets worse the higher the sample rate is. did not find anything about that in the net.
miasma has quit [Ping timeout: 240 seconds]
miasma has joined #linux-sunxi
mavkhimenia has quit [Remote host closed the connection]
<KotCzarny>
you will have to have much higher patience
foxx_ has joined #linux-sunxi
<KotCzarny>
sometimes it takes few days 'till someone knowledgeable reads and answers
<KotCzarny>
you can also try reporting to mailing list
<Marc_One>
ok. so i'll wait...
GrimKriegor has quit [Read error: Connection reset by peer]
<KotCzarny>
your best bet would be trying to find someone who was working on that code and pinging him/her
<KotCzarny>
channel logs are available, and second place to look is mailing list
foxx_ has quit [Ping timeout: 248 seconds]
GrimKriegor has joined #linux-sunxi
<fredl-pc>
I think there's also mailinglists right?
<fredl-pc>
I haven't tried those myself yet
<fredl-pc>
Normally mailinglists are more guaranteed to get help in my experience though.
<fredl-pc>
I tend to treat IRC as an ad-hoc kinda of 'maybe I'll get lucky' and often do.
<fredl-pc>
But yeah, it can take some time sometimes.
yann has joined #linux-sunxi
<fredl-pc>
KotCzarny, what's your role in this project BTW, I see you and beeble answering questions frequently.
<KotCzarny>
i'm a hacker/user
<fredl-pc>
BTW Marc_One, I'm not in the position to help you in case you wondered, still very much in the stage of 'needing help' :)
lkcl has quit [Ping timeout: 255 seconds]
<fredl-pc>
KotCzarny, also electronics?
<KotCzarny>
a bit, but my technical skills suck. i'm better with software
<fredl-pc>
Are there also Allwinner employees here on channel that you know of?
<KotCzarny>
rarely
<fredl-pc>
my interest for now is purely professional, but also been searching for a bit of an 'in' into the embedded systems world, so planning to hold on to it after this job ends
Mr__Anderson has joined #linux-sunxi
<paulliu>
hi all.. I got this on AllWinner Sun8i H2+ (Bananapi Zero)
<beeble>
fredl-pc: same as a pc, just without the comfort :)
<paulliu>
What could I missing?
<paulliu>
the time on each core seems non-sync.
<fredl-pc>
beeble, sure, but with my PC I'm not used to having to hack into the bootloader and such
<KotCzarny>
fredl-pc: only because it was done long time ago
<KotCzarny>
go back to '90 and recheck your sentence
<fredl-pc>
Well I'm pretty old already :P
<fredl-pc>
And used to get started with Atari 600XL and tiny little I/O boards
<fredl-pc>
And formal electronics training. After that, everything went to shit :P
<KotCzarny>
also, just you wait 'till uefi become mandatory and you will want create new product
<KotCzarny>
you can also go into arduino world, things are simpler there
<KotCzarny>
(for now)
<fredl-pc>
Well but I enjoy it and with a little help from you guys getting a long way
<KotCzarny>
and if you miss simple times, hack the openrisc core on H3 soc
<fredl-pc>
I do miss the simple times of making an LED blink on the Atari actually
<fredl-pc>
Actually miss a LOT of simple times, used to be that a political opinion was either simple or irrelevant back then
<KotCzarny>
sbc are simple times
<KotCzarny>
thanks to linux-sunxi folks
vagrantc has joined #linux-sunxi
<beeble>
paulliu: maybe try mainline instead? there is m2 zero support since 4.17-rc1
<fredl-pc>
That seems to be one of first mistakes everybody makes ha?
<fredl-pc>
I remember that from weeks ago for myself, not starting with mainline
<beeble>
fredl-pc: he is at least running a stable kernel :)
<fredl-pc>
I think the Wiki should probably have an automatic redirect
<fredl-pc>
hey man, I used to compile kernels back in the day nearly EVERY day, and actually know what I was doing too.
<fredl-pc>
But the days that the kernel was still comprehensible... LONG time ago for me
<beeble>
4.14 is a few years fresher then 3.10
<paulliu>
beeble: ok. But that kernel actually works if I don't enable optee. I'm currently doing optee porting. Single core already runs. I'm bringing up SMP.
<beeble>
ah i see
<fredl-pc>
beeble - mind you, I'm talking about the days of kernel 0.99 :D
<beeble>
so it's probably tee who is messing stuff up :)
<paulliu>
beeble: Yeah. But not sure how to fix that now. Let me ask other people to see if they have seen this problem before.
<fredl-pc>
I could see how instead of the 'write' option to sunxi-fel, there could be an 'mmcwrite' option
<fredl-pc>
Although that could be tricky.
<fredl-pc>
The method I currently use is limited by the DRAM size
montjoie has quit [Quit: leaving]
<fredl-pc>
And the USB mass storage gadget maybe not the best way for mass production, dunno
<fredl-pc>
aha, I got a shell prompt on our little board :D
<fredl-pc>
Wonderful :)
Marc_One has left #linux-sunxi ["Leaving"]
mzki has joined #linux-sunxi
mavkhimenia has joined #linux-sunxi
afaerber has quit [Quit: Leaving]
lkcl has quit [Ping timeout: 248 seconds]
mavkhimenia has quit [Ping timeout: 260 seconds]
netlynx has quit [Quit: Ex-Chat]
Marc_Two has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
<fredl-pc>
Hmm, now for USB Ethernet support in kernel...
<beeble>
lsusb to find out the chipset. then enable the driver
foxx_ has quit [Ping timeout: 248 seconds]
Marc_Two is now known as Marc_One
LargePrime has quit [Ping timeout: 248 seconds]
<fredl-pc>
Looks like CONFIG_USB_NET_SMSC75XX
afaerber has joined #linux-sunxi
<fredl-pc>
So the proper way to do that... would that be to make a new defconfig in output/build/linux-4.13.7/arch/arm/configs ?
<fredl-pc>
Because I noticed with buildroot if you do make distclean those output/ folders get wiped clean
<fredl-pc>
I've been futzing with symlinks to copies in my homedir
<fredl-pc>
Hmm looks like its in CONFIG_USB_NET_DRIVERS anyway
<fredl-pc>
which of course isn't in linux-4.13.7/arch/arm/configs/sunxi_defconfig *sigh*
<beeble>
you make a patch
<beeble>
and you generate the defconfig with make savedefconfig
<fredl-pc>
I could do that I guess but not feeling expert-enough yet for that tbh
<fredl-pc>
And I see that CONFIG_USB_NET_DRIVERS=y is actually in output/build/linux-4.13.7/.config and set to y
<fredl-pc>
So I guess when buildroot does the make sunxi_defconfig, settings that may be in sunxi_defconfig but aren't somehow get added into .config ?
<beeble>
some settings get into .config by beeing implied by others
<beeble>
kconfig takes care about dependecies
<fredl-pc>
I see...
<fredl-pc>
I see another kernel option that could be handy... CONFIG_IKCONFIG
<beeble>
so yiur defconfig is the minimal required set on options needed tongenerate a .config
IgorPec has quit [Ping timeout: 240 seconds]
<fredl-pc>
that creates a /proc/config.gz
<fredl-pc>
So you can always see which kernel options were enabled when it was being compiled
phil42 has quit [Ping timeout: 248 seconds]
<beeble>
to generate a patch for buildroot you diff your sources and put it into a file called packetname-number-description.patch
<beeble>
that files goes into the package folder
<beeble>
where also the package.mk is located
<fredl-pc>
lemme first wait and see if I can even bring the interface up. From what I see the CONFIG_USB_NET_DRIVERS should be sufficient to recognize this USB ethernet device, so it should already be in there now
<beeble>
thats all. probably requires a package rebuild to apply the patch
<beeble>
you will need a driver for the specific chipset
<fredl-pc>
And the buildroot /etc/network/interfaces just has the loopback interface in it, so maybe if I add some configuration it'll already detect right interface anyway
<beeble>
the net is only for the api
Redfoxmoon has quit [K-Lined]
<fredl-pc>
CONFIG_USB_NET_DRIVERS you mean?
<beeble>
yes
<fredl-pc>
hmm ok
<fredl-pc>
So our NIC is USB ID 0424:7500
<fredl-pc>
how do I translate that to the right kernel config setting?
<beeble>
and the intefaces file isnonly for autoconfiguring the device
<fredl-pc>
yeah I know that bit
<beeble>
you would already see it with a ifconfig -a or ip link
<fredl-pc>
I see an eth0 but that may be the internal A20 ethernet NIC
<beeble>
the smsc you had before is the right one
<fredl-pc>
CONFIG_USB_NET_SMSC75XX yeah? I was looking into that but that one isn't in .config
hlauer has quit [Ping timeout: 255 seconds]
<fredl-pc>
hmm MAC of eth0 is not in MAC vendor database it seems, is that normal for A20?
<fredl-pc>
02:02:07:82:A4:EC
<MikeyG>
psst.. dont paste your mac address onto irc.. even if it's made up by a bad rng on first boot
<fredl-pc>
hmm those kernel dependencies must be quite clever these days
<fredl-pc>
I would expect that an edit of .config would result in massive recompile :)
Mr__Anderson has quit [Remote host closed the connection]
<beeble>
it just adds the one .o file to the list. so its just generating that and linking vmlinux
Redfoxmoon has quit [Changing host]
Redfoxmoon has joined #linux-sunxi
<fredl-pc>
hmm still not seeing it in ifconfig -a
<fredl-pc>
could that be because of USB being initialized later than ethernet somehow?
<fredl-pc>
don't see anything with dmesg|grep -i smsc either
<beeble>
if you enabled config.gz check that one and look at your uname -a buildtime
<beeble>
if you are running the correct kernel
<fredl-pc>
Hmm, gotcha, I fucked up on that one before
<beeble>
driver registration is independet from the attached adapter. so you should see it in dmesg
<fredl-pc>
no it's not right one
<fredl-pc>
it's one that was built two hours ago
<fredl-pc>
interesting, the sdcard.img is right timestamp though so it's been recreated
<fredl-pc>
and the zImage that's wrapped inside the sdcard.img is right timestamp as well
* fredl-pc
scratches his head
<fredl-pc>
Time for some food.
LargePrime has joined #linux-sunxi
<fredl-pc>
okaaay...
<fredl-pc>
something unusual with dependencies in buildroot it seems, even when I do make clean in the kernel tree, make in toplevel of buildroot does not go to recompile the kernel
<fredl-pc>
nor does removing output/build/zImage
<fredl-pc>
ah, neato make linux-rebuild
Marc_One has quit [Quit: Leaving]
Andy-D_ has joined #linux-sunxi
Andy-D has quit [Ping timeout: 240 seconds]
chomwitt has quit [Ping timeout: 260 seconds]
<fredl-pc>
damnit... make linux-rebuild overwrites .config
<fredl-pc>
fredl@gaya:/usr/src/buildroot/output/build/linux-4.13.7$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- be_defconfig
<fredl-pc>
I don't see that CONFIG_USB_NET_SMSC75XX back in .config
kloczek has joined #linux-sunxi
mavkhimenia has joined #linux-sunxi
mavkhimenia has quit [Ping timeout: 260 seconds]
bfree has quit [Ping timeout: 256 seconds]
<fredl-pc>
weird thing is, although I might be getting hallucinations, is that under USB Support I can't find USB Network Adapters (when I try with menuconfig)
bfree has joined #linux-sunxi
<kilobyte>
fredl-pc: / is your friend
<fredl-pc>
whut?
<fredl-pc>
Sorry been at it for too long today to have a sense of humor left.
kloczek has left #linux-sunxi [#linux-sunxi]
<kilobyte>
fredl-pc: Device Drivers → Network device support →
<kilobyte>
I mean '/'
<fredl-pc>
OH!
<fredl-pc>
damn you rock
<fredl-pc>
lessee...
kloczek has joined #linux-sunxi
<fredl-pc>
honest to god I would NEVER have found that by clicking on Multi-purpose USB Networking Framework
<fredl-pc>
Now I'm not sure how buildroot will react to me manually configuring the kernel, hmmm
lurchi_ is now known as lurchi__
sunshavi has joined #linux-sunxi
gnarface has quit [Quit: Leaving]
lurchi__ is now known as lurchi_
<fredl-pc>
the dependencies in buildroot are at the least... strange
<fredl-pc>
Now, after having tried through simply adding an option manually to .config it does NOT automatically rebuild....
<fredl-pc>
But, after having build a kernel manually by doing menuconfig/zImage in kernel folder.... and followed by make in buildroot topdir, it sudden DOES want to go recompile the whole kernel AGAIN
<fredl-pc>
aha!
<fredl-pc>
smsc75xx 1-1.1:1.0 eth1: register 'smsc75xx' at usb-1c14000.usb-1.1, smsc75xx USB 2.0 Gigabit Ethernet, 00:1e:c0:e0:88:44
<fredl-pc>
whoohoo
hanni76 has quit [Remote host closed the connection]