This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Booting without SD card

Hi,

Before I asked for NAND Flash.

I have flashed u-boot onto NAND and I'll  try to boot without the SD card.

 

So I have to refer to TI816x U-Boot EA3.pdf file, I have 1 question.

According to this pdf file, it seems to be possible that a Linux kernel and filesystem can flashing onto NAND also.

Is posible?

If posible, how to do?

I don't know where the kernel file is. And size.

The file system too.

Where can I find them?

Please answer.

  • Hi,

    It is definitely possible to flash the kernel and filesystem to NAND as well. Please follow the instructions in the PSP U-Boot document.

    You will need to create a jffs2 image of the filesystem and flash the NAND. Once you the EZSDK is installed and setup.sh is run, it will extract and setup an NFS filesystem. The same filesystem could be used to create a jff2 image.

    The pre-built kernel is present in $(EZSDK)/psp/prebuilt-images. The name of the kernel image is uImage.

    --Sid

  • Hi,

    I have followed U-Boot document,

    Creating JFFS2 File-system, p9,

    I was following the commands :

    ~$> cvs -d :pserver:anoncvs@cvs.infradead.org:/home/cvs login

    but result is

    cvs  [login aborted]: ~~~~~~~~~~~~~~~~~~ failed: Network is unreachable

     

     

  • Hi,

    It may be required for you to check the network connections and possibly any firewall proxy settings for CVS to download the source for mkfs.jffs2.On an Ubuntu 10.04 linux machine, you can setup your proxy settings via System->Preferences->Network Proxy.

    You can also download and install mkfs.jffs2 on an Ubuntu 10.04 machine using apt-get once your network is configured and any proxies are setup. You can run the following command to install mkfs.jffs2

    $ sudo apt-get install mtd-utils

    --Sid

  • Hi,

     

    firewall stopped and direct internet connection.

    use the followwing commands:

    root~$> cvs -d :pserver:anoncvs@cvs.infradead.org:/home/cvs login

    CVS passworld : anoncvs

    cvs [login aborted]: connect to cvs.infradead.org(2001:8b0:10b:1:2c0:f0ff:fe31:e18):2401 failed: Network is unreachable

     

    ~$> ping cvs.infradead.org  >>> no problem

     

    I would like to know how to do this.

    In addition,

    I used the following command:

    ~$> sudo apt-get install mtd-utils

    and setup it.

    Then I have to do?

    I tired to find the mtd-utils folder, but I can't find it.

  • Hi,

    Hokyun Yu said:

    I used the following command:

    ~tiny_mce_markergt; sudo apt-get install mtd-utils

    and setup it.

    Then I have to do?

    I tired to find the mtd-utils folder, but I can't find it.

     

    Is mkfs.jffs2 installed? Did you try to run the command and try out the next steps in the PSP user guide?

    --Sid

  • TI816X-PSP-U-Boot.pdf

    p9

    Creating JFFS2 File-system

     

    root~$> cvs -d :pserver:anoncvs@cvs.infradead.org:/home/cvs login

    CVS passworld : anoncvs

    cvs [login aborted]: connect to cvs.infradead.org(2001:8b0:10b:1:2c0:f0ff:fe31:e18):2401 failed: Network is unreachable

     

     

    So

     

    $> sudo apt-get install mtd-utils

    Reading package lists... Done

    Building dependency tree

    Reading state infirmation... Done

    mtd-utils is already teh newest version

    0 upgarded, 0 newly installed, 0 to remove and 8 not upgraded.

     

    However

     

    Where is the mtd folder?

    As I know there should be mkfs.jffs2 file and Makefile in mtd/util folder. isn't it?

     

  • Hi,

    apt-get install mtd-utils is used to download and install a fully compiled version of mkfs.jffs2 in your host. By using APT you don't need to compile mtd-utils. You can find more information on apt-get at http://en.wikipedia.org/wiki/Advanced_Packaging_Tool.

    You should now have mkfs.jffs2 present and ready to use. Please follow the rest of the instructions in the PSP documentation to build a JFFS2 image and flash it to the EVM.

    --Sid

  • Hi,

    Before I have said that following error occurred.

    Siddharth Heroor said:

    TI816X-PSP-U-Boot.pdf

    p9

    Creating JFFS2 File-system

     

    From the command line enter the following:

    [root@localhost user]# cd /home/user/build

    [root@localhost build]# cvs -d :pserver:anoncvs@cvs.infradead.org:/home/cvs login

    CVS password: anoncvs

    cvs [login aborted]: connect to

    cvs.infradead.org(2001:8b0:10b:1:2c0:f0ff:fe31:e18):2401 failed: Network is unreachable

     

     

     

    Let me know you check about following:

     

    ~$> cvs -d :pserver:anoncvs@cvs.infradead.org:/home/cvs login

    Logging in to :pserver:anoncvs@cvs.infradead.org:2401/home/cvs

    CVS password: anoncvs

    cvs [login aborted]: connect to cvs.infradead.org(2001:8b0:10b:1:2c0:f0ff:fe31:e18):2401 failed: Network is unreachable

     

    ~$> cvs -d :pserver:anoncvs@90.155.92.194:/home/cvs login

    Logging in to :pserver:anoncvs@90.155.92.194:2401/home/cvs

    CVS password: anoncvs

    cvs [login aborted]: connect to 90.155.92.194(90.155.92.194):2401 failed: Connection refused

     

     

    I think that the guide is wrong.

    My guess,

    http://git.infradead.org/mtd-2.6.git/tree/HEAD:/fs/jffs2

    is point of above command.

    Right?

    How to do I download these files?

     

  • Hi,

     

    Could you get back to me on this?

  • Hi,

    Sorry for the delayed response from my side.

    Hokyun Yu said:

    I think that the guide is wrong.

    My guess,

    http://git.infradead.org/mtd-2.6.git/tree/HEAD:/fs/jffs2

    is point of above command.

    Right?

    How to do I download these files?

    You are right, you download the source code for mkfs.jffs2 from git.infradead.org. I will work with the experts to ensure that our documentation is updated to point to the git tree instead of the old CVS tree.

    As you have already run "sudo apt-get install", it has already setup mkfs.jffs2 in your PC. You can verify that your linux machine has installed it correctly by running the "mkfs.jffs2 --help" command.

    You will not need to download the source for mtd-utils, compile it and install it if the mkfs.jffs2 has been installed using apt-get and you should be able to run the mkfs.jffs2 command directly on your PC now. Please skip the steps for "make mkfs.jffs2" and "cp mkfs.jffs2 /sbin". 

    Please continue with the next steps command in the PSP user guide to create a JFFS2 image.

    --Sid

  • Hi,

     

    Thanks.

     

    ~$> mkfs.jffs2 -lqnp -e 128 -r target -o /tftpboot/rd-jffs2.bin

    Then rd-jffs2.bin file was created in tftpboot folder.

    But, size is 0 bytes.