Downloading nk.bin without PB? [转]

本文介绍了一种使用TFTP客户端下载PB映像文件的方法,并解释了如何通过修改启动加载器使映像文件在下载后立即运行。此外还讨论了从外部存储设备加载新nk.bin文件的可能性。

One alternative is to use a TFTP client to download the image. PB
download use a slightly modified TFTP protocol (it uses port 980 rather
than port 69), so you can use a TFTP client set to port 980 on the host
pc for the download. If you want the image to launch after download you
need to modify the bootloader to immediately jump to the image rather
than wait for a PB "jump" control command.

Anyone you like that can be set to port 980 (like for example tftpd32).
One more thing, though, you need to rename "nk.bin" to "boot.bin"
because that's the filename the bootloader tftp server expects to be
"put". Note that the bootloader implements a tftp *server*, so you
should use a tftp client on the host.

by Henrik Viklund
http://www.addlogic.se

You can try to get eshell.exe which was provided with PB3.0, or pumpkin
which is available on the web


is it necessary that you are able to download it from the pc?
one possibility is to load the new nk.bin file from an external sotrage
device.
in this case your bootloader has to support:

- handling fo external storage device (flash card, usb stick)
- simple fat system to read the nk.bin file
- small algorythm to detect an nk.bin file and store it in your flash
or ram

jack(unseen_coder@hotmail.com)

转载于:https://www.cnblogs.com/harber/archive/2007/12/07/987400.html

Total Installed Size: 745.06 MiB Net Upgrade Size: 216.39 MiB :: Proceed with installation? [Y/n] (85/85) checking keys in keyring [########################################] 100% downloading required keys... :: Import PGP key 9D4C5AA15426DA0A, "Frederik Schwan <freswa@archlinux.org>"? [Y/n] :: Import PGP key 94657AB20F2A092B, "Andreas Radke <andyrtr@archlinux.org>"? [Y/n] :: Import PGP key C06086337C50773E, "Jelle van der Waa <jelle@archlinux.org>"? [Y/n] :: Import PGP key 9B7A287D9A2EC608, "David Runge <dvzrv@archlinux.org>"? [Y/n] :: Import PGP key 6D42BDD116E0068F, "Christian Hesse <eworm@archlinux.org>"? [Y/n] :: Import PGP key 771DF6627EDF681F, "Tobias Powalowski <tpowa@archlinux.org>"? [Y/n] :: Import PGP key FC1B547C8D8172C8, "Levente Polyak <anthraxx@archlinux.org>"? [Y/n] :: Import PGP key B8AC08600F108CDF, "Jan Alexander Steffens (heftig) <heftig@archlinux.org>"? [Y/n] :: Import PGP key 786C63F330D7CB92, "Felix Yan <felixonmars@archlinux.org>"? [Y/n] :: Import PGP key FDC3040B92ACA748, "Robin Candau <antiz@archlinux.org>"? [Y/n] :: Import PGP key A91764759326B440, "Lukas Fleischer <lfleischer@archlinux.org>"? [Y/n] :: Import PGP key 7A4E76095D8A52E4, "Antonio Rojas <arojas@archlinux.org>"? [Y/n] :: Import PGP key F296BDE50368C6CE, "T.J. Townsend <blakkheim@archlinux.org>"? [Y/n] error: required key missing from keyring error: failed to commit transaction (unexpected error) Errors occurred, no packages were upgraded. ! Docker 安装失败Total Installed Size: 745.06 MiB Net Upgrade Size: 216.39 MiB :: Proceed with installation? [Y/n] (85/85) checking keys in keyring [########################################] 100% downloading required keys... :: Import PGP key 9D4C5AA15426DA0A, "Frederik Schwan <freswa@archlinux.org>"? [Y/n] :: Import PGP key 94657AB20F2A092B, "Andreas Radke <andyrtr@archlinux.org>"? [Y/n] :: Import PGP key C06086337C50773E, "Jelle van der Waa <jelle@archlinux.org>"? [Y/n] :: Import PGP key 9B7A287D9A2EC608, "David Runge <dvzrv@archlinux.org>"? [Y/n] :: Import PGP key 6D42BDD116E0068F, "Christian Hesse <eworm@archlinux.org>"? [Y/n] :: Import PGP key 771DF6627EDF681F, "Tobias Powalowski <tpowa@archlinux.org>"? [Y/n] :: Import PGP key FC1B547C8D8172C8, "Levente Polyak <anthraxx@archlinux.org>"? [Y/n] :: Import PGP key B8AC08600F108CDF, "Jan Alexander Steffens (heftig) <heftig@archlinux.org>"? [Y/n] :: Import PGP key 786C63F330D7CB92, "Felix Yan <felixonmars@archlinux.org>"? [Y/n] :: Import PGP key FDC3040B92ACA748, "Robin Candau <antiz@archlinux.org>"? [Y/n] :: Import PGP key A91764759326B440, "Lukas Fleischer <lfleischer@archlinux.org>"? [Y/n] :: Import PGP key 7A4E76095D8A52E4, "Antonio Rojas <arojas@archlinux.org>"? [Y/n] :: Import PGP key F296BDE50368C6CE, "T.J. Townsend <blakkheim@archlinux.org>"? [Y/n] error: required key missing from keyring error: failed to commit transaction (unexpected error) Errors occurred, no packages were upgraded. ! Docker 安装失败
07-14
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值