All of lore.kernel.org
 help / color / mirror / Atom feed
* Porting to an S3C2416 failed with no console message
@ 2016-02-23 14:35 Woody Wu
       [not found] ` <56CC88B3.80202@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread
From: Woody Wu @ 2016-02-23 14:35 UTC (permalink / raw)
  To: kernelnewbies

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 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-02-24 14:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-23 14:35 Porting to an S3C2416 failed with no console message Woody Wu
     [not found] ` <56CC88B3.80202@gmail.com>
2016-02-24 14:07   ` Woody Wu

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.