switching from initrd to initramfs

2009-07-08 Thread Mikhail Zaturenskiy
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

Re: switching from initrd to initramfs

2009-07-08 Thread Mikhail Zaturenskiy
colors and I'm using HyperTerminal which doesn't support them. I hope somebody will find this useful. Mikhail Zaturenskiy ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: RAMDISK on EP88xc

2009-07-06 Thread Mikhail Zaturenskiy
, 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 ___ Linuxppc-dev mailing list

Re: RAMDISK on EP88xc

2009-07-06 Thread Mikhail Zaturenskiy
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_defconfig,

Re: RAMDISK on EP88xc

2009-07-06 Thread Mikhail Zaturenskiy
On Mon, Jul 6, 2009 at 3:18 PM, Scott Woodscottw...@freescale.com 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

Re: RAMDISK on EP88xc

2009-07-02 Thread Mikhail Zaturenskiy
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 menuconfig).

Re: RAMDISK on EP88xc

2009-07-02 Thread Mikhail Zaturenskiy
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

Re: RAMDISK on EP88xc

2009-07-02 Thread Mikhail Zaturenskiy
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-04-02

Re: RAMDISK on EP88xc

2009-07-02 Thread Mikhail Zaturenskiy
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 if

Re: RAMDISK on EP88xc

2009-07-02 Thread 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 when the

Re: Trouble Transferring control to Linux (at address 00000000)

2009-07-01 Thread Mikhail Zaturenskiy
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 nice but

Re: RAMDISK on EP88xc

2009-07-01 Thread Mikhail Zaturenskiy
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

Re: Trouble Transferring control to Linux (at address 00000000)

2009-06-30 Thread Mikhail Zaturenskiy
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

Re: Trouble Transferring control to Linux (at address 00000000)

2009-06-30 Thread Mikhail Zaturenskiy
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 what

Re: Trouble Transferring control to Linux (at address 00000000)

2009-06-29 Thread Mikhail Zaturenskiy
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

Re: Trouble Transferring control to Linux (at address 00000000)

2009-06-29 Thread Mikhail Zaturenskiy
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 the

Re: Trouble Transferring control to Linux (at address 00000000)

2009-06-29 Thread Mikhail Zaturenskiy
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 {

Re: Trouble Transferring control to Linux (at address 00000000)

2009-06-29 Thread Mikhail Zaturenskiy
Change root= to console=. Thank you for clarifying. I tried this but I get the following in my memory dump: 6Using Embedded Planet EP88xC ??achine description? 5Linux 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 CDT 2009?

Trouble Transferring control to Linux (at address 00000000)

2009-06-26 Thread Mikhail Zaturenskiy
] 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

Re: Trouble Transferring control to Linux (at address 00000000)

2009-06-26 Thread Mikhail Zaturenskiy
occurred to me, thank you for pointing it out. Also, make sure u-boot is properly updating the memory size in the device tree.  Can you dump the post-fixup device tree in u-boot? Not sure, but I'll try to find out if that's possible. It'd certainly answer a lot of questions... Thanks, Mikhail