All of lore.kernel.org
 help / color / mirror / Atom feed
From: narkewoody@gmail.com (Woody Wu)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Porting to an S3C2416 failed with no console message
Date: Tue, 23 Feb 2016 22:35:55 +0800	[thread overview]
Message-ID: <CAAsE_ucGBDvC8Jc6X6-=vf-uD6XMOiRQNhPKyaD8_eqAnFdz+w@mail.gmail.com> (raw)

Hi,

I am trying to port 3.18 kernel to a S3C2416.  Years ago, a guy helped me
ported a 3.1.0 kernel to the same board, and the guy left and the kernel
got too old. The guy also ported an u-boot as boot loader to load the 3.1.0
kernel.  I had the source code of the ported u-boot and the 3.1.0 linux.

Now, my problem is that my porting of 3.18 seems not working, I did not see
any kernel message printed to the first SoC serial port as I expected. As
long as I can get kernel message printed to the serial, I think I can step
by step finish the whole porting work eventually. But now, there is no
message and I have no other hardware debugging tools and knowledges, I felt
I lost my way totally.

I hope someone can give me some suggestions, clues to help me
understand where to check and what's the possible causes.

Since I found the old porting of the 3.1.0 is quit similar to SMDK2416,
then I started my work from also the SMDK2416 board code in 3.18.
Basically, I defined the machine-code to match that passed from u-boot, and
copied the MACHINE-START definition section with removing of some
not-immediately-needed stuff such as USB, NAND and HMSUI etc. I also
enabled the S3C2410 serial driver and enabled the serial console supporting
for the Samsung SoC. Of course, I had the kernel parameter of
"console=ttySAC0", ttySAC0 is the Linux device name of the first UART port
in the SoC. These are basically what I had done and I guess the SoC serial
part between my board and SMDK2416 should be very similar and the kernel
should at least be able to print it's first message then I should have
chance to fix other differences. But there is no kernel message at all as I
mentioned above.

What should I check for the problem usually? Is there a checking list to go
through? I hope you experts can give me some clues.  Thanks in advance!

Best Regards,
woody


-- 
Life is the only flaw in an otherwise perfect nonexistence
    -- Schopenhauer

woody
public key at http://subkeys.pgp.net:11371 (narkewoody at gmail.com)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160223/264a3682/attachment.html 

             reply	other threads:[~2016-02-23 14:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-23 14:35 Woody Wu [this message]
     [not found] ` <56CC88B3.80202@gmail.com>
2016-02-24 14:07   ` Porting to an S3C2416 failed with no console message Woody Wu

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='CAAsE_ucGBDvC8Jc6X6-=vf-uD6XMOiRQNhPKyaD8_eqAnFdz+w@mail.gmail.com' \
    --to=narkewoody@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.