friendlyarm / friendlywrt_device_rk3328

4 stars 4 forks source link

FriendlyElec wiki should be updated #3

Open d51r3verse opened 4 years ago

d51r3verse commented 4 years ago

R2S with rk3328-sd-friendlycore-bionic-5.4-arm64-20200402.img.zip from official site.

root@NanoPi-R2S:/# dmesg | grep -E 'mmc|tty'
[    0.000000] Kernel command line: swiotlb=1 coherent_pool=1m consoleblank=0 root=/dev/mmcblk0p1 rw rootfstype=ext4 data=/dev/mmcblk0p2 consoleblank=0 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 storagemedia=sd androidboot.oem_unlocked=0 loader.timestamp=2020-03-09_21:19:07 hdmi.vic=-1 tve.format=-1 SecureBootCheckOk=0
[    0.001700] printk: console [tty0] enabled
[    0.289741] sdmmc-regulator GPIO handle specifies active low - ignored
[    2.448814] ff130000.serial: ttyS2 at MMIO 0xff130000 (irq = 12, base_baud = 1500000) is a 16550A
[    2.520975] printk: console [ttyS2] enabled
[    3.006033] dwmmc_rockchip ff500000.dwmmc: IDMAC supports 32-bit address mode.
[    3.006802] dwmmc_rockchip ff500000.dwmmc: Using internal DMA controller.
[    3.007438] dwmmc_rockchip ff500000.dwmmc: Version ID is 270a
[    3.008084] dwmmc_rockchip ff500000.dwmmc: DW MMC controller at irq 27,32 bit host data width,256 deep fifo
[    3.028284] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    3.166452] mmc_host mmc0: Bus speed (slot 0) = 150000000Hz (slot req 150000000Hz, actual 150000000HZ div = 0)
[    3.538607] dwmmc_rockchip ff500000.dwmmc: Successfully tuned phase to 200
[    3.539287] mmc0: new ultra high speed SDR104 SDHC card at address 0001
[    3.541373] mmcblk0: mmc0:0001 SD16G 29.5 GiB
[    3.548510]  mmcblk0: p1 p2
[    3.925282] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[    4.080722] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    4.089263] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
root@NanoPi-R2S:/#
root@NanoPi-R2S:/# tty
/dev/ttyS2
root@NanoPi-R2S:/#

Can not access debug serial while booting. debug serial only available after fully boot up. rk3328-sd-friendlywrt-5.4-20200402.img.zip from official site, Can not access debug serial with well known baud rates( usually 9600, 38400, 57600, 115200 ) I DON'T KNOW IT WAS BOOT SUCCESSFULLY OR NOT.

WiKi page should be updated this abnormal 1500000 baud rates.

fanck0605 commented 4 years ago

It is mentioned on other friendlyelec's boards that the baud rate of the debug serial is 1500000bps, 3V level signals. May be all friendlyelec's boards have the same baud rate. NanoPi_M4V2