Thank you.

I tried to make a flash image with linux-2.3.48.tar.gz and  patch-2.3.48-rmk2.gz.
The new kernel's data size is 0 like this...
[root@strongARM compressed]# arm-linux-size vmlinux
   text    data     bss     dec     hex filename
 404632       0   33848  438480   6b0d0 vmlinux

But the new kernel hangs on at same position, the first line of misc.c.
It's at 'output_data = (uch *)output_start;'.

--misc.c----------------------------------------------------------------------------------
decompress_kernel(ulg output_start, ulg free_mem_ptr_p, ulg free_mem_ptr_end_p,
                  int arch_id)
{
        output_data             = (uch *)output_start;  /* Points to kernel start */ 
----> hangs on here !!!
        free_mem_ptr            = free_mem_ptr_p;
        free_mem_ptr_end        = free_mem_ptr_end_p;
        __machine_arch_type     = arch_id;
         proc_decomp_setup();
        arch_decomp_setup();
         makecrc();
        puts("Uncompressing Linux...");
        gunzip();
        puts(" done, booting the kernel.\n");
        return output_ptr;
-----------------------------------------------------------------------------------

I have made a kernel under sequence 
1) make footbridgr_config
2) make xconfig
3) make clean; make dep; make zImage

I modified linux/arch/arm/boot/compressed/Makefile
--Makefile---------------------------------------------------------------------
ifeq ($(CONFIG_FOOTBRIDGE),y)
ZTEXTADDR        = 0x41008000
ZRELADDR         = 0x8000
endif
------------------------------------------------------------------------------

and I modified linux/arch/arm/boot/compressed/vmlinux.lds
--vmlinux.lds-----------------------------------------------------------------
OUTPUT_ARCH(arm)
ENTRY(_start)
SECTIONS
{
  . = 0x8000;
  _load_addr = .;

  . = 0x41008000;
  _text = .;
--------------------------------------------------------------------------------


---------> ���� ���� ���� <----------
>From : Nicolas Pitre <[EMAIL PROTECTED]>

>>
>>On Fri, 17 Mar 2000, �麴�� wrote:
>>
>>> Hello all...
>>> 
>>> I installed linux-2.2.12.tar.gz and patch-2.2.12-rmk1.gz.
>>> I'm trying to boot kernel from flash(512k).
>>> I made a flash image with bios and zImage.(bios base : 41000080, zImage base : 
>41008000)
>>
>>
>>Be sure you replaced linux/lib/inflate.c with the one available in
>>a recent linux-2.3.x kernel source tree.
>>
>>
>>
>>Nicolas
>>
>>
<hr>


==================================================
[EMAIL PROTECTED] �麴��
==================================================
No. 1 �츮 ���ͳ�, ����
��� ���� ���� E-mail �ּ� �Ѹ��ϳ�
������ �ѱ� �˻����� Daum FIREBALL
http://www.daum.net

unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]
++        Please use [EMAIL PROTECTED] for           ++
++                        kernel-related discussions.                      ++

Reply via email to