public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Dmitry Skorinko <skorinkod@mail.ru>
To: linux-mtd@lists.infradead.org
Subject: Re: Booting from DiskOnChip
Date: Fri, 3 Dec 2004 12:42:12 +0300	[thread overview]
Message-ID: <200412031242.12036.skorinkod@mail.ru> (raw)
In-Reply-To: <200412021931.05132.skorinkod@mosk.ru>

People!
Help me to install grub to DiskOnChip, plz...
Just for BIOS see it... Then I will install system self

This problem stops all my work :(

> I patch and build grub-0.92, then:
>
> # ./doc_loadbios /dev/mtd0 ./grub_firmware
> Performing Flash Erase of length 16384 at offset 0
> ioctl(MEMERASE): Input/output error
> # dmesg | tail -8
> MTD_open
> MTD_ioctl
> MTD_ioctl
> nand_erase: start = 0x00000000, len = 16384
> nand_isbad_bbt(): bbt info for offs 0x00000000: (block 2) 0x00
> nand_erase: attempt to erase a bad block at page 0x00000000
> MTD_close
> nand_sync: called

if I use M-System tools:

# ./dformat -win:e000 -s:./DOC514.EXB -first -bdkf0:./grub_firmware -y
DFORMAT Version 5.1.4.37 for Linux
Copyright (C) M-Systems, 1992-2002

DiskOnChip 2000 TSOP found in 0xe0000.
256M media, 16K unit

Formatting               16384
===========================
Mounting Disk Partition 0
Unit 16368 out of 16368

Writing boot image       197728

Writing file to BDK 0    98304
OK
Please reboot to let DiskOnChip install itself.
#reboot

BIOS:
searching for boot sector on SCSI... not found

I can dformat flash with DOS:
# ./dformat -win:e000 -s:./DOC514.EXB -first
then from floppy
SYS A: C:
and MS-DOS can boot from flash... => Problem is not in hardware.


Thanks
Dmitry

  parent reply	other threads:[~2004-12-03  9:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-02 16:31 Booting from DiskOnChip Dmitry Skorinko
2004-12-02 17:18 ` Wolfgang Denk
2004-12-03  9:42 ` Dmitry Skorinko [this message]
2004-12-03 14:37   ` Kalev Lember
  -- strict thread matches above, loose matches on Subject: below --
2000-03-24 17:39 David Woodhouse

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200412031242.12036.skorinkod@mail.ru \
    --to=skorinkod@mail.ru \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox