embeded/odroid2016. 10. 16. 00:16

어우.. 뜬금없는 해결책 ㅠㅠ

다행히도.. 8핀 커넥터 쪽에 UART0이 빠져있어서 이걸로 해결?


그래도 UART1을 살리고 싶긴한데 흑.. 영 안되네..

왜 RX는 되는데 TX가 안될까?


일단 선 배선은

앞에서 보는 기준으로

J4 - TX(2) / RX(3)

UART- TX(2) / RX(3)

적당히 꼬아주면 된다.




그나저나.. 시간 겁나 짧게 해놨네.. ㄷㄷㄷ 가뜩이나 어댑터 전원 꼽기 힘든데

1초 해둔거 같다???


OK


U-Boot 2010.12-svn (May 12 2014 - 15:05:46) for Exynox4412



CPU: S5PC220 [Samsung SOC on SMP Platform Base on ARM CortexA9]

APLL = 1000MHz, MPLL = 880MHz

DRAM:  2 GiB


PMIC VERSION : 0x00, CHIP REV : 2

TrustZone Enabled BSP

BL1 version: 20121128



Checking Boot Mode ... EMMC4.41

REVISION: 2.0

Manufacture ID 0x11 [ 7456MB ]

NAME: S5P_MSHC4

MMC Device 0: 7456 MB

ÿMMC Device 1: 15193 MB

MMC Device 2 not found

*** Warning - using default environment


USB3503 NINT = OUTPUT LOW!

ModeKey Check... run normal_boot

No ethernet found.

Hit any key to stop autoboot:  0

Exynos4412 #


Exynos4412 # ?

?       - alias for 'help'

base    - print or set address offset

bdinfo  - print Board Info structure

boot    - boot default, i.e., run 'bootcmd'

bootd   - boot default, i.e., run 'bootcmd'

bootelf - Boot from an ELF image in memory

bootm   - boot application image from memory

bootp   - boot image via network using BOOTP/TFTP protocol

bootvx  - Boot vxWorks from an ELF image

cfgload - cfgload - boot.ini textfile load from FAT32


check_64gb- check_64gb  - mmc total size check for sd/mmc.


check_mmc_size- check_mmc_size  - mmc size check for sd/mmc.


check_value- check_value        - value check.


chpart  - change active partition

cmp     - memory compare

coninfo - print console devices and information

cp      - memory copy

crc32   - checksum calculation

dcache  - enable or disable data cache

dnw     - dnw     - initialize USB device and ready to receive for Windows serv)


echo    - echo args to console

editenv - edit environment variable

emmc    - Open/Close eMMC boot Partition

env     - environment handling commands

exit    - exit script

ext4load- load binary file from a Ext4 filesystem

ext4ls  - list files in a directory (default /)

false   - do nothing, unsuccessfully

fastboot- fastboot- use USB Fastboot protocol


fatformat- fatformat - disk format by FAT32


fatinfo - print information about filesystem

fatload - load binary file from a dos filesystem

fatls   - list files in a directory (default /)

fdisk   - fdisk - fdisk for sd/mmc.


fdt     - flattened device tree utility commands

get_mmc_block_count- check_mmc_block_count       - get mmc total block count fo.


go      - start application at address 'addr'

help    - print command description/usage

icache  - enable or disable instruction cache

iminfo  - print header information for application image

imxtract- extract a part of a multi-image

itest   - return true/false on integer compare

load    - load binary file from a filesystem

loadb   - load binary file over serial line (kermit mode)

loads   - load S-Record file over serial line

loady   - load binary file over serial line (ymodem mode)

loop    - infinite loop on address range

ls      - list files in a directory (default /)

md      - memory display

mm      - memory modify (auto-incrementing address)

mmc     - MMC sub system

mmcinfo - mmcinfo <dev num>-- display MMC info

movi    - movi  - sd/mmc r/w sub system for SMDK board

mtdparts- define flash/nand partitions

mtest   - simple RAM read/write test

mw      - memory write (fill)

nfs     - boot image via network using NFS protocol

nm      - memory modify (constant address)

ping    - send ICMP ECHO_REQUEST to network host

printenv- print environment variables

reginfo - print register information

reset   - Perform RESET of the CPU

run     - run commands in an environment variable

saveenv - save environment variables to persistent storage

setenv  - set environment variables

setexpr - set environment variable as the result of eval expression

showvar - print local hushshell variables

sleep   - delay execution for some time

source  - run script from memory

system_update- system update - system update by FAT32 or EXT4


test    - minimal test like /bin/sh

tftpboot- boot image via network using TFTP protocol

true    - do nothing, successfully

usb     - USB sub-system

usbboot - boot from USB device

version - print monitor version

wait_usb_trigger- wait_usb_trigger - wait usb trigger detect for recovery


wipeenv - Wipe uboot env. 


Exynos4412 # emmc open 0

eMMC OPEN Success.!!

                        !!!Notice!!!

!You must close eMMC boot Partition after all image writing!

!eMMC boot partition has continuity at image writing time.!

!So, Do not close boot partition, Before, all images is written.!

Exynos4412 # emmc close 0

eMMC CLOSE Success.!!


boot.txt가 아니라 boot.ini로 하면 더 편하려나?

Exynos4412 # boot

do_fat_cfgload : cmd = fatload mmc 0:1 0x41000000 boot.ini

reading boot.ini

** Unable to read file boot.ini **

NAME: S5P_MSHC4

NAME: S5P_MSHC4

>>> Load Boot Script from mmc 0:1 <<<

reading boot.scr

Warning : Reads a file that is smaller than the cluster size.

355 bytes read in 33 ms (9.8 KiB/s)

## Executing script at 40008000

reading zImage

2355768 bytes read in 57 ms (39.4 MiB/s)

reading uInitrd

2190770 bytes read in 31 ms (67.4 MiB/s)

Boot with zImage

## Loading init Ramdisk from Legacy Image at 42000000 ...

   Image Name:   uInitrd 3.8.13.30

   Image Type:   ARM Linux RAMDisk Image (uncompressed)

   Data Size:    2190706 Bytes = 2.1 MiB

   Load Address: 00000000

   Entry Point:  00000000


Starting kernel ...


Uncompressing Linux... done, booting the kernel. 


+

2016.10.17

[링크 : http://odroid.com/dokuwiki/doku.php?id=en:u3_ioport_uart]

'embeded > odroid' 카테고리의 다른 글

odroid 커널 빌드(on odroid) 실패  (0) 2016.10.17
odroid 커널 distcc 성공?  (0) 2016.10.17
odroid u3 uart 마지막... 희망(?)  (0) 2016.10.15
odroid u3 커널 빌드  (0) 2016.10.15
odroid kernel boot args 설정 관련  (0) 2016.10.15
Posted by 구차니