SheevaPlug / Fedora 12
by Gordan Bobic
Hi,
I'm trying to get Fedora 12 working on the SheevaPlug and I'm having a
fair number of problems. After several hours of trial and error and
different u-boot images, I'm now pretty convinced that ext2ls doesn't
actually properly understand the ext2 file system. Creating the ext2 FS
on the SD card with non-standard parameters (e.g. different block size
and/or -E stride/stripe-width/resize parameters seems to confuse it
quite badly. It starts to list files for specified directories that are
most definitely not in the directory specified. The boot loader also
seems to have issues finding the kernel image.
I finally got it to the point where it almost boots, but then the screen
fills up with garbage and the only cure is a hard-reset. I have created
the ext2 fs on an SD card, and put the uimage under /boot on it. In the
boot loader, I did the following:
setenv mainlineLinux yes
setenv arcNumber 2097
setenv bootargs_console console=ttyS0,115200
setenv bootargs_root 'rw root=/dev/mmcblk0p1 rootdelay=10 rootfstype=ext2'
setenv bootcmd_mmc 'mmcinit; ext2load mmc 0 0x800000
/boot/uImage-2.6.30-sheevaplug'
setenv bootcmd 'setenv bootargs $(bootargs_console) $(bootargs_root);
run bootcmd_mmc; bootm 0x0800000'
saveenv
reset
(Please excuse the line wrapping above.)
When it comes to the point where it boots, I get this (trailing garbage
is what comes up):
U-Boot 1.1.4 (Dec 27 2009 - 22:03:21) Marvell version: 3.4.27
U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CFEE0
Soc: 88F6281 A1 (DDR2)
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz
DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000 size 256MB
DRAM CS[1] base 0x10000000 size 256MB
DRAM Total size 512MB 16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:512 MB
Flash: 0 kB
CPU : Marvell Feroceon (Rev 1)
Streaming disabled
Write allocate disabled
USB 0: host mode
PEX 0: interface detected no Link.
Net: egiga0 [PRIME]
Hit any key to stop autoboot: 0
SDHC found. Card desciption is:
Manufacturer: 0x02, OEM "TM"
Product name: "SA32G", revision 0.6
Serial number: 554444312
Manufacturing date: 10/2010
CRC: 0x00, b0 = 0
2096012 bytes read
## Booting image at 00800000 ...
Image Name: Linux-2.6.30-00000-v2.6.30
Created: 2009-06-26 5:29:13 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2095948 Bytes = 2 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
OK
F
Starting kernel ...
6
�
Uncompressing
Linux.........................................D�q)i-�:4URz2,#U&(J-(5��i�]P........H.Rj0Z(�J�i��da).�Jew��].�
d��q�Je5gAZ�x�B0��eV�N ��KAz:I:�JQ�jEPke;�eA�zZ( ^ �
�
�
-
-
-
+
�Ip(UKY�7b��W]u(U+A2-��jx(�A,��T�Y3.�vAx��A2�;-J]s(Q�]3fdF_V�Ip-We�wa�{Q{�
bTB:�gS7+�JV(�] &BZ,R�H,
I0��]V�Ip-We��S3,'�]
T
�
�
(
�
�
�
f
�f4[-i@)��F4[��
�d1�]z-�wI9��t*�Q2.
F^��WY7;�i8�WeP�ej(5qXҕD9V�I:�$�z��Um<ku�z9I8��7A;��Iw��wE7(�JX$��V:
-
u�jUe8��GA8
/
6
6
v
�
�
�
j
How can I debug this further?
Gordan
13 years, 4 months
uboot-tools
by Gordan Bobic
Is there a particular reason why uboot-tools package isn't available in
the F12 armv5tel repository? I just built it from the F12 src.rpm and it
seems to work fine (just booted the kernel I made with it). Is this just
a distro maintenance oversight or is there a specific reason why it's
not included?
Gordan
13 years, 4 months
cpuspeed and power management on ARM
by Gordan Bobic
Hi,
Can somebody point me in the direction of any documentation on how the
CPU power management works on the ARM from the clock speed throttling
when idle point of view? I notice there is no cpuspeed package available.
On x86 there is acpi-cpufreq and the different governors (ondemand,
conservative). Is there something equivalent available on the ARM?
Gordan
13 years, 4 months
fedora login by uart
by 钟威
Dear all, I can't login fedora arm rootfs by uart on my PC linux.Any suggestions?Thanks!
Best Regards,William
13 years, 4 months
Re: [fedora-arm] fedora12 rootfs nfs
by 钟威
Hi tuxdna, I rebuilded a new kernel image and copy the modules file in /lib/modules/.Finaly I removed the dhclient which is in /usr/bin/ and I can always boot the rootfs from the nfs server. ^_^
Regards
--- 10年12月13日,周一, tuxdna <tuxdna(a)gmail.com> 写道:
发件人: tuxdna <tuxdna(a)gmail.com>
主题: Re: [fedora-arm] fedora12 rootfs nfs
收件人: "钟威" <zhongw_1984(a)yahoo.com.cn>
日期: 2010年12月13日,周一,下午2:55
On Wed, Dec 8, 2010 at 4:21 PM, 钟威 <zhongw_1984(a)yahoo.com.cn> wrote:
Hi guys, I have a problem,when I boot fedora12 arm rootfs from my nfs server which can boot successfully.But when I boot it second time,I cannot boot it anymore.The error is which is hanging on "Starting udev".So, any suggestions?
I see that rootfs-f12 doesn't have kernel modules installed in /lib/modules. Have you checked that ? Maybe this is the reason it doesn't work.
/tuxdna
13 years, 4 months
rfsbuild Fedora 12 doesn't have a repomod.xml
by Saleem Ansari
I tried to create rootfs using rfsbuild for Fedora 12, and it gives error:
$ sudo rfsbuild
--repo=c12,http://ftp.linux.org.uk/pub/linux/arm/fedora/pub/fedora/linux/releases/12/Everything/arm/os/
--repo=c6u,http://ftp.linux.org.uk/pub/linux/arm/fedora/pub/fedora/linux/core/updates/6/arm
--repo=c6e,http://ftp.linux.org.uk/pub/linux/arm/fedora/pub/fedora/linux/extras/6/arm
--package=bash --package=nfs-utils --rfspath=./rootfs-f12/ --initrd=0
--verbosity=2 ./startQEMU
Error: Cannot retrieve repository metadata (repomd.xml) for
repository: rfsb_c12. Please verify its path and try again
More at: http://fpaste.org/UVEJ/
Then i tried with Fedora 6 as mentioned in wiki:
( http://fedoraproject.org/wiki/Architectures/ARM/RfsBuild#Operation )
This is also not working.
$ sudo rfsbuild
--repo=c6,http://ftp.linux.org.uk/pub/linux/arm/fedora/pub/fedora/linux/core/6/arm/os/
--package=bash --package=nfs-utils --rfspath=./rootfs-f12/ --initrd=0
--verbosity=2 ./startQEMU
OSError: [Errno 2] No such file or directory:
'./rootfs-f12/build-RO3y62-12131548/install_root/var/lib/rpm/Packages'
More at: http://fpaste.org/tHaA/
Is there any working public repository which I can use to create a
root filesystem for Fedora 12?
If not then how can this be fixed?
/tuxdna
13 years, 4 months
rfsbuild doesn't work on F14 - rfsbuild SRPM is needed to fix
by Saleem Ansari
Whe I invoke rfsbuild like this, it gives error:
$ rfsbuild --repo=c12,http://ftp.linux.org.uk/pub/linux/arm/fedora/pub/fedora/linux/releases/12/Everything/arm/os/
--package=bash --package=nfs-utils ./startQEMU -f=/tmp/rootfs-f12/
--initrd=0 --verbosity=2
RFS path doesn't exist:
The error itself is incorrect:
RFS path doesn't exist:
The error message should instead read:
RFS path doesn't exist: /tmp/rootfs-f12/
I want to properly fix this. Where can I locate SRPM package for rfsbuild?
/tuxdna
13 years, 4 months
Fwd: fedora12 rootfs nfs
by Jitesh Shah
oops. Forgot to CC the list.
---------- Forwarded message ----------
From: Jitesh Shah <jitesh.1337(a)gmail.com>
Date: 2010/12/12
Subject: Re: [fedora-arm] fedora12 rootfs nfs
To: 钟威 <zhongw_1984(a)yahoo.com.cn>
..snip..
On Sun, Dec 12, 2010 at 10:33 PM, 钟威 <zhongw_1984(a)yahoo.com.cn> wrote:
>
> Hi Jitesh,
> Thanks for your replay.But I cannot login the website,can you paste the contents what about the website for me?Thank you very much!
Quoting from the blog:
" The first one was the udev-dhclient issue. The basic rootfs from the
Fedora-ARM page worked fine for me. But, when I installed some
packages, the board refused to reboot. It used to freeze on "Starting
udev". After tinkering around a lot with udev, I finally decided
debugging udev wasn't my thing. So instead tried to determine which
package was causing the problem. After some brute-force and binary
search, realised that dhclient was the culprit. After installing
dhclient, the board hung at "Starting udev" on the next reboot. Weird.
For now, I have just refrained from installing dhclient and everything
is working fine. Any one have any ideas about this? (Probably dhclient
gets the lease calculation wrong because udev accesses the hardware
clock at the same time?)"
> Best Regards,
> William
>
Jitesh
--
Run away from difficulties to stand to fight them tomorrow.
http://aterriblewasteoflife.blogspot.com
http://nothingtechnicalaboutit.blogspot.com
13 years, 4 months