New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
momcilosystem
Old
#1  
Junior Member - OP
Thanks Meter 12
Posts: 17
Join Date: Dec 2007
Lightbulb Need help installing Fedora 17 arm on Folio 100

Hi all,

there's some fantastic stuff on your forum and I would like to thank you all for work being done here!

Now, to my point. I need kernel source (or update.zip or zImage or boot.img or whatever ) that can support systemd so I can run Fedora 17 arm on my Toshiba Folio 100.

I tried using kernel 3.1 form DerArtem (the guy who has done amazing work with folio) but it has no framebuffer console. I tried adding support for this myself (following this guide: kernel.org/doc/Documentation/fb/fbcon.txt) but it didn't work. There's no surprise there as I am newbie when it comes to compiling kernel and changing its options.

I succeeded in starting Fedora 12 arm with older kernel using this guide (lguegan.free.fr/article.php3?id_article=29) which is inspired by you guys. It worked all right, but I didn't want to go deeper with it because F12 arm didn't have LibreOffice (or OpenOffice) in its repos and Fedora 17 did. Also, Fedora 17 has core support for multi-touch - apps do need to implement this feature though, but the funcionality is there.

And if there is someone who can help me, I can point you in a few directions:
Kernel source for 3.1: github.com/DerArtem/android_kernel_toshiba_betelgeuse
Fedora 17 arm rootfs: fr2.rpmfind.net/linux/fedora-secondary/releases/17/Images/
I am not sure which image you should use SFP or HFP as I don't know what kind of floating point Folio uses.
I am making boot.img with this command:
Code:
#mkbootimg  --kernel arch/arm/boot/zImage --cmdline "mem=448M@0M nvmem=64M@448M vmalloc=192M video=tegrafb usbcore.old_scheme_first=1 tegrapart=recovery:122000:a00:800,linux:a0e00:1000:800,loader:300:400:800,mbr:700:200:800,system:900:20000:800,cache:20900:80000:800,misc:a0900:400:800,userdata:a1f00:80000:800 boardtype=PR root=/dev/mmcblk1p1 init=/sbin/init usb-storage.delay_use=0 rootdelay=10" -o boot.img --ramdisk boot.img-ramdisk.gz
maybe there is something wrong right there, but I don't know what half of these kernel parameters do
Also, maybe I am using wrong config file: arch/arm/configs/tegra_betelgeuse_android_defconfig, please do correct me.

Now that I think, I just need config file for this 3.1 kernel, so basicaly that's the help I need.


Thanks in advance and again thank you for all the good stuff here

Momcilo
 
shidima_101
Old
#2  
Member
Thanks Meter 4
Posts: 72
Join Date: Feb 2011
Location: Katwijk
Hmmm interesting project. Mabey some day you can tell us how you got Fedora 12 to work. I saw that DerArtem is working on a kernel over on his github page: https://github.com/DerArtem/, mabey it will work with your build?

Did you also read through the linux post in the general section? (link)
 
momcilosystem
Old
#3  
Junior Member - OP
Thanks Meter 12
Posts: 17
Join Date: Dec 2007
Hi friend!

Well, getting Fedora 12 arm to work was fairly easy. Just flashed with kernel from that page you posted and copied Fedora 12 rootfs to an mmc and it booted with console. X was not even installed in rootfs so before I tried to make it work I realized that there was no office for that version of Fedora arm so I dropped it.

Reason I can't use kernel from that page you posted is: it's too old. Fedora 17 uses systemd which requires newer kernel. That's why I came here, to try and contact DerArtem to see if his new kernel 3 for Folio could be configured to boot up other OSes, because I tried reconfiguring myself but got stuck.

Thanks for your interest in this
 
shidima_101
Old
(Last edited by shidima_101; 17th August 2012 at 11:34 AM.)
#4  
Member
Thanks Meter 4
Posts: 72
Join Date: Feb 2011
Location: Katwijk
Its been a while since i build my own kernel, but it seems to me that you need to have a F17 build system and then build the kernel with the config for the Folio 100 (Fedora arm Kernel building)

I'm currently trying to get Archlinux working on my folio (Still i know).
 
momcilosystem
Old
#5  
Junior Member - OP
Thanks Meter 12
Posts: 17
Join Date: Dec 2007
I don't have problem building a kernel. It builds just fine, and I do get zImage and I can flash my Folio with it and it boots up. Only problem I have at the moment is that I can't seem to get framebuffer console working so I can debug booting Fedora from MMC.

Quote:
and then build the kernel with the config for the Folio 100
Yeah, that's what I am missing
 
DerArtem
Old
#6  
Senior Member
Thanks Meter 602
Posts: 210
Join Date: Apr 2010
Location: Bad Homburg

 
DONATE TO ME
The config for the kernel is in:

arch/arm/configs/tegra_betelgeuse_android_defconfig

You will have to enable the framebuffer console as it is disabled it the kernel.
 
momcilosystem
Old
#7  
Junior Member - OP
Thanks Meter 12
Posts: 17
Join Date: Dec 2007
Hi DerArtem,

thanks for taking time to look at my work.

I think there was a mistake in my earlier efforts that I didn't realize, because now I did it from start and framebuffer works like a charm. I also added support for systemd (devtmpfs, cgroups, etc...) and now my Fedora 17 arm boots to console.

I am so happy right now I can't even try to debug why X doesn't work, but I'll get there.

If I make this work completely I will make a guide and post it here.

Thanks guys!
 
sader0
Old
#8  
sader0's Avatar
Senior Member
Thanks Meter 5
Posts: 142
Join Date: Sep 2010
May I suggest u post your issues here, perhaps we can help you with these ?

thanks

P.S. Fedora is not really my distribution of choice(prefer debian or arch), but nevertheless make it working is a great advance
SgsII + Toshiba folio 100
 
momcilosystem
Old
#9  
Junior Member - OP
Thanks Meter 12
Posts: 17
Join Date: Dec 2007
Thanks sader0!

I will need help with this.

Here are the logs:

dmesg - dm.txt
lsusb - lsusb.txt
/var/log/messages - messages.txt
Xorg -configure - Xorg.0.txt
lspci - doesn't produce anything.

And another thing, I didn't copy anything from kernel tree after compiling. I noticed during kernel build that something compiles as module but I had trouble finding any modules.

Is there anything I should copy to filesystem from kernel tree?

Best regards,
Momcilo.
Attached Files
File Type: txt dm.txt - [Click for QR Code] (25.1 KB, 5 views)
File Type: txt lsusb.txt - [Click for QR Code] (301 Bytes, 4 views)
File Type: txt messages.txt - [Click for QR Code] (51.5 KB, 4 views)
File Type: txt Xorg.0.txt - [Click for QR Code] (6.0 KB, 7 views)

Tags
arm, fedora, fedora 17, folio, toshiba

XDA PORTAL POSTS

Forum Added for the Samsung Galaxy Mega

What do you do when the Galaxy Note line is simply not big enough? You get theSamsung Galaxy Mega. … more

Voice Control Your Phone with Tasker and AutoVoice – XDA Developer TV

XDA Developer TV Producer Kevin set up his phone to respond to … more

Guide to Take Better Control of Your Volume Levels

Would you like to know one of the things that really annoys me on a daily basis? Tough, … more

Get the Android 4.2.2 Status Bar on Your Gingerbread-Based Samsung

There are still quite a few of folks who run Gingerbread on their … more