Project: Kernel 3.8

Share here your ideas for new projects

Moderators: meveric, mdrjr, odroid

Project: Kernel 3.8

Unread postby mdrjr » Wed Mar 06, 2013 3:54 am

Ok, I'm starting this officially.

Keep this thread CLEAN and leave it only to work related to that ok?

Any comments that aren't related to this kernel development will be deleted!

I'll use this as a sort of BLOG for this project. If you want to comment of something that I'll post.. QUOTE that.

Lets keep it organized and get a nice work here ok ?

Repo Url: https://github.com/hardkernel/linux/com ... roid-3.8.y

Question and Answers!

Q: What about U2 support?
A: Will be implemented as soon as it's working on X/X2 its trivial to support it.

Q: Why X/X2 first?
A: They have the reset button! Helps alot with kernel panics you don't have to re-connect the power supply cable everytime!
mdrjr
Site Admin
 
Posts: 11635
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: Project: Kernel 3.8

Unread postby mdrjr » Wed Mar 06, 2013 3:54 am

Day 1:

Project started. Trying to fork a 3.8 branch from Kernel.org GIT.... Github seems to very slow ;(

I'm getting only 45k/s uploads ;(
mdrjr
Site Admin
 
Posts: 11635
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: Project: Kernel 3.8

Unread postby Blue-Tiger » Wed Mar 06, 2013 10:25 pm

Hey there!

Good luck on your project. Getting a more recent Kernel-version will be awesome, and I think it's great that you started this project. If there's anything particular we as the community can help you with, please let us know.

However, are you aware of the following: http://www.kroah.com/log/linux/3.8-is_n ... table.html ?
Blue-Tiger
 
Posts: 40
Joined: Wed Feb 27, 2013 6:33 am
languages_spoken: english,german
ODROIDs: U2

Re: Project: Kernel 3.8

Unread postby osterluk » Thu Mar 07, 2013 1:22 am

I think that is OK. Looking forward, we never know which kernel version will be chosen for the LTS honor. We do know that changes accumulate and so if 3.8 is working fine for odroids at some point, then the move to 3.9+ will be easier.

For me a certain key feature would be an impetus to move PRODUCTION to a newer kernel.
osterluk
 
Posts: 311
Joined: Sun Feb 24, 2013 2:07 am
languages_spoken: English
ODROIDs: Odroid-U2

Re: Project: Kernel 3.8

Unread postby mdrjr » Thu Mar 07, 2013 1:24 am

osterluk wrote:I think that is OK. Looking forward, we never know which kernel version will be chosen for the LTS honor. We do know that changes accumulate and so if 3.8 is working fine for odroids at some point, then the move to 3.9+ will be easier.

For me a certain key feature would be an impetus to move PRODUCTION to a newer kernel.


Even if 3.8 is set as EOL, newer features will only be added to newer version eg (3.9).

Like 3.0.y patchs are just useless things.. So even if 3.8 will become EOL at 3.8.4 its a way better kernel them the current 3.0.
mdrjr
Site Admin
 
Posts: 11635
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: Project: Kernel 3.8

Unread postby Gu1 » Fri Mar 08, 2013 3:49 am

So, what's the status of this project ?
mdrjr, your odroid-3.8.y repo seem to contain only a vanilla v3.8.2 kernel with no ODROID support, correct ?
But I see that in the meantime, hardkernel's official linux repository has a new 3.8 branch with a few patch required for ODROID...
Gu1
 
Posts: 5
Joined: Wed Feb 27, 2013 7:03 am
Location: France
languages_spoken: french; english
ODROIDs: ODROID-U2

Re: Project: Kernel 3.8

Unread postby Hamiko » Fri Mar 08, 2013 5:57 am

Uhm, maybe you want to give him time? Because good things need time and when it's down, he will inform us and we will praise his genius. ;) Because he is fucking awesome (said without irony!)
Hamiko
 
Posts: 254
Joined: Sun Feb 24, 2013 9:04 pm
Location: Germany
languages_spoken: english, german
ODROIDs: Odroid-U3

Re: Project: Kernel 3.8

Unread postby mdrjr » Fri Mar 08, 2013 10:43 am

@Gu1, No updates so far, I'll push ODROID hardware support as soon as I find time. Right now I'm dealing with certain real life annoyances.

@Hamiko, Thank you :)
mdrjr
Site Admin
 
Posts: 11635
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: Project: Kernel 3.8

Unread postby Hamiko » Fri Mar 08, 2013 8:05 pm

mdrjr, be welcome, and now gimme Chrome OS :D Avanti avanti ;) Hope everything will solve good for you.

(sugarbread and whip, like bismarck said ;) )
Hamiko
 
Posts: 254
Joined: Sun Feb 24, 2013 9:04 pm
Location: Germany
languages_spoken: english, german
ODROIDs: Odroid-U3

Re: Project: Kernel 3.8

Unread postby mdrjr » Sun Mar 10, 2013 2:04 am

Update: Initial Support for X/X2 is pushed!

0.000000] Linux version 3.8.2+ (mdrjr@sushi) (gcc version 4.7.3 20121205 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2012.12-20121214 - Linaro GCC 2012.12) ) #5 SMP Sat Mar3
[ 0.000000] CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: ODROIDX
mdrjr
Site Admin
 
Posts: 11635
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: Project: Kernel 3.8

Unread postby mdrjr » Sun Mar 10, 2013 7:38 am

Ethernet/USB ports are enabled and working!

its now possible to have a console via the usb-otg port, however its implemented at kernel level, so... you must have your board boot. It WON'T replace the UART Kit. You still need it. Its just one more feature on Linux side.

X/X2 users that wants to test it.. fell free!

HDMI isn't working.
SDCard only
Didn't tested sound
Lacks Mali Support
There's a HUGE! TODO list yet.. This is just day one of works..
mdrjr
Site Admin
 
Posts: 11635
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: Project: Kernel 3.8

Unread postby odroid » Sun Mar 10, 2013 3:39 pm

Great progress!

I have a question.
Did you boot your kernel 3.8 with device-tree or without?
User avatar
odroid
Site Admin
 
Posts: 24610
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Project: Kernel 3.8

Unread postby mindforger » Sun Mar 10, 2013 6:11 pm

its now possible to have a console via the usb-otg port

thats awesome!!! how can i access it? will it show up as USB serialport ?
mindforger
 
Posts: 242
Joined: Mon Feb 25, 2013 8:54 pm
languages_spoken: english, german
ODROIDs: ODROID-X

Re: Project: Kernel 3.8

Unread postby mdrjr » Sun Mar 10, 2013 11:28 pm

odroid wrote:Great progress!

I have a question.
Did you boot your kernel 3.8 with device-tree or without?


At the start without DT support, we'll add that one later..
mdrjr
Site Admin
 
Posts: 11635
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: Project: Kernel 3.8

Unread postby mdrjr » Sun Mar 10, 2013 11:29 pm

mindforger wrote:
its now possible to have a console via the usb-otg port

thats awesome!!! how can i access it? will it show up as USB serialport ?


It will show as ttyACM0 on your machine. You can setup minicom/screen to use it. As a regular console port.

However, this requires the OS to enable this port for you. So your distro must enable it.
mdrjr
Site Admin
 
Posts: 11635
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: Project: Kernel 3.8

Unread postby mindforger » Mon Mar 11, 2013 4:49 am

i use windows *sob ... the O-X is my first and only self owned Linux System :]
mindforger
 
Posts: 242
Joined: Mon Feb 25, 2013 8:54 pm
languages_spoken: english, german
ODROIDs: ODROID-X

Re: Project: Kernel 3.8

Unread postby mdrjr » Mon Mar 11, 2013 4:53 am

mindforger wrote:i use windows *sob ... the O-X is my first and only self owned Linux System :]


What do we do when we don't know something? We read the documentation :)

https://github.com/hardkernel/linux/blo ... l.txt#L152

Enjoy the readings ;)
mdrjr
Site Admin
 
Posts: 11635
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: Project: Kernel 3.8

Unread postby mdrjr » Tue Mar 12, 2013 10:19 am

I've updated on my G+ some status of it. I want to make it clear, I'm still fighting the HDMI issue.

I really don't have a clue what's causing it.. Everything is there and Image should be appearing on my screen -.-..
mdrjr
Site Admin
 
Posts: 11635
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: Project: Kernel 3.8

Unread postby mdrjr » Mon Mar 18, 2013 1:50 pm

Hello,

Quick update: Dongjin Kim helped alot and we now have HDMI working! :) Time to get other things to work!
mdrjr
Site Admin
 
Posts: 11635
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: Project: Kernel 3.8

Unread postby odroid » Mon Mar 18, 2013 1:53 pm

mdrjr wrote:Quick update: Dongjin Kim helped alot and we now have HDMI working! :) Time to get other things to work!


Great news!! :o
Special thanks to Dongjin Kim.
User avatar
odroid
Site Admin
 
Posts: 24610
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Project: Kernel 3.8

Unread postby mdrjr » Mon Mar 18, 2013 2:04 pm

Next in Line: eMMC support.

Code: Select all
[    2.945000] mmc1: switch to bus width 8 ddr 2 failed
[    2.945000] mmc1: error -74 whilst initialising MMC card


I remember those from 3.6 ;(

On 3.6 I couldn't even enable the internal DMA controller of the card, on 3.8 its enabled! I guess that minor things to make it work without having to port the driver from 3.0 ..
mdrjr
Site Admin
 
Posts: 11635
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: Project: Kernel 3.8

Unread postby mdrjr » Wed Mar 20, 2013 10:02 am

eMMC support is now working on 3.8.

Moving to Sound now ! :)
mdrjr
Site Admin
 
Posts: 11635
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: Project: Kernel 3.8

Unread postby KC7NOA » Wed Mar 20, 2013 11:55 am

mdrjr wrote:eMMC support is now working on 3.8.

Moving to Sound now ! :)



Looking forward to it ..
KC7NOA
 
Posts: 779
Joined: Wed Feb 27, 2013 2:25 pm
languages_spoken: english
ODROIDs: Odroid-X2(blown HDMI output)
Odroid-C2 to replace X2

Re: Project: Kernel 3.8

Unread postby KC7NOA » Wed Mar 20, 2013 11:56 am

since the other thread is going to be deleted .....

What commands for the Max98090 will there be working?
KC7NOA
 
Posts: 779
Joined: Wed Feb 27, 2013 2:25 pm
languages_spoken: english
ODROIDs: Odroid-X2(blown HDMI output)
Odroid-C2 to replace X2

Re: Project: Kernel 3.8

Unread postby Dunkel85 » Wed Mar 20, 2013 7:40 pm

Hey,

can you please give me a little help on how to update my Kernel to 3.8?
I've tried to do it with the instructions from http://forum.odroid.com/viewtopic.php?f=52&t=81
- of course modifying them accordingly. Works fine, no errors; but in the end, after reboot "uname -a" still shows
"Linux x2 3.6.0-rc6 #10 SMP PREEMPT Sat Sep 22 17:12:23 CEST 2012 armv7l GNU/Linux"
Am I checking this wrong?
I've used below instructions.
Sorry, I'm quite a noob reg. this.

Thanks in advance!

Code: Select all
git clone --depth 1 https://github.com/hardkernel/linux.git -b odroid-3.8.y odroid-3.8.y
make odroid_x2
cd odroid-3.8.y
make odroidx2_defconfig
make menuconfig
make -j5 zImage modules
cp arch/arm/boot/zImage /boot/zImage
make modules_install
cp .config /boot/config-`cat include/config/kernel.release`
update-initramfs -c -k `cat include/config/kernel.release`
mkimage -A arm -O linux -T ramdisk -C none -a 0 -e 0 -n uInitrd -d /boot/initrd.img-`cat include/config/kernel.release` /boot/uInitrd-`cat include/config/kernel.release`
cp /boot/uInitrd-`cat include/config/kernel.release` /boot/uInitrd
sync && reboot
Using Debian on ODroid-X2 - http://hmastuff.com/blog/odroid-x2
Dunkel85
 
Posts: 4
Joined: Tue Feb 26, 2013 1:53 am
Location: DE
languages_spoken: english
ODROIDs: X2

Re: Project: Kernel 3.8

Unread postby toxygen » Wed Mar 20, 2013 8:06 pm

df -h | grep boot
usually, /boot is separate partition, i.e.
Code: Select all
/dev/mmcblk0p1  127M   27M  100M  21% /media/boot


so maybe mount it first
toxygen
 
Posts: 30
Joined: Fri Mar 15, 2013 12:17 pm
languages_spoken: english
ODROIDs: Odroid-X2

Re: Project: Kernel 3.8

Unread postby mdrjr » Wed Mar 20, 2013 8:40 pm

Ok, Let me clarify.. Only users comming from any 3.0 based image can use this kernel. 3.6 based images for -X won't even boot the kernel due to bootloader changes.
mdrjr
Site Admin
 
Posts: 11635
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: Project: Kernel 3.8

Unread postby KC7NOA » Thu Mar 21, 2013 12:01 am

soooo ... if im using a 3.6 image on a X2 ... and try to upgrade, it will not boot ..... ?

its no biggie .... iv got more than one 32G sdcard ... my other is running 3.0
KC7NOA
 
Posts: 779
Joined: Wed Feb 27, 2013 2:25 pm
languages_spoken: english
ODROIDs: Odroid-X2(blown HDMI output)
Odroid-C2 to replace X2

Re: Project: Kernel 3.8

Unread postby odroid » Thu Mar 21, 2013 12:13 pm

KC7NOA wrote:soooo ... if im using a 3.6 image on a X2 ... and try to upgrade, it will not boot ..... ?

its no biggie .... iv got more than one 32G sdcard ... my other is running 3.0


Right.

You need to flash any 2013' released Ubuntu image first.
And then, upgrade it to Kernel 3.8
User avatar
odroid
Site Admin
 
Posts: 24610
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Project: Kernel 3.8

Unread postby mlinuxguy » Mon Mar 25, 2013 6:24 am

Sorry for the late start on building 3.8.... seems like I have a lot of catching up to do.

I first tried to pull the repo:
git clone https://github.com/hardkernel/linux/com ... roid-3.8.y
Cloning into 'odroid-3.8.y'...
fatal: https://github.com/hardkernel/linux/com ... /info/refs not found: did you run git update-server-info on the server?

So then I pull down the zip version
Not having a sample .config file I spend a while getting all the proper CONFIG_ definitions in to solve problems like this one:
arch/arm/mach-exynos/mach-odroid-x.c:1102:3: error: ‘hdmi_fixed_voltage’ undeclared here (not in a function)

That leaves me with new problems
CC net/netfilter/nf_conntrack_proto_tcp.o
drivers/usb/host/ohci-hcd.c:1203:2: error: #error "missing bus glue for ohci-hcd"
drivers/usb/host/ohci-hub.c:282:12: warning: ‘ohci_bus_suspend’ defined but not used [-Wunused-function]

Fixing that leaves me:
ERROR: "ump_dd_phys_block_count_get" [drivers/video/mali/r3p2/mali/mali.ko] undefined!
ERROR: "ump_dd_reference_release" [drivers/video/mali/r3p2/mali/mali.ko] undefined!

So I'm missing something in the config. Where can I find a working 3.8 kernel .config for HDMI TV that I can start from?
I have hunted all the forums and repo's listed....
mlinuxguy
 
Posts: 639
Joined: Thu Feb 28, 2013 10:28 am
languages_spoken: english
ODROIDs: X, X2, XU, XU3, XU4, C1, C1+, C2, USB-IO

Re: Project: Kernel 3.8

Unread postby mdrjr » Mon Mar 25, 2013 6:41 am

branch odroid-3.8.y-mdrjr

This is the branch that I'm working on. I'll merge both...
mdrjr
Site Admin
 
Posts: 11635
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: Project: Kernel 3.8

Unread postby mlinuxguy » Mon Mar 25, 2013 1:53 pm

Thanks mdrjr
I have 3.8 up and running on my odroid-x2:
# uname -a
Linux linaro-ubuntu-desktop 3.8.3 #1 SMP PREEMPT Mon Mar 25 04:27:26 UTC 2013 armv7l armv7l armv7l GNU/Linux

Next up: RT patches
Unfortunately they have already moved on to 3.8.4 for the RT patch so I will have to wait for mdrjr's kernel to catch up to 3.8.4
https://www.kernel.org/pub/linux/kernel ... 1.patch.gz
mlinuxguy
 
Posts: 639
Joined: Thu Feb 28, 2013 10:28 am
languages_spoken: english
ODROIDs: X, X2, XU, XU3, XU4, C1, C1+, C2, USB-IO

Re: Project: Kernel 3.8

Unread postby mdrjr » Mon Mar 25, 2013 8:48 pm

mlinuxguy wrote:Thanks mdrjr
I have 3.8 up and running on my odroid-x2:
# uname -a
Linux linaro-ubuntu-desktop 3.8.3 #1 SMP PREEMPT Mon Mar 25 04:27:26 UTC 2013 armv7l armv7l armv7l GNU/Linux

Next up: RT patches
Unfortunately they have already moved on to 3.8.4 for the RT patch so I will have to wait for mdrjr's kernel to catch up to 3.8.4
https://www.kernel.org/pub/linux/kernel ... 1.patch.gz


I'll try to merge 3.8.4 today.
mdrjr
Site Admin
 
Posts: 11635
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: Project: Kernel 3.8

Unread postby gromain » Tue Mar 26, 2013 10:07 pm

Hi!

I just ckecked out your branch (odroid-3.8.y-mdrjr), but I couldn't find the config file to use with the X2. Will it work with the odroidx_defconfig?

Cheers
gromain
 
Posts: 2
Joined: Thu Feb 28, 2013 6:42 pm
languages_spoken: english french
ODROIDs: ODROID U2
ODROID X2

Re: Project: Kernel 3.8

Unread postby mdrjr » Tue Mar 26, 2013 10:14 pm

gromain wrote:Hi!

I just ckecked out your branch (odroid-3.8.y-mdrjr), but I couldn't find the config file to use with the X2. Will it work with the odroidx_defconfig?

Cheers


Yes
mdrjr
Site Admin
 
Posts: 11635
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: Project: Kernel 3.8

Unread postby mdrjr » Wed Mar 27, 2013 8:42 am

Once again, thanks to Dongjin Kim for fixing the Audio on kernel 3.8
mdrjr
Site Admin
 
Posts: 11635
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: Project: Kernel 3.8

Unread postby mdrjr » Wed Mar 27, 2013 9:33 am

Branch updated to 3.8.4

Next in-line merge Mali support!...
mdrjr
Site Admin
 
Posts: 11635
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: Project: Kernel 3.8

Unread postby KC7NOA » Wed Mar 27, 2013 9:55 am

cool deal .. didn't see the commits in the github reposit ... probably i don't know where to look realy but glad to see progress ...

Mike KC7NOA
KC7NOA
 
Posts: 779
Joined: Wed Feb 27, 2013 2:25 pm
languages_spoken: english
ODROIDs: Odroid-X2(blown HDMI output)
Odroid-C2 to replace X2

Re: Project: Kernel 3.8

Unread postby mdrjr » Wed Mar 27, 2013 10:06 am

KC7NOA wrote:cool deal .. didn't see the commits in the github reposit ... probably i don't know where to look realy but glad to see progress ...

Mike KC7NOA


https://github.com/hardkernel/linux/com ... .8.y-mdrjr
mdrjr
Site Admin
 
Posts: 11635
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: Project: Kernel 3.8

Unread postby sboyce » Wed Mar 27, 2013 10:48 am

mdrjr wrote:Branch updated to 3.8.4

Next in-line merge Mali support!...

That would be very nice, mali400 support is critical for me so I am still running 3.0.68.
sboyce
 
Posts: 157
Joined: Thu Feb 28, 2013 7:17 am
languages_spoken: english
ODROIDs: ODROID-X

Re: Project: Kernel 3.8

Unread postby hebere » Wed Mar 27, 2013 3:57 pm

Would you mind including SPI support on your roadmap? We need to use SPI, but unfortunately it is only supported in 3.0.y . It would be nice to have it on 3.8. Thanks for you efforts...
hebere
 
Posts: 17
Joined: Wed Feb 27, 2013 2:56 pm
languages_spoken: english
ODROIDs: Odroid-x2, XU3-Lite

Re: Project: Kernel 3.8

Unread postby mlinuxguy » Wed Mar 27, 2013 4:26 pm

RT 3.8.4 patches applied
# uname -a
Linux linaro-ubuntu-desktop 3.8.4-rt2 #2 SMP PREEMPT RT Wed Mar 27 07:09:36 UTC 2013 armv7l armv7l armv7l GNU/Linux

built with SPI: /lib/modules/3.8.4-rt2/kernel/drivers/spi# ls
spi-bitbang.ko spi-gpio.ko spi-s3c64xx.ko

I'll see if its still up and running in the morning and run some latency tests
mlinuxguy
 
Posts: 639
Joined: Thu Feb 28, 2013 10:28 am
languages_spoken: english
ODROIDs: X, X2, XU, XU3, XU4, C1, C1+, C2, USB-IO

Re: Project: Kernel 3.8

Unread postby odroid » Wed Mar 27, 2013 5:52 pm

Amazing progress!! :o
User avatar
odroid
Site Admin
 
Posts: 24610
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Project: Kernel 3.8

Unread postby mlinuxguy » Wed Mar 27, 2013 11:22 pm

The real-time RT kernel is still up this morning
Over in the GPIO headers how to use thread I show the latency by running cyclictests

Next I'll see if I can test GPIO toggling frequency (not sure my logic analyzer will sync to 1.8v without logic translation)
mlinuxguy
 
Posts: 639
Joined: Thu Feb 28, 2013 10:28 am
languages_spoken: english
ODROIDs: X, X2, XU, XU3, XU4, C1, C1+, C2, USB-IO

Re: Project: Kernel 3.8

Unread postby sboyce » Wed Mar 27, 2013 11:49 pm

mlinuxguy wrote:The real-time RT kernel is still up this morning
Over in the GPIO headers how to use thread I show the latency by running cyclictests

Next I'll see if I can test GPIO toggling frequency (not sure my logic analyzer will sync to 1.8v without logic translation)

I bought a couple of these level convertors which SparkFun say will also translate 1.8V. I haven't done anything with them so far, too many other hardware projects on the go.
https://www.sparkfun.com/products/8745
sboyce
 
Posts: 157
Joined: Thu Feb 28, 2013 7:17 am
languages_spoken: english
ODROIDs: ODROID-X

Re: Project: Kernel 3.8

Unread postby mindforger » Thu Mar 28, 2013 2:54 am

additional parts that may be interesting for you

soldering skills required

http://www.farnell.com/datasheets/1648269.pdf I2C 3.3V
http://www.farnell.com/datasheets/1633997.pdf I2C 5.0V

http://www.ti.com/lit/ds/symlink/sn74lvc2t45.pdf 2bit 5V
http://www.ti.com/lit/ds/symlink/sn74avc4t245.pdf 4bit 5V
http://www.ti.com/lit/ds/symlink/sn74avc8t245.pdf 8bit but only 3.6V

all of them are cheaper than a dollar and MAYBE available as DIP ... unfortunatly farnell storage is not well equipped in germany, there are lot more!!!!
mindforger
 
Posts: 242
Joined: Mon Feb 25, 2013 8:54 pm
languages_spoken: english, german
ODROIDs: ODROID-X

Re: Project: Kernel 3.8

Unread postby sboyce » Thu Mar 28, 2013 6:59 am

RS Components have a range of them and they don't charge the extortionate shipping Farnell does.
http://uk.rs-online.com/web/c/semicondu ... ors/?sra=p
sboyce
 
Posts: 157
Joined: Thu Feb 28, 2013 7:17 am
languages_spoken: english
ODROIDs: ODROID-X

Re: Project: Kernel 3.8

Unread postby mdrjr » Thu Mar 28, 2013 7:18 am

Stop off-topicing this... This thread is for the kernel development.. Please.
mdrjr
Site Admin
 
Posts: 11635
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: Project: Kernel 3.8

Unread postby mindforger » Thu Mar 28, 2013 3:48 pm

sorry i thought i was in another topic my fault
mindforger
 
Posts: 242
Joined: Mon Feb 25, 2013 8:54 pm
languages_spoken: english, german
ODROIDs: ODROID-X

Re: Project: Kernel 3.8

Unread postby sboyce » Fri Mar 29, 2013 7:53 am

Guess you are still working away on this ... keep up the good work.
3.8.4 Without CONFIG_HARDKERNEL_UMP
==================================
Building modules, stage 2.
MODPOST 481 modules
ERROR: "v7_dma_flush_range" [drivers/video/mali/r3p2/ump/ump.ko] undefined!
ERROR: "_mali_osk_free" [drivers/video/mali/r3p2/ump/ump.ko] undefined!
ERROR: "_mali_osk_dbgmsg" [drivers/video/mali/r3p2/ump/ump.ko] undefined!
ERROR: "_mali_osk_atomic_init" [drivers/video/mali/r3p2/ump/ump.ko] undefined!
ERROR: "_mali_osk_lock_signal" [drivers/video/mali/r3p2/ump/ump.ko] undefined!
ERROR: "_mali_osk_lock_wait" [drivers/video/mali/r3p2/ump/ump.ko] undefined!
ERROR: "_mali_osk_malloc" [drivers/video/mali/r3p2/ump/ump.ko] undefined!
ERROR: "_mali_osk_calloc" [drivers/video/mali/r3p2/ump/ump.ko] undefined!
ERROR: "map_errcode" [drivers/video/mali/r3p2/ump/ump.ko] undefined!
ERROR: "_mali_osk_lock_term" [drivers/video/mali/r3p2/ump/ump.ko] undefined!
ERROR: "_mali_osk_lock_init" [drivers/video/mali/r3p2/ump/ump.ko] undefined!
ERROR: "_mali_osk_memset" [drivers/video/mali/r3p2/ump/ump.ko] undefined!
ERROR: "_mali_osk_memcpy" [drivers/video/mali/r3p2/ump/ump.ko] undefined!
ERROR: "_mali_osk_clz" [drivers/video/mali/r3p2/ump/ump.ko] undefined!
ERROR: "_mali_osk_break" [drivers/video/mali/r3p2/ump/ump.ko] undefined!
ERROR: "drm_release" [drivers/gpu/drm/mali/mali_drm.ko] undefined!
ERROR: "drm_sman_free_key" [drivers/gpu/drm/mali/mali_drm.ko] undefined!
ERROR: "drm_sman_set_manager" [drivers/gpu/drm/mali/mali_drm.ko] undefined!
ERROR: "drm_sman_owner_cleanup" [drivers/gpu/drm/mali/mali_drm.ko] undefined!
ERROR: "drm_mmap" [drivers/gpu/drm/mali/mali_drm.ko] undefined!
ERROR: "drm_sman_owner_clean" [drivers/gpu/drm/mali/mali_drm.ko] undefined!
ERROR: "drm_sman_init" [drivers/gpu/drm/mali/mali_drm.ko] undefined!
ERROR: "drm_platform_exit" [drivers/gpu/drm/mali/mali_drm.ko] undefined!
ERROR: "drm_platform_init" [drivers/gpu/drm/mali/mali_drm.ko] undefined!
ERROR: "drm_err" [drivers/gpu/drm/mali/mali_drm.ko] undefined!
ERROR: "drm_ioctl" [drivers/gpu/drm/mali/mali_drm.ko] undefined!
ERROR: "drm_sman_alloc" [drivers/gpu/drm/mali/mali_drm.ko] undefined!
ERROR: "drm_sman_takedown" [drivers/gpu/drm/mali/mali_drm.ko] undefined!
ERROR: "drm_sman_set_range" [drivers/gpu/drm/mali/mali_drm.ko] undefined!
ERROR: "drm_ut_debug_printk" [drivers/gpu/drm/mali/mali_drm.ko] undefined!
ERROR: "drm_sman_cleanup" [drivers/gpu/drm/mali/mali_drm.ko] undefined!
ERROR: "drm_poll" [drivers/gpu/drm/mali/mali_drm.ko] undefined!
ERROR: "drm_fasync" [drivers/gpu/drm/mali/mali_drm.ko] undefined!
ERROR: "drm_open" [drivers/gpu/drm/mali/mali_drm.ko] undefined!
make[2]: *** [__modpost] Error 1
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/media/1/linux-3.8.4'
make: *** [debian/stamp/build/kernel] Error 2

With CONFIG_HARDKERNEL_UMP=y
================================
drivers/built-in.o: In function `disp_get_ump_secure_id':
/media/1/linux-3.8.4/drivers/hardkernel/hardkernel_ump.c:77: undefined reference to `ump_dd_handle_create_from_phys_blocks'
/media/1/linux-3.8.4/drivers/hardkernel/hardkernel_ump.c:79: undefined reference to `ump_dd_secure_id_get'
make[1]: *** [vmlinux] Error 1
make[1]: Leaving directory `/media/1/linux-3.8.4'
make: *** [debian/stamp/build/kernel] Error 2
sboyce
 
Posts: 157
Joined: Thu Feb 28, 2013 7:17 am
languages_spoken: english
ODROIDs: ODROID-X

Next

Return to The Ideas

Who is online

Users browsing this forum: No registered users and 1 guest