LoginSignup
0
0

u-bootとfat

Last updated at Posted at 2023-08-27

fatが読めるu-bootでSATAのディスクからカーネルを読み込むようにしました。

いろいろ試して、何故かMBRで最初のパーティションだとだめで、二つ目のパーティションだと、NetBSDのfatの/bootが読めました。

なので最初にダミーのパーティションをおきます。

u-bootの環境変数はこう設定しました。

fatload ide 1:1 4000000 netbsd-openrdbase.ub;bootm 4000000

特定のu-bootのバグかもしれません。確認に時間がかかるので、勘違いしている可能性もあります。

cfiの場合はflashにカーネルを焼くのですが、このターゲットはNANDなので手順が分からないので、HDにカーネルを置いてます。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0