mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* Re: [ptxdist] Mini2440 not mounting
       [not found] <CAOP6b3j0BVJwoF7p0w079pZ@mail.gmail.com>
@ 2012-12-22 23:02 ` Dave Festing
  2012-12-22 23:14   ` Dave Festing
  0 siblings, 1 reply; 4+ messages in thread
From: Dave Festing @ 2012-12-22 23:02 UTC (permalink / raw)
  To: ptxdist

>
Ruben,

It might be more appropriate to post to this group:

http://blog.gmane.org/gmane.comp.embedded.ptxdist.oselas.community

for mini2440 related stuff.


I'll try to answer:

6) you have to run this command and for your device:
   ptxdist platform configs/platform-friendlyarm-mini2440/
   platformconfig-NAND-128M
7) you generally make a directory in root on your host called /tftpboot and I
   think it generally has user permissions.   
8) modifying boot behaviour is covered in the Quickstart guide.  It took a
   a fair while for me to get my head around, the result of which is the
   diagram on the bottom of page 47
9) for my NFS setup the line after the else statement is:
   
   nfsroot="home/davef/Pengutronix12/platform-mini2440/root"

   Change to wherever you have installed the latest mini2440 BSP


Dave


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] Mini2440 not mounting
  2012-12-22 23:02 ` [ptxdist] Mini2440 not mounting Dave Festing
@ 2012-12-22 23:14   ` Dave Festing
  2012-12-24  7:17     ` Ruben Louw
  0 siblings, 1 reply; 4+ messages in thread
From: Dave Festing @ 2012-12-22 23:14 UTC (permalink / raw)
  To: ptxdist

>

10) have a look in /var/log/syslog




-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] Mini2440 not mounting
  2012-12-22 23:14   ` Dave Festing
@ 2012-12-24  7:17     ` Ruben Louw
  0 siblings, 0 replies; 4+ messages in thread
From: Ruben Louw @ 2012-12-24  7:17 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 385 bytes --]

Hi Dave

Thanks for the reply, I managed to get the kernel booting and my board
mounted, I realized that tftp was not configured correctly.

All seems to work 100% now.

Thanks

Regards

Ruben Louw

On Sun, Dec 23, 2012 at 1:14 AM, Dave Festing <dave_festing@hotmail.com>wrote:

> >
>
> 10) have a look in /var/log/syslog
>
>
>
>
> --
> ptxdist mailing list
> ptxdist@pengutronix.de
>

[-- Attachment #1.2: Type: text/html, Size: 803 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ptxdist] Mini2440 not mounting
@ 2012-12-21 11:28 Ruben Louw
  0 siblings, 0 replies; 4+ messages in thread
From: Ruben Louw @ 2012-12-21 11:28 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 2206 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 2422 bytes --]

[-- Attachment #2: Mini2440 serial output --]
[-- Type: application/octet-stream, Size: 2972 bytes --]

##### FriendlyARM BIOS 2.0 for 2440 #####
[x] format NAND FLASH for Linux
[v] Download vivi 
[k] Download linux kernel 
[y] Download root_yaffs image 
[a] Absolute User Application
[n] Download Nboot for WinCE 
[l] Download WinCE boot-logo
[w] Download WinCE NK.bin 
[d] Download & Run 
[z] Download zImage into RAM 
[g] Boot linux from RAM 
[f] Format the nand flash 
[b] Boot the system 
[s] Set the boot parameters 
[u] Backup NAND Flash to HOST through USB(upload) 
[r] Restore NAND Flash from HOST through USB 
[q] Goto shell of vivi 
[i] Version: 1138-2K
Enter your selection: q
Supervivi> go 0x31000000
go to 0x31000000                                                                
  argument 0 = 0x00000000                                                       
  argument 1 = 0x00000000                                                       
  argument 2 = 0x00000000                                                       
  argument 3 = 0x00000000                                                       
                                                                                
                                                                                
barebox 2011.05.0-ptx-2012.12.0 (Dec 21 2012 - 08:09:20)                        
                                                                                
Board: Mini 2440                                                                
NAND device: Manufacturer ID: 0xec, Chip ID: 0xd3 (Samsung NAND 1GiB 3,3V 8-bit)
Bad block table found at page 524224, version 0x01                              
Bad block table found at page 524160, version 0x01                              
nand_read_bbt: Bad block at 0x394e0000                                          
dm9000 i/o: 0x20000300, id: 0x90000a46                                          
eth@eth0: got MAC address from EEPROM: 00:00:00:00:00:00                        
refclk:    12000 kHz                                                            
mpll:     405000 kHz                                                            
upll:      48000 kHz                                                            
fclk:     405000 kHz                                                            
hclk:     101250 kHz                                                            
pclk:      50625 kHz                                                            
SDRAM1:   CL4@101MHz                                                            
SDRAM2:   CL4@101MHz                                                            
Malloc space: 0x33a00000 -> 0x33e00000 (size  4 MB)                             
Stack space : 0x339f8000 -> 0x33a00000 (size 32 kB)                             
running /env/bin/init...                                                        
                                                                                
Hit any key to stop autoboot:  2                                                
mini2440:/ 


[-- Attachment #3: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-12-24  7:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAOP6b3j0BVJwoF7p0w079pZ@mail.gmail.com>
2012-12-22 23:02 ` [ptxdist] Mini2440 not mounting Dave Festing
2012-12-22 23:14   ` Dave Festing
2012-12-24  7:17     ` Ruben Louw
2012-12-21 11:28 Ruben Louw

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox