RE: Changing Machine ID
Hi Now, I could boot the kernel(linux-davinci-2.6-historic)and I am using nfs filesystem but while booting it get struct at Freeing init memory: 128K not going further.. The printenv (Board boot arguments) output are Environment size: 541/65532 bytes DaVinci EVM # printe bootdelay=3 baudrate=115200 bootfile=uImage rootpath=/root/workdir/filesys subnet=255.255.255.0 filesize=1576a8 fileaddr=8070 nfshost=10.60.3.55 gatewayip=10.60.3.1 bootcmd=run setboot;tftpboot 0x8600 uImage;bootm 0x8600 serverip=10.60.5.129 ipaddr=10.60.5.110 bootargs=console=ttyS0,115200n8 noinitrd rw ip=10.60.5.110:10.60.5.117:10.60.5.1:255.255.255.0:ELXI1000::off root=/dev/nfs nfsroot=10.60.5.117:/home/manju/wo rkdir/filesys,nolock mem=120M stdin=serial stdout=serial stderr=serial ethaddr=00:0e:99:02:57:9c videostd=ntsc Environment size: 541/65532 bytes I have attached the complete boot log for reference. Kindly suggest what could be causing this problem.. Thanks Manjunath.AM -Original Message- From: Steve Chen [mailto:sc...@mvista.com] Sent: Monday, April 27, 2009 4:29 PM To: manjunat...@tataelxsi.co.in Cc: davinci-linux-open-source@linux.davincidsp.com Subject: Re: Changing Machine ID On Mon, 2009-04-27 at 11:06 +0530, Manjunatha AM wrote: Hi I downloaded latest OS (linux-davinci-2.6-historic )from source.mvsta.com On a separate note, you probably don't want to use linux-davinci-2.6 since it is obsolete. Instead take a look at the git repository from kernel.org at http://git.kernel.org/?p=linux/kernel/git/khilman/linux-davinci.git;a=summar y Regards, Steve The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it. U-Boot 1.1.3 (Mar 15 2006 - 11:42:19) U-Boot code: 8108 - 81097320 BSS: - 810A0230 RAM Configuration: Bank #0: 8000 256 MB MY AMD Flash: 16 MB In:serial Out: serial Err: serial ARM Clock :- 283MZ DDR Clock :- 189MZ Hit any key to stop autoboot: 0 ## Error: setboot not defined TFTP from server 10.60.5.129; our IP address is 10.60.5.110 Filename 'uImage'. Load address: 0x8600 Loading: # # # # ### done Bytes transferred = 1465040 (165ad0 hex) ## Booting image at 8600 ... Image Name: Linux-2.6.28-davinci1 Image Type: ARM Linux Kernel Image (uncompressed) Data Size:1464976 Bytes = 1.4 MB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK OK Starting kernel ... Uncompressing Linux done, booting the kernel. 5Linux version 2.6.28-davinci1 (r...@localhost.localdomain) (gcc version 3.4.3 (MontaVista 3.4.3-25.0.30.0501131 2005-07-23)) #8 PREEMPT Mon Apr 27 08:39:1 6 IST 2009 CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177 CPU: VIVT data cache, VIVT instruction cache Machine: DaVinci DM644x EVM Memory policy: ECC disabled, Data cache writeback 7On node 0 totalpages: 30720 7free_area_init_node: node 0, pgdat c02e7cd0, node_mem_map c0315000 7 DMA zone: 240 pages used for memmap 7 DMA zone: 0 pages reserved 7 DMA zone: 30480 pages, LIFO batch:7 7 Normal zone: 0 pages used for memmap 7 Movable zone: 0 pages used for memmap 6DaVinci DM6446 variant 0x0 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 30480 5Kernel command line: console=ttyS0,115200n8 noinitrd rw ip=10.60.5.110:10.60.5.117:10.60.5.1:255.255.255.0:ELXI1000::off root=/dev/nfs nfsroot=10.60.5.117 :/home/manju/workdir/filesys,nolock mem=120M PID hash table entries: 512 (order: 9, 2048 bytes) Console: colour dummy device 80x30 6Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) 6Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) 6Memory: 120MB = 120MB total 5Memory: 118512KB available (2708K code, 278K data, 128K init) 6Calibrating delay loop... 141.31 BogoMIPS (lpj=706560) Mount-cache hash table entries: 512 6CPU: Testing write buffer coherency: ok 6net_namespace: 684 bytes 6NET: Registered protocol family 16 4WARNING: both IDE and Flash are enabled, but they share AEMIF pins. Disable IDE for NAND/NOR support. 6DaVinci: 71 gpio irqs 6NET: Registered protocol family 2 7Switched to high resolution mode on CPU 0 6IP route cache hash table entries: 1024 (order: 0, 4096 bytes) 6TCP established hash table entries: 4096
RE: Changing Machine ID
On Tue, 2009-04-28 at 15:52 +0530, Manjunatha AM wrote: Hi Now, I could boot the kernel(linux-davinci-2.6-historic)and I am using nfs filesystem but while booting it get struct at Freeing init memory: 128K not going further.. Here is a posting from Yusuf Caglar on this very issue a few days ago. May want to try his suggestion Regards, Steve - forwarded e-mail --- My guess: Kernel is running, but there is something wrong with filesystem /dev nodes. AFAIK, this point is where control passes to init and console is redirected to /dev/console(or /dev/console must be present). This is also the same for your own application. Maybe your file system is not EABI? If I were you, I would try an NFS file system. Regards, Caglar ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: Changing Machine ID
Hi Steve, Thanks for your reply.. I checked in /dev/console and it is present. I am using nfs file system only...facing this problem while mounting nfs filesystem only... With the same setup and bootargs,I could boot the device properly with 2.6.10 kernel image but problem is only with 2.6.28 and hence i cant suspect on filesys.. Is there /sbin/Init is not getting proper support for 2.6.28 kernel since the filesys used is bit old version??? Thanks Manjunath.AM -Original Message- From: Steve Chen [mailto:sc...@mvista.com] Sent: Tuesday, April 28, 2009 5:07 PM To: manjunat...@tataelxsi.co.in Cc: davinci-linux-open-source@linux.davincidsp.com Subject: RE: Changing Machine ID On Tue, 2009-04-28 at 15:52 +0530, Manjunatha AM wrote: Hi Now, I could boot the kernel(linux-davinci-2.6-historic)and I am using nfs filesystem but while booting it get struct at Freeing init memory: 128K not going further.. Here is a posting from Yusuf Caglar on this very issue a few days ago. May want to try his suggestion Regards, Steve - forwarded e-mail --- My guess: Kernel is running, but there is something wrong with filesystem /dev nodes. AFAIK, this point is where control passes to init and console is redirected to /dev/console(or /dev/console must be present). This is also the same for your own application. Maybe your file system is not EABI? If I were you, I would try an NFS file system. Regards, Caglar ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: Changing Machine ID
On Tue, 2009-04-28 at 18:10 +0530, Manjunatha AM wrote: Hi Steve, Thanks for your reply.. I checked in /dev/console and it is present. I am using nfs file system only...facing this problem while mounting nfs filesystem only... With the same setup and bootargs,I could boot the device properly with 2.6.10 kernel image but problem is only with 2.6.28 and hence i cant suspect on filesys.. Is there /sbin/Init is not getting proper support for 2.6.28 kernel since the filesys used is bit old version??? One of Caglar's suggestions is disable EABI in the kernel config and re-compile the kernel. It worked for last poster. Perhaps you want to try it as well. Regards, Steve ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: Changing Machine ID
Thanks a lot steve.. after disabling EABI in my kernel config I could able to boot the board.. Thanks a lot again.. Manjunath.AM -Original Message- From: Steve Chen [mailto:sc...@mvista.com] Sent: Tuesday, April 28, 2009 6:23 PM To: manjunat...@tataelxsi.co.in Cc: davinci-linux-open-source@linux.davincidsp.com Subject: RE: Changing Machine ID On Tue, 2009-04-28 at 18:10 +0530, Manjunatha AM wrote: Hi Steve, Thanks for your reply.. I checked in /dev/console and it is present. I am using nfs file system only...facing this problem while mounting nfs filesystem only... With the same setup and bootargs,I could boot the device properly with 2.6.10 kernel image but problem is only with 2.6.28 and hence i cant suspect on filesys.. Is there /sbin/Init is not getting proper support for 2.6.28 kernel since the filesys used is bit old version??? One of Caglar's suggestions is disable EABI in the kernel config and re-compile the kernel. It worked for last poster. Perhaps you want to try it as well. Regards, Steve The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it. ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Re: Changing Machine ID
On Sunday 26 April 2009, Manjunatha AM wrote: Hi I downloaded latest OS (linux-davinci-2.6-historic )from source.mvsta.com and compiled it for Davinci DM6446 EVM with low level debug option selected. You have a pretty old version of U-Boot there ... When I boot the board it gives below error; * Starting kernel ... Uncompressing Linux... . done, booting the kernel. Error: unrecognized/unsupported machine ID (r1 = 0x0356). Available machine support: ID (hex)NAME 0385DaVinci DM644x EVM Please check your kernel config and/or bootloader. ** I dont have latest Bootloader source http://www.denx.de/wiki/U-Boot ... 2009.03 should work. Though if you're using 1.1 silicion, I'd be paranoid and stick with that bootloader. and hence I need to change the kernel source to boot with same machine ID(passed by present bootloader..)which file I need to change?? --- arch/arm/tools/mach-types |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- a/arch/arm/tools/mach-types +++ b/arch/arm/tools/mach-types @@ -862,7 +862,7 @@ magpie MACH_MAGPIE MAGPIE 850 mx21adsMACH_MX21ADSMX21ADS 851 mb87m3400 MACH_MB87M3400 MB87M3400 852 mguard_delta MACH_MGUARD_DELTA MGUARD_DELTA853 -davinci_dvdp MACH_DAVINCI_DVDP DAVINCI_DVDP854 +#davinci_dvdp MACH_DAVINCI_DVDP DAVINCI_DVDP854 htcuniversal MACH_HTCUNIVERSAL HTCUNIVERSAL855 tpad MACH_TPAD TPAD856 roverp3MACH_ROVERP3ROVERP3 857 @@ -908,7 +908,8 @@ nadia2vbMACH_NADIA2VB NADIA2VB 897 r1000 MACH_R1000 R1000 898 hw90250MACH_HW90250HW90250 899 omap_2430sdp MACH_OMAP_2430SDP OMAP_2430SDP900 -davinci_evmMACH_DAVINCI_EVMDAVINCI_EVM 901 +#davinci_evm MACH_DAVINCI_EVMDAVINCI_EVM 901 +davinci_evmMACH_DAVINCI_EVMDAVINCI_EVM 854 omap_tornado MACH_OMAP_TORNADO OMAP_TORNADO902 olocreek MACH_OLOCREEK OLOCREEK903 palmz72MACH_PALMZ72PALMZ72 904 ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Re: Re: Changing Machine ID
Title: Samsung Enterprise Portal mySingle Manjunatha, Both the boot loader and the Kernel should have the same machine ID. Otherwise the kernel won't boot. --Jayakrishnan --- Original Message ---Sender : David Brownelldavi...@pacbell.netDate : Apr 27, 2009 15:10 (GMT+09:00)Title : Re: Changing Machine IDOnSunday26April2009,ManjunathaAMwrote: Hi IdownloadedlatestOS(linux-davinci-2.6-historic)fromsource.mvsta.com andcompileditforDavinciDM6446EVMwithlowleveldebugoptionselected. YouhaveaprettyoldversionofU-Bootthere... WhenIboottheboarditgivesbelowerror; * Startingkernel... Uncompressing Linux... .done,bootingthekernel. Error:unrecognized/unsupportedmachineID(r1=0x0356). Availablemachinesupport: ID(hex)NAME 0385DaVinciDM644xEVM Pleasecheckyourkernelconfigand/orbootloader. ** IdonthavelatestBootloadersource http://www.denx.de/wiki/U-Boot...2009.03shouldwork. Thoughifyoureusing1.1silicion,Idbeparanoid andstickwiththatbootloader. andhenceIneedtochangethekernel sourcetobootwithsamemachineID(passedbypresentbootloader..)which fileIneedtochange?? --- arch/arm/tools/mach-types|5+++-- 1filechanged,3insertions(+),2deletions(-) ---a/arch/arm/tools/mach-types +++b/arch/arm/tools/mach-types @@-862,7+862,7@@magpieMACH_MAGPIEMAGPIE850 mx21adsMACH_MX21ADSMX21ADS851 mb87m3400MACH_MB87M3400MB87M3400852 mguard_deltaMACH_MGUARD_DELTAMGUARD_DELTA853 -davinci_dvdpMACH_DAVINCI_DVDPDAVINCI_DVDP854 +davinci_dvdpMACH_DAVINCI_DVDPDAVINCI_DVDP854 htcuniversalMACH_HTCUNIVERSALHTCUNIVERSAL855 tpadMACH_TPADTPAD856 roverp3MACH_ROVERP3ROVERP3857 @@-908,7+908,8@@nadia2vbMACH_NADIA2VBNADIA2VB897 r1000MACH_R1000R1000898 hw90250MACH_HW90250HW90250899 omap_2430sdpMACH_OMAP_2430SDPOMAP_2430SDP900 -davinci_evmMACH_DAVINCI_EVMDAVINCI_EVM901 +davinci_evmMACH_DAVINCI_EVMDAVINCI_EVM901 +davinci_evmMACH_DAVINCI_EVMDAVINCI_EVM854 omap_tornadoMACH_OMAP_TORNADOOMAP_TORNADO902 olocreekMACH_OLOCREEKOLOCREEK903 palmz72MACH_PALMZ72PALMZ72904 ___ Davinci-linux-open-sourcemailinglist Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Re: Changing Machine ID
On Mon, 2009-04-27 at 05:59 -0500, Steve Chen wrote: On Mon, 2009-04-27 at 11:06 +0530, Manjunatha AM wrote: Hi I downloaded latest OS (linux-davinci-2.6-historic )from source.mvsta.com On a separate note, you probably don't want to use linux-davinci-2.6 I mean linux-davinci-2.6-historic, sorry. since it is obsolete. Instead take a look at the git repository from kernel.org at http://git.kernel.org/?p=linux/kernel/git/khilman/linux-davinci.git;a=summary Regards, Steve ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Re: Changing Machine ID
On Mon, 2009-04-27 at 11:06 +0530, Manjunatha AM wrote: Hi I downloaded latest OS (linux-davinci-2.6-historic )from source.mvsta.com On a separate note, you probably don't want to use linux-davinci-2.6 since it is obsolete. Instead take a look at the git repository from kernel.org at http://git.kernel.org/?p=linux/kernel/git/khilman/linux-davinci.git;a=summary Regards, Steve ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: Changing Machine ID
Hi David, Thanks for your reply, I have changed /arch/arm/tools/mach-types as per suggestion and kernel started booting...I have some problem in mounting filesystem.. Thanks Manjuntah.AM -Original Message- From: David Brownell [mailto:davi...@pacbell.net] Sent: Monday, April 27, 2009 11:41 AM To: davinci-linux-open-source@linux.davincidsp.com; manjunat...@tataelxsi.co.in Subject: Re: Changing Machine ID On Sunday 26 April 2009, Manjunatha AM wrote: Hi I downloaded latest OS (linux-davinci-2.6-historic )from source.mvsta.com and compiled it for Davinci DM6446 EVM with low level debug option selected. You have a pretty old version of U-Boot there ... When I boot the board it gives below error; * Starting kernel ... Uncompressing Linux... . done, booting the kernel. Error: unrecognized/unsupported machine ID (r1 = 0x0356). Available machine support: ID (hex)NAME 0385DaVinci DM644x EVM Please check your kernel config and/or bootloader. ** I dont have latest Bootloader source http://www.denx.de/wiki/U-Boot ... 2009.03 should work. Though if you're using 1.1 silicion, I'd be paranoid and stick with that bootloader. and hence I need to change the kernel source to boot with same machine ID(passed by present bootloader..)which file I need to change?? --- arch/arm/tools/mach-types |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- a/arch/arm/tools/mach-types +++ b/arch/arm/tools/mach-types @@ -862,7 +862,7 @@ magpie MACH_MAGPIE MAGPIE 850 mx21adsMACH_MX21ADSMX21ADS 851 mb87m3400 MACH_MB87M3400 MB87M3400 852 mguard_delta MACH_MGUARD_DELTA MGUARD_DELTA853 -davinci_dvdp MACH_DAVINCI_DVDP DAVINCI_DVDP854 +#davinci_dvdp MACH_DAVINCI_DVDP DAVINCI_DVDP854 htcuniversal MACH_HTCUNIVERSAL HTCUNIVERSAL855 tpad MACH_TPAD TPAD856 roverp3MACH_ROVERP3ROVERP3 857 @@ -908,7 +908,8 @@ nadia2vbMACH_NADIA2VB NADIA2VB 897 r1000 MACH_R1000 R1000 898 hw90250MACH_HW90250HW90250 899 omap_2430sdp MACH_OMAP_2430SDP OMAP_2430SDP900 -davinci_evmMACH_DAVINCI_EVMDAVINCI_EVM 901 +#davinci_evm MACH_DAVINCI_EVMDAVINCI_EVM 901 +davinci_evmMACH_DAVINCI_EVMDAVINCI_EVM 854 omap_tornado MACH_OMAP_TORNADO OMAP_TORNADO902 olocreek MACH_OLOCREEK OLOCREEK903 palmz72MACH_PALMZ72PALMZ72 904 The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it. ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Re: Changing Machine ID
Hi, AFAIK, the appropriate machine ID is selected at the time of compiling the available source code. If you are using the available makefile directly, then I suggest you go for recompilation with the appropriate machine ID option set ( - M i think) and enter your own machine ID. That will probably help. Regards, Sidharth - Original Message - From: Manjunatha AM manjunat...@tataelxsi.co.in To: davinci-linux-open-source@linux.davincidsp.com Sent: Monday, April 27, 2009 11:06 AM Subject: Changing Machine ID Hi I downloaded latest OS (linux-davinci-2.6-historic )from source.mvsta.com and compiled it for Davinci DM6446 EVM with low level debug option selected. When I boot the board it gives below error; * Starting kernel ... Uncompressing Linux... . done, booting the kernel. Error: unrecognized/unsupported machine ID (r1 = 0x0356). Available machine support: ID (hex)NAME 0385DaVinci DM644x EVM Please check your kernel config and/or bootloader. ** I dont have latest Bootloader source and hence I need to change the kernel source to boot with same machine ID(passed by present bootloader..)which file I need to change?? Thanks Manjunath.AM The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it. ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source