2009-08-25 03:17:12     SDRAM mem customization in uClinux-dist-2009R1-RC1.tar.bz2

Document created by Aaronwu Employee on Aug 18, 2013
Version 1Show Document
  • View in full screen mode

2009-08-25 03:17:12     SDRAM mem customization in uClinux-dist-2009R1-RC1.tar.bz2

Hari Prasad (INDIA)

Message: 79166   

 

Hi,

 

In 2007R1 kernel, we have the following option to define the SDRAM memory size:

 

Symbol: MEM_SIZE [=64]

 

  x Prompt: SDRAM Memory Size in MBytes

 

  x   Defined at arch/blackfin/Kconfig:271

 

  x   Location:

 

  x     -> Blackfin Processor Options

 

  x       -> Board customizations  

 

In 2009R1-RC1, how can we customize the RAM memory size similarly?

 

Kindly clarify.

QuoteReplyEditDelete

 

 

2009-08-25 03:21:01     Re: SDRAM mem customization in uClinux-dist-2009R1-RC1.tar.bz2

Mike Frysinger (UNITED STATES)

Message: 79167   

 

there is no need to as the kernel handles it dynamically

QuoteReplyEditDelete

 

 

2009-08-25 09:13:07     Re: SDRAM mem customization in uClinux-dist-2009R1-RC1.tar.bz2

Hari Prasad (INDIA)

Message: 79187   

 

Hi Mike,

 

We are currently working on a h/w that has 128MB RAM but in future this will become 64MB. So we want to expose only 64MB to the kernel now itself to avoid surprises in future. We also tried out the following command given in the link "https://docs.blackfin.uclinux.org/doku.php?id=linux-kernel:memory_allocation&s[]=memory&s[]=management#silly_nommu_memory_tricks"

 

bfin> set bootargs root=/dev/mtdblock0 rw mem=64M max_mem=128M$#

However, even after executing the above command, the kernel bootup showed the following:

Board Memory: 128MB

Kernel Managed Memory: 128MB

 

Kindly clarify the following:

1. Are we missing anything for the 'set bootargs....' not to work?

2. What are the methods available to expose only 64MB to kernel?

QuoteReplyEditDelete

 

 

2009-08-25 10:08:03     Re: SDRAM mem customization in uClinux-dist-2009R1-RC1.tar.bz2

Karthikeyan Jeevanandam (INDIA)

Message: 79193   

 

Hi Mike,

 

To add to the above query, we also tried changing the kernel boot address. When tried to set the kernel boot address as 64MB we got the below compilation error

 

"The kernel load address is too high; keep it below 10meg for safety"

Since we had enough memory we commented out the #error line in the file "linux-2.6.x/arch/blackfin/mach-common/arch_checks.c"

 

On further compilation after a make clean we got the below errors

 

init/built-in.o: In function `run_init_process':

init/main.c:(.text+0x17a): relocation truncated to fit: R_pcrel24_jump_l against symbol `kernel_execve' defined in .l1.text section in arch/blackfin/mach-common/built-in.o

init/built-in.o: In function `rd_load_image':

(.init.text+0x25d4): relocation truncated to fit: R_pcrel24 against symbol `__udivsi3' defined in .l1.text section in arch/blackfin/lib/lib.a(udivsi3.o)

init/built-in.o: In function `rd_load_image':

(.init.text+0x2606): relocation truncated to fit: R_pcrel24 against symbol `__umodsi3' defined in .l1.text section in arch/blackfin/lib/lib.a(umodsi3.o)

init/built-in.o: In function `do_linuxrc':

init/do_mounts_initrd.c:(.init.text+0x3188): relocation truncated to fit: R_pcrel24_jump_l against symbol `kernel_execve' defined in .l1.text section in arch/blackfin/mach-common/built-in.o

init/built-in.o: In function `rest_init':

init/main.c:(.ref.text+0x56): relocation truncated to fit: R_pcrel24_jump_l against symbol `cpu_idle' defined in .l1.text section in arch/blackfin/kernel/built-in.o

arch/blackfin/kernel/built-in.o: In function `get_cclk':

(.text+0x976): relocation truncated to fit: R_pcrel24 against symbol `__udivsi3' defined in .l1.text section in arch/blackfin/lib/lib.a(udivsi3.o)

arch/blackfin/kernel/built-in.o: In function `get_sclk':

(.text+0x9fc): relocation truncated to fit: R_pcrel24 against symbol `__udivsi3' defined in .l1.text section in arch/blackfin/lib/lib.a(udivsi3.o)

arch/blackfin/kernel/built-in.o: In function `usecs_to_sclk':

(.text+0xa3c): relocation truncated to fit: R_pcrel24 against symbol `__muldi3' defined in .l1.text section in arch/blackfin/lib/lib.a(muldi3.o)

arch/blackfin/kernel/built-in.o: In function `sclk_to_usecs':

(.text+0xab4): relocation truncated to fit: R_pcrel24 against symbol `__muldi3' defined in .l1.text section in arch/blackfin/lib/lib.a(muldi3.o)

arch/blackfin/kernel/built-in.o: In function `sclk_to_usecs':

(.text+0xada): relocation truncated to fit: R_pcrel24 against symbol `__udivsi3' defined in .l1.text section in arch/blackfin/lib/lib.a(udivsi3.o)

arch/blackfin/kernel/built-in.o: In function `machine_restart':

(.text+0x22fe): additional relocation overflows omitted from the output

make[1]: *** [.tmp_vmlinux1] Error 1

make[1]: Leaving directory `/hd2/home/hp/uClinux-dist-2009R1-RC1-Mci900-Ver1_1_optimize/linux-2.6.x'

make: *** [linux] Error 1

 

Your input on this would be helpful for us to proceed further

QuoteReplyEditDelete

 

 

2009-08-25 10:37:13     Re: SDRAM mem customization in uClinux-dist-2009R1-RC1.tar.bz2

Mike Frysinger (UNITED STATES)

Message: 79200   

 

uhh, if you comment out #error's, then this is your problem

QuoteReplyEditDelete

 

 

2009-08-25 11:13:19     Re: SDRAM mem customization in uClinux-dist-2009R1-RC1.tar.bz2

Karthikeyan Jeevanandam (INDIA)

Message: 79204   

 

Ok Mike,

 

Could you please comment on customising the SDRAM memory using  "set bootargs "

 

Regards,

 

Karthik

QuoteReplyEditDelete

 

 

2009-08-25 11:27:26     Re: SDRAM mem customization in uClinux-dist-2009R1-RC1.tar.bz2

Mike Frysinger (UNITED STATES)

Message: 79207   

 

are you sure you set the args correctly ?  seems to work fine for me.

 

root:/> cat /proc/cmdline

root=/dev/mtdblock0 rw clkin_hz=25000000 earlyprintk=serial,uart0,57600 console=ttyBF0,57600 max_mem=50M mem=40M ip=192.168.0.15:192.168.0.2:192.168.0.1:255.255.255.0:bf537-stamp:eth0:off

 

root:/> tail -n3 /proc/cpuinfo

board memory    : 51200 kB (0x(null) -> 0x03200000)

kernel memory   : 39928 kB (0x00001000 -> 0x026ff000)

QuoteReplyEditDelete

 

 

2009-08-26 02:30:46     Re: SDRAM mem customization in uClinux-dist-2009R1-RC1.tar.bz2

Karthikeyan Jeevanandam (INDIA)

Message: 79220   

 

Hi Mike,

 

We got the below responses

 

root:/> cat /proc/cmdline

console=ttyBF1,57600

root:/> tail -n3 /proc/cpuinfo

board memory    : 131072 kB (0x00000000 -> 0x08000000)

kernel memory   : 128508 kB (0x00180000 -> 0x07eff000)

 

 

 

 

 

Please find the uboot and kernel initial boot logs

 

 

 

bfin> set bootargs root=/dev/mtdblock0 rw mem=64M max_mem=128M$# clkin_hz=24000000 earlyprintk=serial,uart1,57600

bfin> print

bootcmd=run ramboot

bootdelay=5

baudrate=57600

loads_echo=1

ipaddr=192.168.0.15

serverip=192.168.0.2

autoload=no

rootpath=/romfs

gatewayip=192.168.0.1

netmask=255.255.255.0

hostname=bf527-ezkit

loadaddr=0x1000000

ubootfile=u-boot.ldr

update=tftp $(loadaddr) $(ubootfile);protect off 0x20000000 0x2003FFFF;erase 0x20000000 0x2003FFFF;cp.b $(loadaddr) 0x20000000 $(filesize)

addip=set bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):eth0:off

ramargs=set bootargs root=/dev/mtdblock0 rw clkin_hz=24000000 earlyprintk=serial,uart1,57600 console=ttyBF0,57600

ramboot=tftp $(loadaddr) uImage;run ramargs;run addip;bootm

nfsargs=set bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath),tcp,nfsvers=3

nfsboot=tftp $(loadaddr) vmImage;run nfsargs;run addip;bootm

flashboot=bootm 0x20100000

stdin=serial

stdout=serial

stderr=serial

ethact=Blackfin EMAC

ethaddr=C2:DD:D9:E2:FE:EA

bootargs=root=/dev/mtdblock0 rw mem=64M max_mem=128M$# clkin_hz=24000000 earlyprintk=serial,uart1,57600

 

Environment size: 1012/8188 bytes

bfin> set serverip 192.168.0.2;set ipaddr 192.168.0.3;tftp 0x1200000 uImage_Auto_samba;bootm

Using Blackfin EMAC device

TFTP from server 192.168.0.2; our IP address is 192.168.0.3

Filename 'uImage_Auto_samba'.

Load address: 0x1200000

Loading: #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         ##########################

done

Bytes transferred = 7055228 (6ba77c hex)

*  kernel: default image load address = 0x01200000

Img_addr = 1200000

## Booting kernel from Legacy Image at 01200000 ...

   Image Name:   Linux-2.6.28.10-ADI-2009R1

   Created:      2009-08-25   9:02:49 UTC

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    7055164 Bytes =  6.7 MB

   Load Address: 00180000

   Entry Point:  003db644

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 003db644

Linux version 2.6.28.10-ADI-2009R1 (hp@host_120) (gcc version 4.1.2 (ADI svn)) #357 Tue Aug 25 14:32:31 IST 2009

Board Memory: 128MB

Kernel Managed Memory: 128MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00180000-0x002d1720

  rodata    = 0x002d1720-0x00341c80

  bss       = 0x00342000-0x003b6448

  data      = 0x003b6448-0x003ce000

    stack   = 0x003cc000-0x003ce000

  init      = 0x003ce000-0x00f79000

  available = 0x00f79000-0x07eff000

  DMA Zone  = 0x07f00000-0x08000000

Hardware Trace Active and Enabled

Boot Mode: 1

Reset caused by Software reset

Blackfin support (C) 2004-2009 Analog Devices, Inc.

Compiled for ADSP-BF527 Rev 0.2

Blackfin Linux support by   blackfin.uclinux.org/

Processor Speed: 600 MHz core clock and 120 MHz System Clock

NOMPU: setting up cplb tables

Instruction Cache Enabled for CPU0

Data Cache Enabled for CPU0 (write-back)

Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 32257

Kernel command line: console=ttyBF1,57600

Configuring Blackfin Priority Driven Interrupts

PID hash table entries: 512 (order: 9, 2048 bytes)

Console: colour dummy device 80x25

console [ttyBF1] enabled

Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)

Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)

Memory available: 113068k/131072k RAM, (11948k init code, 1349k kernel code, 1011k data, 1024k dma, 2668k reserved)

Calibrating delay loop... 1191.93 BogoMIPS (lpj=595968)

Security Framework initialized

Mount-cache hash table entries: 512

Blackfin Scratchpad data SRAM: 4 KB

Blackfin L1 Data A SRAM: 16 KB (6 KB free)

Blackfin L1 Data B SRAM: 16 KB (16 KB free)

Blackfin L1 Instruction SRAM: 48 KB (38 KB free)

net_namespace: 288 bytes

NET: Registered protocol family 16

Blackfin DMA Controller

ezkit_init(): registering device resources

SCSI subsystem initialized

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

NET: Registered protocol family 2

IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

TCP established hash table entries: 4096 (order: 3, 32768 bytes)

TCP bind hash table entries: 4096 (order: 2, 16384 bytes)

TCP: Hash tables configured (established 4096 bind 4096)

TCP reno registered

NET: Registered protocol family 1

msgmni has been set to 220

io scheduler noop registered

io scheduler anticipatory registered (default)

io scheduler cfq registered

 

#IR Driver sarav ****** #

 

#IR Driver dynamic RetVal = 0

Single Core  Loader Module enabled

 

adau1361 register major 246

CHIMEI LCD Driver Initialised

/* Flash Driver */

--------------------

Numonyx Flash device

Bottom Boot M58LT128HS Flash device

Flash Size : 16MB

bfin-otp: initialized

Serial: Blackfin serial driver

bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq = 29) is a BFIN-UART

bfin-uart.1: ttyBF1 at MMIO 0xffc02000 (irq = 31) is a BFIN-UART

brd: module loaded

bfin_mii_bus: probed

bfin_mac: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, irq=-1, mdc_clk=2500000Hz(mdc_div=23)@sclk=120MHz)

bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1

Driver 'sd' needs updating - please use bus_type methods

r8a66597_hcd: driver r8a66597_hcd, 10 Apr 2008

r8a66597_hcd r8a66597_hcd: USB Host Controller

r8a66597_hcd r8a66597_hcd: new USB bus registered, assigned bus number 1

r8a66597_hcd r8a66597_hcd: irq 99, io base 0x20100000

usb usb1: configuration #1 chosen from 1 choice

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 2 ports detected

usb usb1: New USB device found, idVendor=1d6b, idProduct=0002

usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1

usb usb1: Product: USB Host Controller

usb usb1: Manufacturer: Linux 2.6.28.10-ADI-2009R1 r8a66597_hcd

usb usb1: SerialNumber: r8a66597_hcd

Initializing USB Mass Storage driver...

usbcore: registered new interface driver usb-storage

USB Mass Storage support registered.

usbcore: registered new interface driver libusual

i2c /dev entries driver

i2c-bfin-twi i2c-bfin-twi.0: Blackfin BF5xx on-chip I2C TWI Contoller, regs_base@ffc01400

bfin-wdt: initialized: timeout=20 sec (nowayout=0)

TCP cubic registered

NET: Registered protocol family 17

drivers/rtc/hctosys.c: unable to open rtc device (rtc0)

Freeing unused kernel memory: 11948k freed

dma_alloc_init: dma_page @ 0x00f76000 - 256 pages at 0x07f00000

usb 1-1: new high speed USB device using r8a66597_hcd and address 2

usb 1-1: configuration #1 chosen from 1 choice

scsi0 : SCSI emulation for USB Mass Storage devices

usb 1-1: New USB device found, idVendor=054c, idProduct=0243

usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3

usb 1-1: Product: Storage Media

usb 1-1: Manufacturer: Sony

usb 1-1: SerialNumber: 2A0902180018234

usb 1-2: new high speed USB device using r8a66597_hcd and address 3

usb 1-2: configuration #1 chosen from 1 choice

usb 1-2: New USB device found, idVendor=148f, idProduct=2770

usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3

usb 1-2: Product: 802.11 n WLAN

usb 1-2: Manufacturer: Ralink

usb 1-2: SerialNumber: 1.0

                           _____________________________________

        a8888b.           / Welcome to the uClinux distribution \

       d888888b.         /       _     _                         \

       8P"YP"Y88        /       | |   |_|            __  __ (TM)  |

       8|o||o|88  _____/        | |    _ ____  _   _ \ \/ /       |

       8'    .88       \        | |   | |  _ \| | | | \  /        |

       8`._.' Y8.       \       | |__ | | | | | |_| | /  \        |

      d/      `8b.       \      \____||_|_| |_|\____|/_/\_\       |

     dP   .    Y8b.       \   For embedded processors including   |

o   d8:'r "tu`:sb8b i  ni  t   --he->na

  Devices Blackfin      /

   d8"

'

=8b==   p  Ad__ =__ 0__09__00__00__0,__ s__iz__e

a=                                                 = 8P46  14  00 : =8

 

.a._tuYas=: 0MP  Al  lor cArtdar ptfoeratBln,ochek, o S:

  88P|            -   blackfin.uclinux.org/

\    YP"    `| 8P  `.          -   docs.blackfin.uulisbx.cog/re /:   re._gi.dst  er' ed   n  ew-  itpnt/wer.ufaince.o d

/i`-ve._r 88rtP`28.'70jg

:f    -   www.analog.com/blackfin

 

Have a lot of fun...

 

 

BusyBox v1.13.4 (2009-08-25 12:58:45 IST) built-in shell (msh)

Enter 'help' for a list of built-in commands.

 

root:/> usb 1-1: address 2, EndpointAddress 0x02 use DMA FIFO

usb 1-1: address 2, EndpointAddress 0x81 use DMA FIFO

scsi 0:0:0:0: Direct-Access     Sony     Storage Media    1.00 PQ: 0 ANSI: 2

sd 0:0:0:0: [sda] 3917824 512-byte hardware sectors: (2.00 GB/1.86 GiB)

sd 0:0:0:0: [sda] Write Protect is off

sd 0:0:0:0: [sda] Assuming drive cache: write through

sd 0:0:0:0: [sda] 3917824 512-byte hardware sectors: (2.00 GB/1.86 GiB)

sd 0:0:0:0: [sda] Write Protect is off

sd 0:0:0:0: [sda] Assuming drive cache: write through

sda: sda1

sd 0:0:0:0: [sda] Attached SCSI removable disk

 

root:/> cat /proc/cmdline

console=ttyBF1,57600

root:/> tail -n3 /proc/cpuinfo

board memory    : 131072 kB (0x00000000 -> 0x08000000)

kernel memory   : 128508 kB (0x00180000 -> 0x07eff000)

 

Please let us know your inputs, where are we actually missing SDRAM memory configuration

 

Regards

 

Karthik

QuoteReplyEditDelete

 

 

2009-08-26 10:50:28     Re: SDRAM mem customization in uClinux-dist-2009R1-RC1.tar.bz2

Robin Getz (UNITED STATES)

Message: 79236   

 

Karthikeyan:

 

The archchecks are not there for fun - they are they so you don't run into problems.

 

If you go changing random things in the kernel that you don't understand - your system will not work properly. That is what you are experiencing. Revert all your changes, and things will start working for you.

 

-robin

QuoteReplyEditDelete

 

 

2009-08-26 15:57:08     Re: SDRAM mem customization in uClinux-dist-2009R1-RC1.tar.bz2

Mike Frysinger (UNITED STATES)

Message: 79240   

 

the fact that your /proc/cmdline doesnt reflect your bootargs makes the answer obvious.  either you are doing something in u-boot to reset bootargs or you hardcoded the command line in your kernel config.

QuoteReplyEditDelete

 

 

2009-08-27 00:41:55     Re: SDRAM mem customization in uClinux-dist-2009R1-RC1.tar.bz2

Karthikeyan Jeevanandam (INDIA)

Message: 79266   

 

Hi Mike,

 

Thanks. We will look into uBoot and update.

 

Regards

 

Karthik

QuoteReplyEditDelete

 

 

2009-08-30 05:24:26     Re: SDRAM mem customization in uClinux-dist-2009R1-RC1.tar.bz2

Nikolay Chokoev (IRELAND)

Message: 79385   

 

instead of:

 

bfin> set bootargs root=/dev/mtdblock0 rw mem=64M max_mem=128M$# clkin_hz=24000000 earlyprintk=serial,uart1,57600

 

try

 

bfin> set bootargs 'root=/dev/mtdblock0 rw mem=64M max_mem=128M$# clkin_hz=24000000 earlyprintk=serial,uart1,57600'

QuoteReplyEditDelete

 

 

2009-08-31 06:02:17     Re: SDRAM mem customization in uClinux-dist-2009R1-RC1.tar.bz2

Rekha B (INDIA)

Message: 79391   

 

Hi Nikolay,

 

As prefered We tried

 

bfin> set bootargs 'root=/dev/mtdblock0 rw mem=64M max_mem=128M$# clkin_hz=24000000 earlyprintk=serial,uart1,57600'

 

But still we are getting the same CPU info ,

 

root:/> cat  /proc/cmdline

console=ttyBF1,57600

root:/> tail -n3 /proc/cpuinfo

board memory : 131072 kB (0x00000000 -> 0x08000000)

kernel memory : 128508 kB (0x00180000 -> 0x07eff000)

 

Thanks.

QuoteReplyEditDelete

 

 

2009-08-31 06:15:28     Re: SDRAM mem customization in uClinux-dist-2009R1-RC1.tar.bz2

Rekha B (INDIA)

Message: 79392   

 

Hi,

 

To add with , we tried customizing command line arguments though makemenu config changes as below,

 

Blackfin Processor Options  --->

 

Board customizations  --->

 

                         [*] Default bootloader kernel arguments                                                    

                         (console=ttyBF1,57600,mem=32M) Initial kernel command string

 

Now we got the new parameter displayed as cmdline string, but there is no impact on the SDRAM size,

 

We got the below responses,

 

root:/> cat /proc/cmdline

console=ttyBF1,57600,mem=32M

[root:/> tain l -n3 c /proc/cpuinfo

board memory : 131072 kB (0x00000000 -> 0x08000000)

kernel memory : 128508 kB (0x00180000 -> 0x07eff000)

 

 

Kindly clarify the following:

 

1. Will there be a impact on Meminfo on changing the command line strings

 

2. If so ,are we missing anything else.?

 

Thanks,

 

Rekha.B

QuoteReplyEditDelete

 

 

2009-08-31 06:21:18     Re: SDRAM mem customization in uClinux-dist-2009R1-RC1.tar.bz2

Rekha B (INDIA)

Message: 79393   

 

Hi,

 

To add with , we tried customizing command line arguments though makemenu config changes as below,

 

Blackfin Processor Options  --->

 

Board customizations  --->

 

                         [*] Default bootloader kernel arguments                                                    

                         (console=ttyBF1,57600,mem=32M) Initial kernel command string

 

Now we got the new parameter displayed as cmdline string, but there is no impact on the SDRAM size,

 

We got the below responses,

 

root:/> cat /proc/cmdline

console=ttyBF1,57600,mem=32M

[root:/> tain l -n3 c /proc/cpuinfo

board memory : 131072 kB (0x00000000 -> 0x08000000)

kernel memory : 128508 kB (0x00180000 -> 0x07eff000)

 

 

Kindly clarify the following:

 

1. Will there be a impact on Meminfo on changing the command line strings

 

2. If so ,are we missing anything else.

 

Thanks,

 

Rekha.B

 

---

QuoteReplyEditDelete

 

 

2009-08-31 06:55:41     Re: SDRAM mem customization in uClinux-dist-2009R1-RC1.tar.bz2

Rekha B (INDIA)

Message: 79395   

 

For SDRAM Size reduction from 128MB,

 

We have also tried modifying SDRAM Bank Control Register with External bank size (EBSZ) bits set to 001 by changing the value of  EBIU_SDBCTL Macro  in linux-2.6.x/arch/blackfin/mach-bf527/include/mach/defBF52x_base.h

 

#define EBIU_SDBCTL                 0xFFC00A12      /* SDRAM Bank Control Register*/

 

Initially it was configured as below,

 

#define EBIU_SDBCTL                 0xFFC00A14   /*original Value*/

 

But with the above change , Kernel is not booting up .

 

Below were its boot up logs,

 

U-Boot 2008.10 (ADI-2009R1-rc2) (Jul 16 2009 - 14:56:43)

 

CPU:   ADSP bf527-0.2 (Detected Rev: 0.2) (parallel flash boot)

Board: ADI BF533 NP Streamium board

       Support: www.philips.com

Clock: VCO: 600 MHz, Core: 600 MHz, System: 120 MHz

RAM:   128 MB

Flash: vendor

16 MB

In:    serial

Out:   serial

Err:   serial

Net:   Warning: Generating 'random' MAC address

Blackfin EMAC

MAC:   C2:DD:D9:E2:FE:EA

Hit any key to stop autoboot:  0

bfin>

bfin>

bfin>

bfin>

bfin>

bfin> set serverip 192.168.1.2;set ipaddr 192.168.1.3;tftp 0x1200000 uImage.initramfs;bootm

Using Blackfin EMAC device

TFTP from server 192.168.1.2; our IP address is 192.168.1.3

Filename 'uImage.initramfs'.

Load address: 0x1200000

Loading: #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         ################################################################

done

Bytes transferred = 5702990 (57054e hex)

*  kernel: default image load address = 0x01200000

Img_addr = 1200000

## Booting kernel from Legacy Image at 01200000 ...

   Image Name:   Linux-2.6.28.10-ADI-2009R1

   Created:      2009-08-31   7:13:47 UTC

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    5702926 Bytes =  5.4 MB

   Load Address: 00180000

   Entry Point:  003d7644

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 003d7644

 

Your input on this would be helpful for us to proceed further.

QuoteReplyEditDelete

 

 

2009-08-31 13:53:04     Re: SDRAM mem customization in uClinux-dist-2009R1-RC1.tar.bz2

Mike Frysinger (UNITED STATES)

Message: 79415   

 

either you use the kernel config option or you do it dynamically.  your choice, but they end up with exactly the same result.

QuoteReplyEditDelete

 

 

2009-08-31 13:56:19     Re: SDRAM mem customization in uClinux-dist-2009R1-RC1.tar.bz2

Mike Frysinger (UNITED STATES)

Message: 79416   

 

if you go screwing with the MMRs, then it's your problem to figure out what you did wrong

Attachments

    Outcomes