now have a
functional initramfs that's 0.97MB large.
For a while I was confused because "ls" output had file names with
strange symbols such as "1;34mbin0m" for "bin", but I figured out that
it's because supposedly those represent font colors and I
**
I was hoping to convert this working initrd to initramfs before I try
and create my own initrd, I'm still learning about this process. I got
this to work yesterday morning, but I'm not sure what changed or what
I'm doing differently...
Can somebody help me figure out what's missing?
Thanks,
Mikhail Zaturenskiy
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev
On Mon, Jul 6, 2009 at 3:18 PM, Scott Wood wrote:
> Try omitting the spaces around the equal sign.
AHA! Lesson learned :) thanks Scott! That did it.
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-d
>> After doing this testing I have a side question:
>> If I modify just arch/powerpc/configs/ep88x_defconfig, not all changes
>> are reflected in the resulting .config when i do "make
>> ep88x_defconfig; make uImage". I ended up having to modify
>> arch/powerpc/Kconfig, arch/powerpc/configs/ep88xc_
, arch/powerpc/configs/ep88xc_defconfig,
fs/ext2/Kconfig and init/Kconfig to get "make ep88x_defconfig; make
uImage" to create a properly configured image, but this really doesn't
feel right. What's the proper way to set up a defconfig?
Thanks,
Mikhail Zaturenskiy
__
>> Frank! That worked like a charm! I downloaded linux-2.6.26 source from
>> git.kernel.org, inserted the config options previously mentioned,
>> compiled ok, keeping U-Boot ramdisk and my DTS same it booted right up
>> and no more "slow motion" issue.
>
> If you have time, could you bisect to see
> This is very interesting. I recently experienced a similar problem when
> upgrading from 2.6.26-rc6 to 2.6.31-rc1 (torvalds mainline kernel).
>
> I didn't had the time to figure out what was happening, so I went back to
> 2.6.26-rc6. Just for the test, could you try to go back to 2.6.26 and see i
> Here is what's happening:
> *
> RAMDISK: gzip image found at block 0
> VFS: Mounted root (ext2 filesystem) on device 1:0.
> Freeing unused kernel memory: 112k init
>
> <4 minutes pass>
>
> init started: BusyBox v1.7.1 (2008-0
> Just as an intermediate update on the issue, I've made progress and it
> hangs later down the line, see below:
>
> Using Embedded Planet EP88xC machine description
> Linux version 2.6.30-rc2-01402-gd4e2f68-dirty
>> I haven't tried CONFIG_BLK_DEV or CONFIG_BLK_DEV_LOOP and am still
>> playing around with the values for CONFIG_BLK_DEV_RAM_COUNT and
>> CONFIG_BLK_DEV_RAM_SIZE. Strangely, the DEV_RAM defines are completely
>> missing from my config so I have to put them in manually... (as
>> opposed to via men
On Thu, Jul 2, 2009 at 2:10 AM, Frank
Svendsbøe wrote:
> On Wed, Jul 1, 2009 at 10:14 PM, Mikhail
> Zaturenskiy wrote:
> Hmm... according to "Kernel command line: console=ttyCPM0,9600n8
> loglevel=7" you haven't
> specified where root is. Add root=/dev/ram to the kern
> Hi Mikhail,
> Try setting CONFIG_EXT2_FS=y, then recompile your kernel and reboot.
Hi Frank, just tried that but still getting the same "Unpacking
initramfs... failed!" output
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.oz
options
#
# CONFIG_KEYS is not set
# CONFIG_SECURITY is not set
# CONFIG_SECURITYFS is not set
# CONFIG_SECURITY_FILE_CAPABILITIES is not set
# CONFIG_CRYPTO is not set
CONFIG_PPC_CLOCK=y
CONFIG_PPC_LIB_RHEAP=y
# CONFIG_VIRTUALIZATION is not set
>> As for my device tree, I reverted back to the original version with
>> nothing filled in and just replaced 0xfa20 with 0xf000 as Gary
>> suggested earlier.
>
>Would it be a problem to also dynamically fixup IMMR in the device tree
>from U-Boot?
>
>Cheers
> Detlev
Hi Detlev, it would be
> Check the clock-frequency of the CPM BRG node. If u-boot isn't setting the
> memory, it's probably not setting this either.
I set the CPM BRG "clock-frequency = <153609>" (value obtained from
u-boot's 'brginfo' command), set my CPU "clock-frequency =
<1>" (down from 13000) to match
> I'll still try to figure out how to get u-boot to fill all this in.
Got it... thanks to
"http://www.mail-archive.com/u-boot-us...@lists.sourceforge.net/msg05111.html";
I made sure that CONFIG_OF_LIBFDT and CONFIG_OF_BOARD_SETUP were both
present in "u-boot-2009.03/include/configs/EP88x.h". Then
> Change "root=" to "console=".
Thank you for clarifying.
I tried this but I get the following in my memory dump:
<6>Using Embedded Planet EP88xC ??achine description?
<5>Linux ver??ion 2.6.30-rc2-01402-gd4e2f68-d??rty
(dev...@localhost.localdoma??n) (gcc version 4.2.2) #1 Mon J??n 29
11:35:28 CD
Hi Scott,
> s/root=/console=/
I'm not quite sure what you mean by this.
> Alternatively, you can set /chosen/linux,stdout-path to poin to the serial
> node you want to use for the console.
If you look at the bottom of ep88xc.dts that I attached with my
previous post, I added the following:
chosen
Hi Gary
> Did you try 'root=ttyCPM0,9600'?
Gave that a shot just now, doesn't seem to have changed anything other
than that it now says "VFS: Cannot open root device ttyCMP0,9600" or
unknown-block(2,0)." But thanks for the suggestion though.
What exactly was this supposed to do? I thought that t
ng: VFS: Unable to mount root fs on
unknown-block(2'0)?
<4>Call Trace:?
<4>??c381fed0] [c00069e0] show_stack+0x44/0x16c (unreliable)?
<4>[c381ff10] [c001bc6c?? panic+0x8c/0x168?
<4>[c381ff60] [c01ecb80] mount_block_root+0x12c/0x244?
<4>[c38??ffb0] [c01ecdf4] prepare_namespace+0x4c/0x1c4?
<4>[c381ffd0] [c01ec1b0] kernel_i??it+0xd0/0xfc?
<4>[c381fff0] [c000da60] kernel_thread+0x4c/0x68?
<0>Rebooting in 1??0 seconds..?
At this point, my primary goal is to get console output working before
I do anything else. I've tried different "console=x" boot arguments
and I've added the "chosen" section to my DTS, but still no output.
Anyone have suggestions about this? Is something else messed up in my
DTS?
Thanks,
Mikhail Zaturenskiy
ep88xc.dts
Description: Binary data
EP88x.h
Description: Binary data
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev
;s possible. It'd certainly
answer a lot of questions...
Thanks,
Mikhail Zaturenskiy
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev
0] [c001bcb4]
panic+0x8c/0x1 [c01fac70] lmb_alloc+0x0/0xc.
<4>[c0221f70] [c01_page+0x60/0x74.
<4>[c0221f80] [c01a4484] pte_alloc_one_kernel+0x
I'm not quite sure where to go from here to get linux working. Anybody
have any suggestions?
Thank you,
Mikhail Zaturenskiy
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev
22 matches
Mail list logo