Hi Jeff,
Thank you for your reply.
>Hi when you say you're collecting information for faster boot times, can 
you tell us more about what OS and FS you're running?
Functions I require are emmc, i2c, uart, gpio, wlan, adc.
===results of 
Version.sh================================================================================================
git:/opt/scripts/:[b39ec679648a6be8f25f48bd1c9784c1fc5a0c46]
eeprom:[A335BNLTBWA52010BBWG0277]
model:[TI_AM335x_BeagleBone_Black_Wireless]
dogtag:[BeagleBoard.org Debian Buster IoT Image 2020-04-06]
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 
2019.04-00002-g07d5700e21]:[location: dd MBR]
UBOOT: Booted Device-Tree:[am335x-boneblack-uboot-univ.dts]
UBOOT: Loaded Overlay:[AM335X-PRU-RPROC-4-19-TI-00A0]
UBOOT: Loaded Overlay:[BB-ADC-00A0]
UBOOT: Loaded Overlay:[BB-BBBW-WL1835-00A0]
UBOOT: Loaded Overlay:[BB-BONE-eMMC1-01-00A0]
kernel:[4.19.94-ti-r42]
nodejs:[v10.15.2]
/boot/uEnv.txt Settings:
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[disable_uboot_overlay_video=1]
uboot_overlay_options:[disable_uboot_overlay_audio=1]
uboot_overlay_options:[uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-19-TI-00A0.dtbo]
uboot_overlay_options:[enable_uboot_cape_universal=1]
pkg check: to individually upgrade run: [sudo apt install --only-upgrade 
<pkg>]
pkg:[bb-cape-overlays]:[4.14.20200403.0-0rcnee0~buster+20200403]
pkg:[bb-wl18xx-firmware]:[1.20200322.0-0rcnee0~buster+20200322]
pkg:[kmod]:[26-1]
pkg:[librobotcontrol]:[1.0.4-git20190227.1-0rcnee0~buster+20190327]
pkg:[firmware-ti-connectivity]:[20190717-2rcnee1~buster+20200305]
groups:[debian : debian adm kmem dialout cdrom floppy audio dip video 
plugdev users systemd-journal bluetooth netdev i2c gpio pwm eqep remoteproc 
admin spi iio docker tisdk weston-launch xenomai cloud9ide]
cmdline:[console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 
root=/dev/mmcblk1p1 ro rootfstype=ext4 rootwait coherent_pool=1M 
net.ifnames=0 lpj=1990656 rng_core.default_quality=100 quiet]
dmesg | grep remote
[   19.613520] remoteproc remoteproc0: 4a334000.pru is available
[   19.625567] remoteproc remoteproc1: 4a338000.pru is available
[   85.818817] remoteproc remoteproc2: wkup_m3 is available
[   85.828262] remoteproc remoteproc2: powering up wkup_m3
[   85.828300] remoteproc remoteproc2: Booting fw image 
am335x-pm-firmware.elf, size 217168
[   85.828581] remoteproc remoteproc2: remote processor wkup_m3 is now up
dmesg | grep pru
[   19.613520] remoteproc remoteproc0: 4a334000.pru is available
[   19.613727] pru-rproc 4a334000.pru: PRU rproc node pru@4a334000 probed 
successfully
[   19.625567] remoteproc remoteproc1: 4a338000.pru is available
[   19.625765] pru-rproc 4a338000.pru: PRU rproc node pru@4a338000 probed 
successfully
dmesg | grep pinctrl-single
[    0.930015] pinctrl-single 44e10800.pinmux: 142 pins, size 568
dmesg | grep gpio-of-helper
[    0.943259] gpio-of-helper ocp:cape-universal: ready
lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
END
===================================================================================================================
>Why are you focusing solely on speeding up the hardware as opposed to ways 
to make u-boot and the kernel to boot faster, for instance?

I use BBBW as an evaluation board for am3351. 
Among them, I'm simply looking for a faster boot time. Setting up the 
kernel and uboot was a bit difficult for me now.
While reading the am335x TRM, I found the MMC transfer rate setting in the 
MMCHS description.
For confirmation, I wrote the same image to the SD card and eMMC and 
compared the BOOT time, and the result was that eMMC was only a few seconds 
faster.
If the MMC was in 8-bit mode, I thought it would be faster, and I wondered 
if both were running in 4-bit mode.
When I added initcall_debug to the kernel command line and booted from the 
SD card, I got the following log.
I thought this log had the transfer rate set to high speed (4-bit Mode) for 
both SDHC and MMC.
2021年2月23日火曜日 0:42:12 UTC+9 RobertCNelson:

> On Thu, Feb 18, 2021 at 1:10 AM ha ppay <[email protected]> wrote:
> >
> >
> > Hi Everyone.
> > I'm collecting information to get even faster boot times,
> > I have 2 questions.
> > It is written that it is possible to boot from MMC (8bit mode) (18.1.1 
> MMCHS Features) using MMC mode with TRM of am335x.
> > - Clock support
> > -96-MHz functional clock source input
> > -up to 384Mbit/sec (48MByte/sec) in MMC mode 8-bit data transfer
> > -up to 192Mbit/sec (24MByte/sec) in High-Speed SD mode 4-bit data 
> transfer
> > -up to 24Mbit/sec (3MByte/sec) in Default SD mode 1-bit data transfer
> >
> > Also, the SD_CON register DW8 Field has a flag for it.
> > I expect this setting to start up much faster.
> > In BBB, how do I set it to 8bit mode and how do I set the frequency to 
> 384Mbit / sec (is it mmc_clk/clock-div in Devicetree?)?
>
> It's already in 8-bit mode..
>
>
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm/boot/dts/am335x-boneblack-common.dtsi#n23
>
> &mmc2 {
> vmmc-supply = <&vmmcsd_fixed>;
> pinctrl-names = "default";
> pinctrl-0 = <&emmc_pins>;
> bus-width = <8>;
> status = "okay";
> non-removable;
> };
>
> Regards,
>
> -- 
> Robert Nelson
> https://rcn-ee.com/
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/00d568a3-0cb5-450c-86ab-3e5a12fd62e1n%40googlegroups.com.

Reply via email to