This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3358: [AM335X Starter Kit] Linux SDK upgrade.

Part Number: AM3358

Hi. there

I have an AM3358 Starter Kit.

The linux SDK version provided by AM335X Starter Kit is 05.05.00.00.

I want to use sdk-linux-am335x-evm to create the latest version of the SD Card image.

The procedure is as follows.
===============================================================================
1. Install Ubuntu 1604 ( VM ware )
2. ./ti-processor-sdk-linux-am335x-evm-06.01.00.08-Linux-x86-Install.bin
3. sudo ./setup.sh
4. install host package.
5. make all.
6. make install.
===============================================================================

Q1. Is the above order correct?

 

Q2. Which of the above 3 steps should I choose? (I am using VM ware.)
--------------------------------------------------------------------------------
This step will set up the U-Boot variables for booting the EVM.

Autodetected the following ip address of your host, correct it if necessary
[ 192.168.10.21 ]

Select Linux kernel location:
1: TFTP
2: SD card

[ 1 ]

Select root file system location:
1: NFS
2: SD card

[ 1 ]

 

Q3. The following files exist in the provided SD Card.
    e:\windows_users\
    e:\.ipaddr
    e:\AM335x-EVM-quickstartguide.pdf
    e:\AM335x-EVM-SK-quickstartguide.pdf
    e:\autorun.inf
    e:\Beaglebone-quickstartguide.pdf
    e:\MLO
    e:\pointercal
    e:\u-boot.img
    e:\uImage

 

Q3.1 Can I use MLO and u-boot.img in the following locations?
    ti-processor-sdk-linux-am335x-evm-06.01.00.08\board-support\u-boot-2019.01+gitAUTOINC+029e4c009a-g029e4c009a

 

Q3.2 Do I need to create a new SD Card Image?
    Or just copy files to an existing SD card?
    If I need to create a new one, how do I create one in VM ware?

 

Q3.3 can I use only MLO, u-boot.img?
    Or do I have to create uImage and .ipaddr as well?
    If so, how do you do it?

Thank you in advance.

  • Hi Simon,

    You need to create new SD card images, using the create-sdcard.sh script. This script will create boot and rootfs partitions to your SD card, and will populate these partitions with pre-built images and filesystem from below locations:

    ti-processor-sdk-linux-am335x-evm-06.01.00.08/board-support/prebuilt-images/

    ti-processor-sdk-linux-am335x-evm-06.01.00.08/filesystem/


    You need to follow the steps described in below user guide:

    http://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/Overview_Getting_Started_Guide.html#linux-sd-card-creation-guide

    The exact steps to Configure a Linux Host, to Install the SDK, to Create a SD Card, Run the Setup Script, etc are explined in below user guide:

    http://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/Overview_Getting_Started_Guide.html#getting-started-guide

    Regards,
    Pavel

  • Dear. Pavel


    I have some questions.

    Q1. I created an SD Card using the base image, referring to the URL you gave me.
    I have confirmed that the Linux GUI is showing, but the touch doesn't work.
    What am I doing wrong?

    The procedure is as follows.
    ================================================================================
    1. Run create-sdcard.sh
    ================================================================================
    vm@ubuntu:~/ti-processor-sdk-linux-am335x-evm-06.01.00.08/bin$ sudo ./create-sdcard.sh

    ################################################################################

    This script will create a bootable SD card from custom or pre-built binaries.

    The script must be run with root permissions and from the bin directory of
    the SDK

    Example:
    $ sudo ./create-sdcard.sh

    Formatting can be skipped if the SD card is already formatted and
    partitioned properly.

    ################################################################################


    Available Drives to write images to:

    # major minor size name
    1: 8 16 15558144 sdb

    Enter Device Number or n to exit: 1

    sdb was selected

    /dev/sdb is an sdx device
    Unmounting the sdb drives
    unmounted /dev/sdb1
    unmounted /dev/sdb2
    Current size of sdb1 71680 bytes
    Current size of sdb2 15469568 bytes

    ################################################################################

    Select 2 partitions if only need boot and rootfs (most users).
    Select 3 partitions if need SDK & other content on SD card. This is
    usually used by device manufacturers with access to partition tarballs.

    ****WARNING**** continuing will erase all data on sdb

    ################################################################################

    Number of partitions needed [2/3] : 2


    Now partitioning sdb with 2 partitions...

    ################################################################################

    Now making 2 partitions

    ################################################################################

    1024+0 records in
    1024+0 records out
    1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.971444 s, 1.1 MB/s
    DISK SIZE - 15931539456 bytes

    ################################################################################

    Partitioning Boot

    ################################################################################
    mkfs.fat 3.0.28 (2015-05-16)
    mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows
    /dev/sdb1: No such file or directory

    ################################################################################

    Partitioning rootfs

    ################################################################################
    mke2fs 1.42.13 (17-May-2015)
    The file /dev/sdb2 does not exist and no size was specified.


    ################################################################################

    Partitioning is now done
    Continue to install filesystem or select 'n' to safe exit

    **Warning** Continuing will erase files any files in the partitions

    ################################################################################


    Would you like to continue? [y/n] : y



    Mount the partitions

    Emptying partitions

    Syncing....

    ################################################################################

    Choose file path to install from

    1 ) Install pre-built images from SDK
    2 ) Enter in custom boot and rootfs file paths

    ################################################################################

    Choose now [1/2] : 1


    Will now install from SDK pre-built images
    now installing: ti-processor-sdk-linux-am335x-evm-06.01.00.08

    ################################################################################

    Multiple rootfs Tarballs found

    ################################################################################

    1:tisdk-rootfs-image-am335x-evm.tar.xz
    2:tisdk-docker-rootfs-image-am335x-evm.tar.xz

    Enter Number of rootfs Tarball: 1

    ################################################################################

    Copying files now... will take minutes

    ################################################################################

    Copying boot partition

    MLO copied


    u-boot.img copied


    Copying rootfs System partition

    Syncing...

    Un-mount the partitions

    Remove created temp directories

    Operation Finished

    vm@ubuntu:~/ti-processor-sdk-linux-am335x-evm-06.01.00.08/bin$

    ================================================================================
    2. The boot log is attached.
    ================================================================================

    Connecting to COM25...
    Connected.
    
    
    U-Boot SPL 2019.01-g029e4c009a (Oct 19 2019 - 23:14:52 +0000)
    Trying to boot from MMC1
    
    
    U-Boot 2019.01-g029e4c009a (Oct 19 2019 - 23:14:52 +0000)
    
    CPU  : AM335X-GP rev 2.1
    Model: TI AM335x EVM-SK
    DRAM:  256 MiB
    NAND:  0 MiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    Loading Environment from FAT... *** Warning - bad CRC, using default environment
    
    <ethaddr> not set. Validating first E-fuse MAC
    Net:   eth0: ethernet@4a100000
    Hit any key to stop autoboot:  0 
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    ** Unable to read file boot.scr **
    ** Unable to read file uEnv.txt **
    switch to partitions #0, OK
    mmc0 is current device
    Scanning mmc 0:1...
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    4227584 bytes read in 357 ms (11.3 MiB/s)
    40236 bytes read in 5 ms (7.7 MiB/s)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8df2b000, end 8df37d2b ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.19.59-g5f8c1c6121 (oe-user@oe-host) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #1 PREEMPT Sat Oct 19 17:17:25 UTC 2019
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] OF: fdt: Machine model: TI AM335x EVM-SK
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] cma: Reserved 48 MiB at 0x8a800000
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM335X ES2.1 (sgx neon)
    [    0.000000] random: get_random_bytes called from start_kernel+0xa4/0x434 with crng_init=0
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64960
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=a96f1bfd-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.000000] Memory: 196296K/262144K available (9216K kernel code, 309K rwdata, 2692K rodata, 1024K init, 253K bss, 16696K reserved, 49152K cma-reserved, 0K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xd0800000 - 0xff800000   ( 752 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (10208 kB)
    [    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
    [    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 310 kB)
    [    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 254 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] 	Tasks RCU enabled.
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] IRQ: Found an INTC at 0x(ptrval) (revision 5.0) with 128 interrupts
    [    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [    0.000021] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [    0.000050] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [    0.000065] OMAP clocksource: timer1 at 24000000 Hz
    [    0.000309] timer_probe: no matching timers found
    [    0.000551] Console: colour dummy device 80x30
    [    0.000586] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.000596] This ensures that you still see kernel messages. Please
    [    0.000604] update your kernel commandline.
    [    0.000671] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
    [    0.118714] pid_max: default: 32768 minimum: 301
    [    0.118982] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.119003] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.120074] CPU: Testing write buffer coherency: ok
    [    0.120159] CPU0: Spectre v2: using BPIALL workaround
    [    0.121292] Setting up static identity map for 0x80100000 - 0x80100060
    [    0.121497] rcu: Hierarchical SRCU implementation.
    [    0.121966] EFI services will not be available.
    [    0.123912] devtmpfs: initialized
    [    0.135617] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.136140] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.136172] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.140997] pinctrl core: initialized pinctrl subsystem
    [    0.141989] DMI not present or invalid.
    [    0.142542] NET: Registered protocol family 16
    [    0.145699] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.171103] l4_wkup_cm:clk:0010:0: failed to disable
    [    0.226172] cpuidle: using governor ladder
    [    0.226224] cpuidle: using governor menu
    [    0.233361] OMAP GPIO hardware version 0.1
    [    0.247571] No ATAGs?
    [    0.247592] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.266925] edma 49000000.edma: TI EDMA DMA engine driver
    [    0.269395] v1_8d: supplied by vbat
    [    0.269814] v3_3d: supplied by vbat
    [    0.273416] SCSI subsystem initialized
    [    0.274065] media: Linux media interface: v0.10
    [    0.274138] videodev: Linux video capture interface: v2.00
    [    0.274265] pps_core: LinuxPPS API ver. 1 registered
    [    0.274277] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.274310] PTP clock support registered
    [    0.274360] EDAC MC: Ver: 3.0.0
    [    0.275798] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.276667] Advanced Linux Sound Architecture Driver Initialized.
    [    0.278269] clocksource: Switched to clocksource timer1
    [    0.290066] NET: Registered protocol family 2
    [    0.291193] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
    [    0.291237] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.291277] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.291315] TCP: Hash tables configured (established 2048 bind 2048)
    [    0.291449] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.291478] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.291682] NET: Registered protocol family 1
    [    0.292454] RPC: Registered named UNIX socket transport module.
    [    0.292473] RPC: Registered udp transport module.
    [    0.292482] RPC: Registered tcp transport module.
    [    0.292491] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.293729] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [    0.295533] Initialise system trusted keyrings
    [    0.295964] workingset: timestamp_bits=14 max_order=16 bucket_order=2
    [    0.302706] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.303715] NFS: Registering the id_resolver key type
    [    0.303767] Key type id_resolver registered
    [    0.303779] Key type id_legacy registered
    [    0.303839] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.306847] Key type asymmetric registered
    [    0.306871] Asymmetric key parser 'x509' registered
    [    0.306975] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.306994] io scheduler noop registered
    [    0.307005] io scheduler deadline registered
    [    0.307328] io scheduler cfq registered (default)
    [    0.307344] io scheduler mq-deadline registered
    [    0.307355] io scheduler kyber registered
    [    0.310328] pinctrl-single 44e10800.pinmux: 142 pins, size 568
    [    0.314930] pwm-backlight backlight: backlight supply power not found, using dummy regulator
    [    0.315055] pwm-backlight backlight: Linked as a consumer to regulator.0
    [    0.383358] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.388876] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
    [    1.028908] console [ttyS0] enabled
    [    1.035509] omap_rng 48310000.rng: Random Number Generator ver. 20
    [    1.041940] random: fast init done
    [    1.045617] random: crng init done
    [    1.051233] tilcdc-panel panel: found backlight
    [    1.056260] OF: graph: no port node found in /ocp/lcdc@4830e000
    [    1.063301] OF: graph: no port node found in /ocp/lcdc@4830e000
    [    1.069934] OF: graph: no port node found in /ocp/lcdc@4830e000
    [    1.075913] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    1.082619] [drm] No driver support for vblank timestamp query.
    [    1.138457] Console: switching to colour frame buffer device 60x34
    [    1.162343] tilcdc 4830e000.lcdc: fb0: DRM emulated frame buffer device
    [    1.169759] [drm] Initialized tilcdc 1.0.0 20121205 for 4830e000.lcdc on minor 0
    [    1.193984] brd: module loaded
    [    1.206315] loop: module loaded
    [    1.213403] libphy: Fixed MDIO Bus: probed
    [    1.288339] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [    1.296064] davinci_mdio 4a101000.mdio: detected phy mask fffffffc
    [    1.304603] libphy: 4a101000.mdio: probed
    [    1.308785] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver Atheros 8031 ethernet
    [    1.318080] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver Atheros 8031 ethernet
    [    1.328819] cpsw 4a100000.ethernet: Detected MACID = 40:bd:32:e8:de:2b
    [    1.335565] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
    [    1.342076] cpsw 4a100000.ethernet: ALE Table size 1024
    [    1.347385] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [    1.355797] cpsw 4a100000.ethernet: cpsw: Detected MACID = 40:bd:32:e8:de:2d
    [    1.364816] i2c /dev entries driver
    [    1.371213] cpuidle: enable-method property 'ti,am3352' found operations
    [    1.378666] sdhci: Secure Digital Host Controller Interface driver
    [    1.384910] sdhci: Copyright(c) Pierre Ossman
    [    1.390328] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22)
    [    1.399136] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    1.405949] sdhci-pltfm: SDHCI platform and OF driver helper
    [    1.414070] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.427109] NET: Registered protocol family 10
    [    1.433679] Segment Routing with IPv6
    [    1.437536] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    1.444608] NET: Registered protocol family 17
    [    1.449617] Key type dns_resolver registered
    [    1.454220] omap_voltage_late_init: Voltage driver support not added
    [    1.461912] Loading compiled-in X.509 certificates
    [    1.508557] tps65910 0-002d: No interrupt support, no core IRQ
    [    1.516748] vrtc: supplied by vbat
    [    1.524095] vio: supplied by vbat
    [    1.529098] vdd1: supplied by vbat
    [    1.534464] vdd2: supplied by vbat
    [    1.541313] vdig1: supplied by vbat
    [    1.546302] vdig2: supplied by vbat
    [    1.551323] vpll: supplied by vbat
    [    1.556200] vdac: supplied by vbat
    [    1.561129] vaux1: supplied by vbat
    [    1.566102] vaux2: supplied by vbat
    [    1.571099] vaux33: supplied by vbat
    [    1.576179] vmmc: supplied by vbat
    [    1.581117] vbb: supplied by vbat
    [    1.586590] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    1.592725] cpu cpu0: Linked as a consumer to regulator.9
    [    1.598411] cpu cpu0: Dropping the link to regulator.9
    [    1.603842] cpu cpu0: Linked as a consumer to regulator.9
    [    1.611296] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22)
    [    1.620272] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    1.625667] omap_hsmmc 48060000.mmc: Linked as a consumer to regulator.19
    [    1.661856] omap_hsmmc 481d8000.mmc: Linked as a consumer to regulator.6
    [    1.729888] mmc0: host does not support reading read-only switch, assuming write-enable
    [    1.743675] mmc0: new high speed SDHC card at address aaaa
    [    1.751722] mmcblk0: mmc0:aaaa SC16G 14.8 GiB 
    [    1.762759]  mmcblk0: p1 p2
    [    1.785918] input: gpio_buttons0 as /devices/platform/gpio_buttons0/input/input0
    [    1.794314] hctosys: unable to open rtc device (rtc0)
    [    1.800394] lis3_reg: disabling
    [    1.803659] v1_8d: disabling
    [    1.806602] v3_3d: disabling
    [    1.809915] ALSA device list:
    [    1.812968]   No soundcards found.
    [    2.881155] EXT4-fs (mmcblk0p2): recovery complete
    [    2.892152] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    2.900436] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    2.918914] devtmpfs: mounted
    [    2.923661] Freeing unused kernel memory: 1024K
    [    2.928890] Run /sbin/init as init process
    [    3.278846] systemd[1]: System time before build time, advancing clock.
    [    3.338787] systemd[1]: systemd 239 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
    [    3.361226] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2019.07!
    
    [    3.412675] systemd[1]: Set hostname to <am335x-evm>.
    [    3.769648] systemd[1]: File /lib/systemd/system/systemd-journald.service:36 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
    [    3.787537] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
    [    3.886040] systemd[1]: /lib/systemd/system/gadget-init.service:15: Unknown lvalue 'ExecStopPre' in section 'Service'
    [    4.354241] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    4.394752] systemd[1]: Created slice system-getty.slice.
    [  OK  ] Created slice system-getty.slice.
    [    4.429003] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    4.458923] systemd[1]: Reached target Swap.
    [  OK  ] Reached target Swap.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Reached target Paths.
    [  OK  ] Listening on Process Core Dump Socket.
    [  OK  ] Listening on udev Control Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [  OK  ] Listening on Journal Socket.
             Starting Journal Service...
             Starting udev Coldplug all Devices...
             Mounting Temporary Directory (/tmp)...
             Starting Create list of required st?�ce nodes for the current kernel...
             Starting Load Kernel Modules...
             Starting Remount Root and Kernel File Systems...
    [  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [    5.195237] cryptodev: loading out-of-tree module taints kernel.
    [    5.257383] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
             Mounting Kernel Debug File System...
    [    5.292485] cryptodev: driver 1.9 loaded.k Socket.
    
    [  OK  ] Created slice User and Session Slice.
    [  OK  ] Reached target Slices.
             Mounting POSIX Message Queue File System...
    [    5.437189] usbcore: registered new interface driver usbfs
    [  OK  ] Mounted Temporary Directory (/tmp).
    [  OK  ] Started Create list of required sta?�vice no[    5.469643] usbcore: registered new interface driver hub
    des for the current kernel.
    [  OK  ] Started Remount Root and Kernel File Systems.[    5.514171] usbcore: registered new device driver usb
    
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [    5.593342] usbcore: registered new interface driver ftdi_sio
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Started Journal Service.
    [    5.644586] usbserial: USB Serial support registered for FTDI USB Serial Device
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Started Load Kernel Modules.
    [  OK  ] Started Create Static Device Nodes in /dev.
    [    5.901548] systemd-journald[70]: Received request to flush runtime journal from PID 1
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /var/volatile...
             Mounting /media/ram...
    [  OK  ] Reached target Containers.
             Starting udev Kernel Device Manager...
             Mounting Kernel Configuration File System...
             Starting Apply Kernel Variables...
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Started udev Kernel Device Manager.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Network Time Synchronization...
             Starting Network Service...
             Starting Update UTMP about System Boot/Shutdown...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Network Service.
             Starting Network Name Resolution...
             Starting Wait for Network to be Configured...
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Synchronized.
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Reached target Network.
    [  OK  ] Reached target Host and Network Name Lookups.
    [    9.273204] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    9.290403] omap_rtc 44e3e000.rtc: already running
    [    9.407507] omap_rtc 44e3e000.rtc: registered as rtc0
    [    9.452715] tlv320aic3x-codec 0-001b: Linked as a consumer to regulator.5
    [    9.571231] tlv320aic3x-codec 0-001b: Linked as a consumer to regulator.4
    [  OK  ] Found device /dev/ttyS0.
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Created slice system-systemd\x2dbacklight.slice.
             Starting Load/Save Screen Backlight?�ightness of backlight:backlight...
    [  OK  ] Started Load/Save Screen Backlight Brightness of backlight:backlight.
    [  OK  ] Reached target System Initialization.
             Starting Reboot and dump vmcore via kexec...
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Started Daily rotation of log files.
    [  OK  ] Reached target Timers.
    [   10.661630] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [   10.721237] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [   10.843005] omap-aes 53500000.aes: will run requests pump with realtime priority
    [  OK  ] Listening on dropbear.socket.
    [   10.979244] [drm] Initialized pvr 1.17.4948957 20110701 for 56000000.sgx on minor 1
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
    [   11.110372] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
             Starting Permit User Sessions...
    [   11.145654] remoteproc remoteproc0: wkup_m3 is available
    [   11.225400] PM: Cannot get wkup_m3_ipc handle
    [   11.266723] remoteproc remoteproc0: powering up wkup_m3
    [  OK  ] Started D-Bus System Message Bus.
    [   11.324113] PM: Cannot get wkup_m3_ipc handle
    [   11.399091] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 242896
    [   11.407540] remoteproc remoteproc0: remote processor wkup_m3 is now up
    [   11.414125] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
             Starting Simple Network Management Protocol (SNMP) Daemon....
             Starting uim-sysfs.service...
    [   11.960315] asoc-simple-card sound: tlv320aic3x-hifi <-> 4803c000.mcasp mapping ok
             Starting Print notice about GPLv3 packages...
    [   12.106143] asoc-simple-card sound: ASoC: no DMI vendor name!
    [[   12.250848] PM: bootloader does not support rtc-only!
      OK  ] Started Job spooling tools.
             Starting Enable and configure wl18xx bluetooth stack...
             Starting Avahi mDNS/DNS-SD Stack...
    [   12.847231] net eth0: initializing cpsw version 1.12 (0)
             Starting Login Service...
    [  OK  ] Started Periodic Command Scheduler.
    [   13.080305] Atheros 8031 ethernet 4a101000.mdio:00: attached PHY driver [Atheros 8031 ethernet] (mii_bus:phy_addr=4a101000.mdio:00, irq=POLL)
             Starting Lightning Fast Webserver With Light System Requirements...
    [   13.421223] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
             Starting RPC Bind Service...
    [  OK  ] Started Redis In-Memory Data Store.
    [  OK  ] Started Reboot and dump vmcore via kexec.
    [   14.048573] net eth1: initializing cpsw version 1.12 (0)
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Lightning Fast Webserver With Light System Requirements.
    [   14.390319] Atheros 8031 ethernet 4a101000.mdio:01: attached PHY driver [Atheros 8031 ethernet] (mii_bus:phy_addr=4a101000.mdio:01, irq=POLL)
    [  OK  ] Started RPC Bind Service.
    [   14.615639] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [  OK  ] Found device /dev/ttyS3.
    [  OK  ] Started Enable and configure wl18xx bluetooth stack.
    [  OK  ] Started Simple Network Management Protocol (SNMP) Daemon..
    [   21.195918] TI-am335x-tsc TI-am335x-tsc.0.auto: ti,charge-delay not specified
    [   21.289219] input: ti-tsc as /devices/platform/ocp/44e0d000.tscadc/TI-am335x-tsc.0.auto/input/input1
    [  OK  ] Started uim-sysfs.service.
    [   21.970802] am335x-phy-driver 47401300.usb-phy: 47401300.usb-phy supply vcc not found, using dummy regulator
    [   22.124662] am335x-phy-driver 47401300.usb-phy: Linked as a consumer to regulator.0
    [   22.249513] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    [   22.254927] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
    [   22.267233] am335x-phy-driver 47401b00.usb-phy: 47401b00.usb-phy supply vcc not found, using dummy regulator
    [   22.392542] am335x-phy-driver 47401b00.usb-phy: Linked as a consumer to regulator.0
    [   22.433908] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
    [   22.540634] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   22.609274] usb usb1: Product: MUSB HDRC host driver
    [   22.614291] usb usb1: Manufacturer: Linux 4.19.59-g5f8c1c6121 musb-hcd
    [   22.715870] usb usb1: SerialNumber: musb-hdrc.0
    [   22.775852] hub 1-0:1.0: USB hub found
    [   22.821929] hub 1-0:1.0: 1 port detected
    [   22.894372] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [   22.989129] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
    [   23.074953] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
    [   23.178454] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   23.250051] usb usb2: Product: MUSB HDRC host driver
    [   23.255111] usb usb2: Manufacturer: Linux 4.19.59-g5f8c1c6121 musb-hcd
    [   23.378423] usb usb2: SerialNumber: musb-hdrc.1
    [   23.431324] hub 2-0:1.0: USB hub found
    [   23.518184] hub 2-0:1.0: 1 port detected
    [   23.561551] remoteproc remoteproc1: 4a334000.pru is available
    [   23.567528] pru-rproc 4a334000.pru: PRU rproc node pru@4a334000 probed successfully
    [   23.734107] remoteproc remoteproc2: 4a338000.pru is available
    [   23.773732] pru-rproc 4a338000.pru: PRU rproc node pru@4a338000 probed successfully
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
    	autoconf
    	bash-dev
    	bash
    	bc
    	binutils
    	cifs-utils
    	cpio
    	cpp-symlinks
    	cpp
    	dosfstools
    	elfutils
    	findutils
    	g++-symlinks
    	g++
    	gawk
    	gcc-symlinks
    	gcc
    	gdb
    	gdbserver
    	gettext
    	glmark2
    	gstreamer1.0-libav
    	gzip
    	hidapi
    	libbfd
    	libdw1
    	libelf1
    	libgdbm-compat4
    	libgdbm-dev
    	libgdbm6
    	libgettextlib
    	libgettextsrc
    	libgmp10
    	libidn2-0
    	libmavconn
    	libmpc3
    	libmpfr6
    	libreadline-dev
    	libreadline7
    	libunistring2
    	m4-dev
    	m4
    	make
    	mavlink
    	mavros-extras
    	mavros-msgs
    	mavros
    	nettle
    	pdm-anomaly-detection
    	socketcan-interface
    	which
    
    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    [  OK  ] Started Print notice about GPLv3 packages.
    [  OK  ] Found device /dev/mmcblk0p1.
             Starting Start USB gadget...
             Starting Save/Restore Sound Card State...
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
             Starting rc.pvr.service...
    [  OK  ] Created slice system-systemd\x2dfsck.slice.
             Starting File System Check on /dev/mmcblk0p1...
    [   32.294808] using random self ethernet address
    [   32.299835] using random host ethernet address
    [   32.304345] using host ethernet address: 40:BD:32:E8:DE:2D
    [   32.304399] using random self ethernet address
    [   32.329675] using random host ethernet address
    [   32.334489] using host ethernet address: 40:BD:32:E8:DE:2D
    [   32.344025] usb0: HOST MAC 40:bd:32:e8:de:2d
    [   32.370048] usb0: MAC c2:7f:ba:b3:de:43
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
    [  OK  ] Started Serial Getty on ttyS3.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS0.
    [  OK  ] Started Save/Restore Sound Card State.
    [  OK  ] Reached target Sound Card.
    [   32.712954] Mass Storage Function, version: 2009/09/11
    [   32.718194] LUN: removable file: (no medium)
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [   32.736371] LUN: removable read only file: /dev/mmcblk0p1
    [   32.746380] Number of LUNs=1
    [   32.750576] g_multi gadget: Multifunction Composite Gadget
    [   32.756479] g_multi gadget: g_multi ready
    [  OK  ] Started Login Service.
    [   32.811318] PVR_K: UM DDK-(4948957) and KM DDK-(4948957) match. [ OK ]
    [  OK  ] Found device /dev/ttyGS0.
    [  OK  ] Started rc.pvr.service.
    [   33.027017] g_multi gadget: high-speed config #1: Multifunction with RNDIS
             Starting weston.service...
    [   33.239583] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
    [   33.378482] IPv6: ADDRCONF(NETDEV_CHANGE): usb0: link becomes ready
    [  OK  ] Started weston.service.
             Starting telnetd.service...
             Starting Matrix GUI...
    [  OK  ] Started Start USB gadget.
    [  OK  ] Started File System Check on /dev/mmcblk0p1.
    [  OK  ] Started telnetd.service.
    [  OK  ] Started Matrix GUI.
             Starting busybox-udhcpd.service...
             Starting thttpd.service...
             Mounting /run/media/mmcblk0p1...
    [  OK  ] Started Serial Getty on ttyGS0.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
    [  OK  ] Started busybox-udhcpd.service.
    [  OK  ] Started thttpd.service.
    [  OK  ] Mounted /run/media/mmcblk0p1.
    [  OK  ] Started Synchronize System and HW clocks.
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | [   38.589740] hrtimer: interrupt took 230500 ns
    | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project http://arago-project.org am335x-evm ttyS0
    
    Arago 2019.07 am335x-evm ttyS0
    
    am335x-evm login: 

    ===============================================================================
    Q2. I want to create an SD Card that uses the image I built.
    ===============================================================================
    1. sudo ./setup.sh
    2. make all.
    3. make install.
    ===============================================================================

    ===============================================================================

    Q2-1. What should you choose for these two questions? I am using a VM.
    ===============================================================================
    Select Linux kernel location:
    1: TFTP
    2: SD card
    Select root file system location:
    1: NFS
    2: SD card

    ===============================================================================
    Q2-2. Where are the Boot Partition and Rootfs Partition located when creating the SD card image after the build is complete?
    ===============================================================================

    ===============================================================================
    Q3. Is it possible for me to build by modifying certain parts of the kernel?
           Also can I include it in the SD card image in the AM3358 Starter Kit?
    ===============================================================================

    Regards,
    Simon

  • Simon,

    simon kim said:
    Q1. I created an SD Card using the base image, referring to the URL you gave me.
    I have confirmed that the Linux GUI is showing, but the touch doesn't work.
    What am I doing wrong?

    Nothing wrong from your side. This is know issue:

    LCPD-8078 - AM3 SK: Touchscreen isn’t responsive - am335x-sk

    Refer to below pointers for more info and debug hints:

    http://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/Examples_and_Demos_Matrix_User_Guide.html

    http://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/How_to_Guides_Target.html#how-to-recalibrate-the-touchscreen

    https://e2e.ti.com/support/processors/f/791/t/843191

    https://e2e.ti.com/support/processors/f/791/t/842004

    https://e2e.ti.com/support/processors/f/791/t/834380

    https://e2e.ti.com/support/processors/f/791/t/803011



    simon kim said:
    Q2. I want to create an SD Card that uses the image I built.

    simon kim said:
    Q2-1. What should you choose for these two questions? I am using a VM.

    For SD card storage of your kernel and modules, you need to select 2 SD card


    simon kim said:
    Q2-2. Where are the Boot Partition and Rootfs Partition located when creating the SD card image after the build is complete?

    These two partitions are located at the SD card. When I mount my SD card on my Ubuntu host machine through USB port, I have:

    /media/pbotev/boot3/MLO

    /media/pbotev/boot3/u-boot.img


    /media/pbotev/rootfs1/boot/zImage-4.19.59-g5f8c1c6121

    /media/pbotev/rootfs1/boot/am335x-evmsk.dtb


    Regards,
    Pavel

  • Dear. Pavel


    I used the method you gave me but still the touch doesn't work.

    Is there a point I made a mistake?

    The procedure is as follows.
    ================================================================================
    1. sudo ./create-sdcard.sh
    ================================================================================
    1.1 Check boot partition.
    vm@ubuntu:/$ ls -l media/vm/boot/
    total 885
    -rw-r--r-- 1 vm vm 108412 Dec 4 14:57 MLO
    -rw-r--r-- 1 vm vm 797488 Dec 4 14:57 u-boot.img

    ================================================================================
    2. Insert SD card and connect power.
    ================================================================================
    Perform LCD calibrattion during boot ( Touch 3 places specified by the pointer )

    ================================================================================
    3. Check touch in Matrix GUI
    ================================================================================
    Touch doesn't work.

    ================================================================================
    4. How to Recalibrate the Touchscreen
    ================================================================================
    4.1 Check pointercal
    root@am335x-evm:~# ls -l /etc/pointercal
    ls: /etc/pointercal: No such file or directory

    root@am335x-evm:~# ls -l /run/media/mmcblk0p1/pointercal
    ls: /run/media/mmcblk0p1/pointercal: No such file or directory

    => There is no pointercal file anywhere.

    ================================================================================
    4.2 Check ws-calibrate.rules
    root@am335x-evm:/# ls -l /run/media/mmcblk0p1/ws-calibrate.rules
    -rwxrwx--- 1 root disk 102 Oct 19 16:14 /run/media/mmcblk0p1/ws-calibrate.rules

    root@am335x-evm:/# ls -l /etc/udev/rules.d/ws-calibrate.rules
    -rw-r--r-- 1 root root 102 Oct 19 16:14 /etc/udev/rules.d/ws-calibrate.rules

    ================================================================================
    4.3 Recalibrating by Deleting ws-calibrate.rules
    4.3.1 Shuts down local Matrix
    root@am335x-evm:/# /etc/init.d/matrix-gui-2.0 stop
    Stopping Matrix GUI application.

    4.3.2 Delete ws-calibrate.rules
    rm /etc/udev/rules.d/ws-calibrate.rules
    rm /run/media/mmcblk0p1/ws-calibrate.rules

    4.3.3 Calibrate the touchscreen
    root@am335x-evm:/# /etc/init.d/weston start
    Starting Weston
    Calibrating touchscreen (first time only)

    *** To continue, please complete the touchscreen calibration
    *** by touching the crosshairs on the LCD screencould not load cursor 'dnd-move'
    could not load cursor 'dnd-copy'
    could not load cursor 'dnd-none'
    .

    => Touch 3 places specified by the pointer

    4.3.4 reboot

    ================================================================================
    5. Recalibrating over Serial Console
    ================================================================================
    5.1 Shuts down local Matrix
    root@am335x-evm:~# /etc/init.d/matrix-gui-2.0 stop
    Stopping Matrix GUI application.

    5.2 ts_calibrate command
    root@am335x-evm:~# export TSLIB_CALIBFILE=/run/media/mmcblk0p1/pointercal
    root@am335x-evm:~# ts_calibrate
    -sh: ts_calibrate: command not found

    => ts_calibrate command is not available.


    Regards,
    Simon

  • Simon,

    You have upgrade your AM335x StarterKit to the latest Linux SDK successful.

    I would suggest you to open new e2e thread regarding touchscreen issue, as this issue is NOT related to the SDK upgrade process.

    Regards,
    Pavel