From: Graeme Russ <graeme.russ@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 15/17] Move eNET low-level initialisation into asm
Date: Mon, 24 Aug 2009 21:49:15 +1000 [thread overview]
Message-ID: <4A927E3B.8040903@gmail.com> (raw)
In-Reply-To: <20090824111121.EF2D4833DBD2@gemini.denx.de>
Wolfgang Denk wrote:
> Dear Graeme Russ,
>
> In message <1251111477-15561-1-git-send-email-graeme.russ@gmail.com> you wrote:
>> Allows earlier indication of boot progress by initialising the LEDs and
>> Serial Port while the CPU is still in 16-bit (Real) mode
>
> I have to admit that I am not a friend of moving C code to assembler.
> This contradicts pretty basic principles of U-Boot design.
>
Normally I would agree
> I can understand that you want diagnosis as early as possible, but 162
> insertions versus 26 deletions is a clear indocation that something is
> awfully wrong.
When it came to relocating the code into RAM, I had an awful time trying
to figure out where it was failing. The LEDs turned out to be not so
useful because the board was resetting, so the LEDs just kept going
through a crazy sequence so I needed serial output.
The other nice thing is it gives serial output to low level init
functions in the C code before init_serial()
> Are you absolutely sure this is a good idea?
Hmm, maybe now that it's working I may not need it. I just stg pop'd
it and the following patches applied cleanly (although it did need to
auto modify patch 16) and the board still works so I guess I can ditch
it - Shortens patch series by one - How would you like the resend (maybe
same length series with Patch 15 being blank?)
>> - Fixed space before tab highlighted by Wolfgang Denk
>
> You did not catch all of these, see below.
Arghh, only looked at sc520.h - I just did a global search for space
followed by tab - 1000+ hits, but i386 and eNET are clean :)
> Best regards,
>
> Wolfgang Denk
Regards,
G
next prev parent reply other threads:[~2009-08-24 11:49 UTC|newest]
Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-23 2:59 [U-Boot] [PATCH 00/17] i386 Updates (touches some common drivers) Graeme Russ
2009-08-23 2:59 ` [U-Boot] [PATCH 01/17] Add errno.h to i386 Graeme Russ
2009-08-23 2:59 ` [U-Boot] [PATCH 02/17] Change inline asm global symbols to local Graeme Russ
2009-08-23 2:59 ` [U-Boot] [PATCH 03/17] Fix regression introduced by commit 8c63d47651f7 Graeme Russ
2009-08-23 2:59 ` [U-Boot] [PATCH 04/17] Fix environment configuration for eNET board Graeme Russ
2009-08-23 2:59 ` [U-Boot] [PATCH 05/17] Fix sc520 timer interrupt generation Graeme Russ
2009-08-23 2:59 ` [U-Boot] [PATCH 06/17] Misc i386 PCI fixups Graeme Russ
2009-08-23 2:59 ` [U-Boot] [PATCH 07/17] Misc SATA fixups Graeme Russ
2009-08-23 2:59 ` [U-Boot] [PATCH 08/17] Misc ti_pci1410a fixups Graeme Russ
2009-08-23 2:59 ` [U-Boot] [PATCH 09/17] Misc ds1722 fixups Graeme Russ
2009-08-23 2:59 ` [U-Boot] [PATCH 10/17] Fixup sc520_spunk board Graeme Russ
2009-08-23 2:59 ` [U-Boot] [PATCH 11/17] Misc sc520 cdp fixups Graeme Russ
2009-08-23 2:59 ` [U-Boot] [PATCH 12/17] Replace [read, write]_mmcr_[byte, word, long] with memory mapped structure Graeme Russ
2009-08-23 2:59 ` [U-Boot] [PATCH 13/17] Moved PCI from #ifdef to conditional compile for sc520 boards Graeme Russ
2009-08-23 2:59 ` [U-Boot] [PATCH 14/17] Add PCI support to eNET board Graeme Russ
2009-08-23 2:59 ` [U-Boot] [PATCH 15/17] Move eNET low-level initialisation into asm Graeme Russ
2009-08-23 3:00 ` [U-Boot] [PATCH 16/17] Move low level eNET board init into dedicated sections Graeme Russ
2009-08-23 3:00 ` [U-Boot] [PATCH 17/17] Change entire eNET code + data to run from RAM Graeme Russ
2009-08-25 10:19 ` [U-Boot] [PATCH v2 16/17] Move low level eNET board init into dedicated sections Graeme Russ
2009-08-25 10:47 ` Wolfgang Denk
2009-08-25 10:56 ` Graeme Russ
2009-08-24 7:17 ` [U-Boot] [PATCH 15/17] Move eNET low-level initialisation into asm Graeme Russ
2009-08-24 9:04 ` Mike Frysinger
2009-08-24 10:08 ` Wolfgang Denk
2009-08-24 10:57 ` [U-Boot] [PATCH v2 " Graeme Russ
2009-08-24 11:11 ` Wolfgang Denk
2009-08-24 11:49 ` Graeme Russ [this message]
2009-08-24 12:03 ` Wolfgang Denk
2009-08-24 12:12 ` Graeme Russ
2009-08-25 10:18 ` [U-Boot] [PATCH v3 15/17] Move low level eNET board init into dedicated sections (Abandoned) Graeme Russ
2009-09-04 19:58 ` [U-Boot] [PATCH 14/17] Add PCI support to eNET board Wolfgang Denk
2009-09-04 19:57 ` [U-Boot] [PATCH 13/17] Moved PCI from #ifdef to conditional compile for sc520 boards Wolfgang Denk
2009-09-04 19:56 ` [U-Boot] [PATCH 12/17] Replace [read, write]_mmcr_[byte, word, long] with memory mapped structure Wolfgang Denk
2009-09-04 19:56 ` [U-Boot] [PATCH 11/17] Misc sc520 cdp fixups Wolfgang Denk
2009-09-04 19:55 ` [U-Boot] [PATCH 10/17] Fixup sc520_spunk board Wolfgang Denk
2009-09-04 19:55 ` [U-Boot] [PATCH 09/17] Misc ds1722 fixups Wolfgang Denk
2009-09-04 19:54 ` [U-Boot] [PATCH 08/17] Misc ti_pci1410a fixups Wolfgang Denk
2009-09-04 19:53 ` [U-Boot] [PATCH 07/17] Misc SATA fixups Wolfgang Denk
2009-09-04 19:53 ` [U-Boot] [PATCH 06/17] Misc i386 PCI fixups Wolfgang Denk
2009-09-04 19:52 ` [U-Boot] [PATCH 05/17] Fix sc520 timer interrupt generation Wolfgang Denk
2009-09-04 19:51 ` [U-Boot] [PATCH 04/17] Fix environment configuration for eNET board Wolfgang Denk
2009-09-04 19:50 ` [U-Boot] [PATCH 03/17] Fix regression introduced by commit 8c63d47651f7 Wolfgang Denk
2009-09-04 19:50 ` [U-Boot] [PATCH 02/17] Change inline asm global symbols to local Wolfgang Denk
2009-09-04 19:48 ` [U-Boot] [PATCH 01/17] Add errno.h to i386 Wolfgang Denk
2009-08-23 4:01 ` [U-Boot] [PATCH 00/17] i386 Updates (touches some common drivers) Mike Frysinger
2009-08-23 5:36 ` Wolfgang Denk
2009-08-23 6:14 ` Mike Frysinger
2009-08-24 7:20 ` Graeme Russ
2009-08-24 19:06 ` Scott Wood
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=4A927E3B.8040903@gmail.com \
--to=graeme.russ@gmail.com \
--cc=u-boot@lists.denx.de \
/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