where is the process counter when the linux system shutdown
A message that is not in the archive (sent off-list or not yet received): mailman.447885.1189692859.7786.u-boot-users@lists.sourceforge.net
I want to update the system which included kernel and filesystem via internet. Now ,tow question will be solved.
the first:
how to get the kernel or filesystem from long-distance host(not in LAN ) . I want to migrate a ftp tool into U-boot at one time.but it seems so hard and I' m not good at program in U-boot.
maybe.I can get the kernel or filesystem before boot the system.and write the data into RAM.
the second:
how do I copy the RAM data to ROM(nand flash).can I write the data in linux system if can not do this .
I need shutdown the OS and run a nand flash write program.
well ,where is the process counter when the linux system shutdown. and how to call the nand flash writer.
any advice will be appreciate.
Quoted 2 lines · In message <001901c7f679$40e08480$6401a8c0@hy> you wrote:
how to get the kernel or filesystem from long-distance host(not in LAN ) .
U-Boot provides TFTP and NFS for download. For anything else you should use an operating system.
Quoted 2 lines
I want to migrate a ftp tool into U-boot at one time.but it seems so hard and I' m not good at program in U-boot.
Foget it. FTP needs TCP/IP, and we will not have this in U-Boot.
Quoted 2 lines
maybe.I can get the kernel or filesystem before boot the system.and write the data into RAM.
This can be done. See kexec.
Quoted 2 lines
how do I copy the RAM data to ROM(nand flash).can I write the data in linux system if can not do this .
You can use standard commands both in U-Boot and Linux to do this. Please read the docs.
Quoted 1 line
I need shutdown the OS and run a nand flash write program.
Why do you need to shutdown the OS for that purpose? Linux can write to NAND flash just fine.
Quoted 1 line
well ,where is the process counter when the linux system shutdown.
If you perform a reboot, the system will usually start through the reset entry point.
Quoted 1 line
and how to call the nand flash writer.
In Linux? See the MTD system. Un U-Boot? See the nand commands.
Please be aware that in general there is no guarantee that memory contents set up in Linux will survive a reset.
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "We don't have to protect the environment -- the Second Coming is at hand." - James Watt