Project: Kernel 3.8

Share here your ideas for new projects
Post Reply
mdrjr
Site Admin
Posts: 11757
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 28 times
Contact:

Project: Kernel 3.8

Post by mdrjr »

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: 11757
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 28 times
Contact:

Re: Project: Kernel 3.8

Post by mdrjr »

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 ;(

Blue-Tiger
Posts: 40
Joined: Wed Feb 27, 2013 6:33 am
languages_spoken: english,german
ODROIDs: U2
Has thanked: 0
Been thanked: 0
Contact:

Re: Project: Kernel 3.8

Post by Blue-Tiger »

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 ?

osterluk
Posts: 311
Joined: Sun Feb 24, 2013 2:07 am
languages_spoken: English
ODROIDs: Odroid-U2
Has thanked: 0
Been thanked: 0
Contact:

Re: Project: Kernel 3.8

Post by osterluk »

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.

mdrjr
Site Admin
Posts: 11757
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 28 times
Contact:

Re: Project: Kernel 3.8

Post by mdrjr »

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.

Gu1
Posts: 5
Joined: Wed Feb 27, 2013 7:03 am
languages_spoken: french; english
ODROIDs: ODROID-U2
Location: France
Has thanked: 0
Been thanked: 0
Contact:

Re: Project: Kernel 3.8

Post by Gu1 »

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...

Hamiko
Posts: 254
Joined: Sun Feb 24, 2013 9:04 pm
languages_spoken: english, german
ODROIDs: Odroid-U3
Location: Germany
Has thanked: 0
Been thanked: 0
Contact:

Re: Project: Kernel 3.8

Post by Hamiko »

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!)

mdrjr
Site Admin
Posts: 11757
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 28 times
Contact:

Re: Project: Kernel 3.8

Post by mdrjr »

@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 :)

Hamiko
Posts: 254
Joined: Sun Feb 24, 2013 9:04 pm
languages_spoken: english, german
ODROIDs: Odroid-U3
Location: Germany
Has thanked: 0
Been thanked: 0
Contact:

Re: Project: Kernel 3.8

Post by Hamiko »

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

(sugarbread and whip, like bismarck said ;) )

mdrjr
Site Admin
Posts: 11757
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 28 times
Contact:

Re: Project: Kernel 3.8

Post by mdrjr »

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: 11757
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 28 times
Contact:

Re: Project: Kernel 3.8

Post by mdrjr »

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..

User avatar
odroid
Site Admin
Posts: 34947
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 960 times
Been thanked: 775 times
Contact:

Re: Project: Kernel 3.8

Post by odroid »

Great progress!

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

mindforger
Posts: 242
Joined: Mon Feb 25, 2013 8:54 pm
languages_spoken: english, german
ODROIDs: ODROID-X
Has thanked: 0
Been thanked: 0
Contact:

Re: Project: Kernel 3.8

Post by mindforger »

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 ?

mdrjr
Site Admin
Posts: 11757
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 28 times
Contact:

Re: Project: Kernel 3.8

Post by mdrjr »

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: 11757
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 28 times
Contact:

Re: Project: Kernel 3.8

Post by mdrjr »

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.

mindforger
Posts: 242
Joined: Mon Feb 25, 2013 8:54 pm
languages_spoken: english, german
ODROIDs: ODROID-X
Has thanked: 0
Been thanked: 0
Contact:

Re: Project: Kernel 3.8

Post by mindforger »

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

mdrjr
Site Admin
Posts: 11757
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 28 times
Contact:

Re: Project: Kernel 3.8

Post by mdrjr »

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: 11757
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 28 times
Contact:

Re: Project: Kernel 3.8

Post by mdrjr »

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: 11757
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 28 times
Contact:

Re: Project: Kernel 3.8

Post by mdrjr »

Hello,

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

User avatar
odroid
Site Admin
Posts: 34947
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 960 times
Been thanked: 775 times
Contact:

Re: Project: Kernel 3.8

Post by odroid »

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.

mdrjr
Site Admin
Posts: 11757
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 28 times
Contact:

Re: Project: Kernel 3.8

Post by mdrjr »

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: 11757
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 28 times
Contact:

Re: Project: Kernel 3.8

Post by mdrjr »

eMMC support is now working on 3.8.

Moving to Sound now ! :)

KC7NOA
Posts: 843
Joined: Wed Feb 27, 2013 2:25 pm
languages_spoken: english
ODROIDs: Odroid-X2(blown HDMI output)
Odroid-C2 to replace X2
Has thanked: 0
Been thanked: 0
Contact:

Re: Project: Kernel 3.8

Post by KC7NOA »

mdrjr wrote:eMMC support is now working on 3.8.

Moving to Sound now ! :)

Looking forward to it ..

KC7NOA
Posts: 843
Joined: Wed Feb 27, 2013 2:25 pm
languages_spoken: english
ODROIDs: Odroid-X2(blown HDMI output)
Odroid-C2 to replace X2
Has thanked: 0
Been thanked: 0
Contact:

Re: Project: Kernel 3.8

Post by KC7NOA »

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

What commands for the Max98090 will there be working?

Dunkel85
Posts: 4
Joined: Tue Feb 26, 2013 1:53 am
languages_spoken: english
ODROIDs: X2
Location: DE
Has thanked: 0
Been thanked: 0
Contact:

Re: Project: Kernel 3.8

Post by Dunkel85 »

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

toxygen
Posts: 30
Joined: Fri Mar 15, 2013 12:17 pm
languages_spoken: english
ODROIDs: Odroid-X2
Has thanked: 0
Been thanked: 0
Contact:

Re: Project: Kernel 3.8

Post by toxygen »

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

mdrjr
Site Admin
Posts: 11757
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 28 times
Contact:

Re: Project: Kernel 3.8

Post by mdrjr »

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.

KC7NOA
Posts: 843
Joined: Wed Feb 27, 2013 2:25 pm
languages_spoken: english
ODROIDs: Odroid-X2(blown HDMI output)
Odroid-C2 to replace X2
Has thanked: 0
Been thanked: 0
Contact:

Re: Project: Kernel 3.8

Post by KC7NOA »

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

User avatar
odroid
Site Admin
Posts: 34947
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 960 times
Been thanked: 775 times
Contact:

Re: Project: Kernel 3.8

Post by odroid »

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

mlinuxguy
Posts: 842
Joined: Thu Feb 28, 2013 10:28 am
languages_spoken: english
ODROIDs: X, X2, XU, XU3, XU4, C1, C1+, C2, N1, USB-IO
Has thanked: 0
Been thanked: 0
Contact:

Re: Project: Kernel 3.8

Post by mlinuxguy »

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....

mdrjr
Site Admin
Posts: 11757
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 28 times
Contact:

Re: Project: Kernel 3.8

Post by mdrjr »

branch odroid-3.8.y-mdrjr

This is the branch that I'm working on. I'll merge both...

mlinuxguy
Posts: 842
Joined: Thu Feb 28, 2013 10:28 am
languages_spoken: english
ODROIDs: X, X2, XU, XU3, XU4, C1, C1+, C2, N1, USB-IO
Has thanked: 0
Been thanked: 0
Contact:

Re: Project: Kernel 3.8

Post by mlinuxguy »

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

mdrjr
Site Admin
Posts: 11757
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 28 times
Contact:

Re: Project: Kernel 3.8

Post by mdrjr »

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.

gromain
Posts: 2
Joined: Thu Feb 28, 2013 6:42 pm
languages_spoken: english french
ODROIDs: ODROID U2
ODROID X2
Has thanked: 0
Been thanked: 0
Contact:

Re: Project: Kernel 3.8

Post by gromain »

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

mdrjr
Site Admin
Posts: 11757
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 28 times
Contact:

Re: Project: Kernel 3.8

Post by mdrjr »

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: 11757
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 28 times
Contact:

Re: Project: Kernel 3.8

Post by mdrjr »

Once again, thanks to Dongjin Kim for fixing the Audio on kernel 3.8

mdrjr
Site Admin
Posts: 11757
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 28 times
Contact:

Re: Project: Kernel 3.8

Post by mdrjr »

Branch updated to 3.8.4

Next in-line merge Mali support!...

KC7NOA
Posts: 843
Joined: Wed Feb 27, 2013 2:25 pm
languages_spoken: english
ODROIDs: Odroid-X2(blown HDMI output)
Odroid-C2 to replace X2
Has thanked: 0
Been thanked: 0
Contact:

Re: Project: Kernel 3.8

Post by KC7NOA »

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

mdrjr
Site Admin
Posts: 11757
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 28 times
Contact:

Re: Project: Kernel 3.8

Post by mdrjr »

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

sboyce
Posts: 158
Joined: Thu Feb 28, 2013 7:17 am
languages_spoken: english
ODROIDs: ODROID-C2
Location: Halesowen, West Midlands, UK
Has thanked: 0
Been thanked: 0
Contact:

Re: Project: Kernel 3.8

Post by sboyce »

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.

hebere
Posts: 28
Joined: Wed Feb 27, 2013 2:56 pm
languages_spoken: english
ODROIDs: Odroid-x2, XU3-Lite
Has thanked: 0
Been thanked: 0
Contact:

Re: Project: Kernel 3.8

Post by hebere »

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...

mlinuxguy
Posts: 842
Joined: Thu Feb 28, 2013 10:28 am
languages_spoken: english
ODROIDs: X, X2, XU, XU3, XU4, C1, C1+, C2, N1, USB-IO
Has thanked: 0
Been thanked: 0
Contact:

Re: Project: Kernel 3.8

Post by mlinuxguy »

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

User avatar
odroid
Site Admin
Posts: 34947
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 960 times
Been thanked: 775 times
Contact:

Re: Project: Kernel 3.8

Post by odroid »

Amazing progress!! :o

mlinuxguy
Posts: 842
Joined: Thu Feb 28, 2013 10:28 am
languages_spoken: english
ODROIDs: X, X2, XU, XU3, XU4, C1, C1+, C2, N1, USB-IO
Has thanked: 0
Been thanked: 0
Contact:

Re: Project: Kernel 3.8

Post by mlinuxguy »

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)

sboyce
Posts: 158
Joined: Thu Feb 28, 2013 7:17 am
languages_spoken: english
ODROIDs: ODROID-C2
Location: Halesowen, West Midlands, UK
Has thanked: 0
Been thanked: 0
Contact:

Re: Project: Kernel 3.8

Post by sboyce »

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

mindforger
Posts: 242
Joined: Mon Feb 25, 2013 8:54 pm
languages_spoken: english, german
ODROIDs: ODROID-X
Has thanked: 0
Been thanked: 0
Contact:

Re: Project: Kernel 3.8

Post by mindforger »

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!!!!

sboyce
Posts: 158
Joined: Thu Feb 28, 2013 7:17 am
languages_spoken: english
ODROIDs: ODROID-C2
Location: Halesowen, West Midlands, UK
Has thanked: 0
Been thanked: 0
Contact:

Re: Project: Kernel 3.8

Post by sboyce »

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

mdrjr
Site Admin
Posts: 11757
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 28 times
Contact:

Re: Project: Kernel 3.8

Post by mdrjr »

Stop off-topicing this... This thread is for the kernel development.. Please.

mindforger
Posts: 242
Joined: Mon Feb 25, 2013 8:54 pm
languages_spoken: english, german
ODROIDs: ODROID-X
Has thanked: 0
Been thanked: 0
Contact:

Re: Project: Kernel 3.8

Post by mindforger »

sorry i thought i was in another topic my fault

sboyce
Posts: 158
Joined: Thu Feb 28, 2013 7:17 am
languages_spoken: english
ODROIDs: ODROID-C2
Location: Halesowen, West Midlands, UK
Has thanked: 0
Been thanked: 0
Contact:

Re: Project: Kernel 3.8

Post by sboyce »

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

Post Reply

Return to “The Ideas”

Who is online

Users browsing this forum: No registered users and 1 guest