From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-vb0-f52.google.com ([209.85.212.52]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Tm0mA-00059V-87 for ptxdist@pengutronix.de; Fri, 21 Dec 2012 12:28:45 +0100 Received: by mail-vb0-f52.google.com with SMTP id ez10so4892436vbb.39 for ; Fri, 21 Dec 2012 03:28:19 -0800 (PST) MIME-Version: 1.0 Date: Fri, 21 Dec 2012 13:28:19 +0200 Message-ID: From: Ruben Louw Content-Type: multipart/mixed; boundary=bcaec501c0ccffee9804d15b2489 Subject: [ptxdist] Mini2440 not mounting Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de --bcaec501c0ccffee9804d15b2489 Content-Type: multipart/alternative; boundary=bcaec501c0ccffee9304d15b2487 --bcaec501c0ccffee9304d15b2487 Content-Type: text/plain; charset=ISO-8859-1 Hi Everyone I have, what it seems, a problem with my mini2440 in that its not mounting to my host, I think I might be missing some settings and if anyone can correct me I'd really appreciate it. I'm using a Mini2440 1gig nand. I have the following: 1. Using BSP and ptxdist versions 2012.12.0. 2. my host network setup is : a) Address - 192.168.1.7 b) Netmask - 255.255.255.0 c) Gateway - 192.168.1.2 3. my target network setup is : a) Address - 192.168.1.27 b) Netmask - 255.255.255.0 c) Gateway - 192.168.1.2 d) ethaddr - 00:04:f3:00:06:35 e) Serverip - 192.168.1.7 4. I have NFS on my host, not sure if i should use NFS or TFTP and not sure what the difference is, if any. 5. The log from my mini2440 serial output: 6. I did not run ptxdist platformconfig, because I don not fully understand what the image has to be. Do I have to run this and select an image, if so, what image should i use? 7. I do not know where the mini would mount to, maybe that is the main issue. In the docs its written that the tftp server is /tftpboot, but I dont have a directory like that anywhere. 8. I made some changes to the "configs/platform-friendlyarm-mini2440/barebox-128m-env/config" like changing the autoboot timeout, but when I run go 0x31000000, it boots and uses default 3 second timeout. 9. I am not sure what the nfsroot setting should be, and when I change it, it defaults to what it was: if [ -n $user]; then nfsroot = "${eth0.serverip}:/home/${user}/nfsroot/${machine}" else nfsroot = "/path/to/nfs/root" 10. I do not receive any errors as my bootup log shows, yet i can not copy the barebox image from the board support package to the directory ised by the tftp server "cp platform-mini2440/images/barebox-image /tftpboot/barebox-mini2440" because the directory /tftpboot/barebox-mini2440 does not exist. thank you for any help Regards Ruben Louw --bcaec501c0ccffee9304d15b2487 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Everyone

I have, what it seems, a problem with my mini2440 in tha= t its not mounting to my host, I think I might be missing some settings and= if anyone can correct me I'd really appreciate it. I'm using a Min= i2440 1gig nand.

I have the following:

1. Using BSP and ptxdist versions 2012.12.0.

2. my host network = setup is : a) Address=A0 - 192.168.1.7
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 b) Netmask - 255.255.255.0
=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0 c) Gateway - 192.168.1.2

3. my target network setup is : a) Address=A0 - 192.168.1.27
=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 b) Netmask -=A0 255.255= .255.0
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =A0=A0 c) Gate= way -=A0 192.168.1.2
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0 d) ethaddr -=A0=A0=A0 00:04:f3:00:06:35
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 e) Serverip -=A0= =A0=A0 192.168.1.7

4. I have NFS on my host, not sure if i should us= e NFS or TFTP and not sure what the difference is, if any.

5. The l= og from my mini2440 serial output:

6. I did not run ptxdist platformconfig, because I don not fully unders= tand what the image has to be. Do I have to run this and select an image, i= f so, what image should i use?

7. I do not know where the mini woul= d mount to, maybe that is the main issue. In the docs its written that the = tftp server is /tftpboot, but I dont have a directory like that anywhere. <= br>
8. I made some changes to the "configs/platform-friendlyarm-mini24= 40/barebox-128m-env/config" like changing the autoboot timeout, but wh= en I run go 0x31000000, it boots and uses default 3 second timeout.

9. I am not sure what the nfsroot setting should be, and when I change = it, it defaults to what it was:

=A0=A0=A0=A0=A0=A0=A0 if [ -n $user= ]; then
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 nfsroot =3D "${eth0.serverip}:/home/= ${user}/nfsroot/${machine}"

=A0=A0=A0=A0=A0=A0=A0 else
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0 nfsroot =3D "/path/to/nfs/root"

10. I do not = receive any errors as my bootup log shows, yet i can not copy the barebox i= mage from the board support package to the directory ised by the tftp serve= r "cp platform-mini2440/images/barebox-image /tftpboot/barebox-mini244= 0" because the directory /tftpboot/barebox-mini2440 does not exist.
thank you for any help

Regards

Ruben Louw

--bcaec501c0ccffee9304d15b2487-- --bcaec501c0ccffee9804d15b2489 Content-Type: application/octet-stream; name=Mini2440 serial output Content-Disposition: attachment; filename=Mini2440 serial output Content-Transfer-Encoding: base64 X-Attachment-Id: f_haz8lwbu0 IyMjIyMgRnJpZW5kbHlBUk0gQklPUyAyLjAgZm9yIDI0NDAgIyMjIyMKW3hdIGZvcm1hdCBOQU5E IEZMQVNIIGZvciBMaW51eApbdl0gRG93bmxvYWQgdml2aSAKW2tdIERvd25sb2FkIGxpbnV4IGtl cm5lbCAKW3ldIERvd25sb2FkIHJvb3RfeWFmZnMgaW1hZ2UgClthXSBBYnNvbHV0ZSBVc2VyIEFw cGxpY2F0aW9uCltuXSBEb3dubG9hZCBOYm9vdCBmb3IgV2luQ0UgCltsXSBEb3dubG9hZCBXaW5D RSBib290LWxvZ28KW3ddIERvd25sb2FkIFdpbkNFIE5LLmJpbiAKW2RdIERvd25sb2FkICYgUnVu IApbel0gRG93bmxvYWQgekltYWdlIGludG8gUkFNIApbZ10gQm9vdCBsaW51eCBmcm9tIFJBTSAK W2ZdIEZvcm1hdCB0aGUgbmFuZCBmbGFzaCAKW2JdIEJvb3QgdGhlIHN5c3RlbSAKW3NdIFNldCB0 aGUgYm9vdCBwYXJhbWV0ZXJzIApbdV0gQmFja3VwIE5BTkQgRmxhc2ggdG8gSE9TVCB0aHJvdWdo IFVTQih1cGxvYWQpIApbcl0gUmVzdG9yZSBOQU5EIEZsYXNoIGZyb20gSE9TVCB0aHJvdWdoIFVT QiAKW3FdIEdvdG8gc2hlbGwgb2Ygdml2aSAKW2ldIFZlcnNpb246IDExMzgtMksKRW50ZXIgeW91 ciBzZWxlY3Rpb246IHEKU3VwZXJ2aXZpPiBnbyAweDMxMDAwMDAwCmdvIHRvIDB4MzEwMDAwMDAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgCiAgYXJndW1lbnQgMCA9IDB4MDAwMDAwMDAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgYXJndW1lbnQgMSA9IDB4MDAwMDAwMDAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAg YXJndW1lbnQgMiA9IDB4MDAwMDAwMDAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgCiAgYXJndW1lbnQgMyA9IDB4MDAwMDAwMDAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCmJhcmVib3ggMjAxMS4wNS4wLXB0 eC0yMDEyLjEyLjAgKERlYyAyMSAyMDEyIC0gMDg6MDk6MjApICAgICAgICAgICAgICAgICAgICAg ICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgCkJvYXJkOiBNaW5pIDI0NDAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCk5BTkQg ZGV2aWNlOiBNYW51ZmFjdHVyZXIgSUQ6IDB4ZWMsIENoaXAgSUQ6IDB4ZDMgKFNhbXN1bmcgTkFO RCAxR2lCIDMsM1YgOC1iaXQpCkJhZCBibG9jayB0YWJsZSBmb3VuZCBhdCBwYWdlIDUyNDIyNCwg dmVyc2lvbiAweDAxICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCkJhZCBibG9jayB0YWJs ZSBmb3VuZCBhdCBwYWdlIDUyNDE2MCwgdmVyc2lvbiAweDAxICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgCm5hbmRfcmVhZF9iYnQ6IEJhZCBibG9jayBhdCAweDM5NGUwMDAwICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCmRtOTAwMCBpL286IDB4MjAwMDAzMDAs IGlkOiAweDkwMDAwYTQ2ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg CmV0aEBldGgwOiBnb3QgTUFDIGFkZHJlc3MgZnJvbSBFRVBST006IDAwOjAwOjAwOjAwOjAwOjAw ICAgICAgICAgICAgICAgICAgICAgICAgCnJlZmNsazogICAgMTIwMDAga0h6ICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCm1wbGw6ICAg ICA0MDUwMDAga0h6ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgCnVwbGw6ICAgICAgNDgwMDAga0h6ICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCmZjbGs6ICAgICA0MDUwMDAg a0h6ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgCmhjbGs6ICAgICAxMDEyNTAga0h6ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCnBjbGs6ICAgICAgNTA2MjUga0h6ICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgClNE UkFNMTogICBDTDRAMTAxTUh6ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgClNEUkFNMjogICBDTDRAMTAxTUh6ICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCk1hbGxvYyBzcGFj ZTogMHgzM2EwMDAwMCAtPiAweDMzZTAwMDAwIChzaXplICA0IE1CKSAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgClN0YWNrIHNwYWNlIDogMHgzMzlmODAwMCAtPiAweDMzYTAwMDAwIChzaXpl IDMyIGtCKSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCnJ1bm5pbmcgL2Vudi9iaW4vaW5p dC4uLiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgCkhpdCBhbnkga2V5IHRvIHN0b3AgYXV0b2Jvb3Q6 ICAyICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCm1pbmky NDQwOi8gCgo= --bcaec501c0ccffee9804d15b2489 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --bcaec501c0ccffee9804d15b2489--