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.

Linux/AM3359: U-boot issue

Part Number: AM3359

Tool/software: Linux

Hi Ti expert,  

================Environmental description===========================================

- Custom Board with processor AM3352
- SDK-File:ti-processor-sdk-linux-am335x-evm-04.03.00.05
- Boot via SD-CARD, Using the create-sdcard.sh to build a 2 partition sd card (boot and rootfs)
- Base of our configuration is the AM335x-EVMSK configuration

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

I found the E2E thread title of "U-boot can't find DTS file" and I to try practice the steps in the content. 

Because I need to create a customer new platform the name is "IWA_board" base on am335x-evmsk board structure. 

So, I try to modified file content  and step by step and  below is my change history , After a successfull build process, i copied the MLO and the u-boot.bin file to the boot partition 

then,  after boot on is no any boot message in the putty debug console.

=======================================History====================================================================

color define : ADD   Modify   remove

1. ~/ti-processor-sdk-linux-am335x-evm-04.03.00.05/board-support/u-boot-2017.01+gitAUTOINC+c68ed086bd-gc68ed086bd/arch/arm/kconfig
Add Line:1060
source "board/ti//IWA_am335x/Kconfig

2.~/ti-processor-sdk-linux-am335x-evm-04.03.00.05/board-support/u-boot-2017.01+gitAUTOINC+c68ed086bd-gc68ed086bd/arch/arm/dts
Add Line:125~133

dtb-$(CONFIG_AM33XX) += am335x-boneblack.dtb am335x-bone.dtb \
am335x-draco.dtb \
am335x-evm.dtb \
am335x-evmsk.dtb \
am335x-bonegreen.dtb \
am335x-icev2.dtb \
am335x-pxm50.dtb \
am335x-rut.dtb \
IWA_board.dtb

3.board-support/u-boot-2017.01+gitAUTOINC+c68ed086bd-gc68ed086bd/arch/arm/mach-omap2/am33xx/Kconfig
Add Line :47~51

config TARGET_IWA_BOARD
bool "Support IWA_board"
select DM
select DM_SERIAL
select DM_GPIO

4.board-support/u-boot-2017.01+gitAUTOINC+c68ed086bd-gc68ed086bd/configs/IWA_Board_defconfig

CONFIG_ARM=y
CONFIG_AM33XX=y
CONFIG_TARGET_IWA_BOARD=y
CONFIG_DEFAULT_DEVICE_TREE="IWA_board"
CONFIG_SPL_OF_LIBFDT=y
CONFIG_OF_LIBFDT=y
CONFIG_SPL_STACK_R_ADDR=0x82000000
CONFIG_DISTRO_DEFAULTS=y
CONFIG_SYS_EXTRA_OPTIONS="NAND"
CONFIG_SYS_CONSOLE_INFO_QUIET=y
CONFIG_VERSION_VARIABLE=y
CONFIG_SPL=y
CONFIG_SPL_STACK_R=y
CONFIG_SPL_MTD_SUPPORT=y
CONFIG_SPL_MUSB_NEW_SUPPORT=y
CONFIG_SPL_NET_SUPPORT=y
CONFIG_SPL_USB_GADGET_SUPPORT=y
CONFIG_SPL_USBETH_SUPPORT=y
CONFIG_SPL_OS_BOOT=y
# CONFIG_CMD_IMLS is not set
CONFIG_CMD_ASKENV=y
# CONFIG_CMD_FLASH is not set
CONFIG_CMD_MMC=y
CONFIG_CMD_SF=y
CONFIG_CMD_SPI=y
CONFIG_CMD_I2C=y
CONFIG_CMD_USB=y
CONFIG_CMD_DFU=y
CONFIG_CMD_GPIO=y
# CONFIG_CMD_SETEXPR is not set
CONFIG_CMD_EXT4_WRITE=y
CONFIG_OF_CONTROL=y
CONFIG_OF_LIST="IWA_board"
# CONFIG_BLK is not set
CONFIG_DFU_MMC=y
CONFIG_DFU_NAND=y
CONFIG_DFU_RAM=y
CONFIG_DM_I2C=y
CONFIG_DM_MMC=y
# CONFIG_DM_MMC_OPS is not set
CONFIG_SPI_FLASH=y
CONFIG_SPI_FLASH_WINBOND=y
CONFIG_SYS_NS16550=y
CONFIG_TIMER=y
CONFIG_OMAP_TIMER=y
CONFIG_USB=y
CONFIG_USB_MUSB_HOST=y
CONFIG_USB_MUSB_GADGET=y
CONFIG_USB_STORAGE=y
CONFIG_USB_GADGET=y
CONFIG_USB_GADGET_DOWNLOAD=y
CONFIG_G_DNL_MANUFACTURER="Texas Instruments"
CONFIG_G_DNL_VENDOR_NUM=0x0451
CONFIG_G_DNL_PRODUCT_NUM=0xd022
CONFIG_USE_TINY_PRINTF=y
CONFIG_RSA=y
CONFIG_FIT=y
CONFIG_MISC=y
CONFIG_DM_USB=y
CONFIG_USB_MUSB_TI=y
CONFIG_SPL_LOAD_FIT=y
CONFIG_OF_BOARD_SETUP=y
CONFIG_DM_NAND=y
CONFIG_SPL_NET_VCI_STRING="AM335x U-Boot SPL"
CONFIG_SPL_ETH_SUPPORT=y

5. board-support/u-boot-2017.01+gitAUTOINC+c68ed086bd-gc68ed086bd/include/configs/am335x_evm.h
modify Line:114

"fdtfile=IWA_board.dtb\0" \     This will force u-boot to use the IWA device tree file.

I copied the same am335x-evmsk.dts file and  I only modified the file name to WIA_board.dts and stored it under u-boot \ arch \ arm \dts   florder    


remove below :

"findfdt="\
"if test $board_name = A335BONE; then " \
"setenv fdtfile am335x-bone.dtb; fi; " \
"if test $board_name = A335BNLT; then " \
"setenv fdtfile am335x-boneblack.dtb; fi; " \
"if test $board_name = BBG1; then " \
"setenv fdtfile am335x-bonegreen.dtb; fi; " \
"if test $board_name = A33515BB; then " \
"setenv fdtfile am335x-evm.dtb; fi; " \
"if test $board_name = A335X_SK; then " \
"setenv fdtfile am335x-evmsk.dtb; fi; " \
"if test $board_name = A335_ICE; then " \
"setenv fdtfile am335x-icev2.dtb; fi; " \
"if test $fdtfile = undefined; then " \
"echo WARNING: Could not determine device tree to use; fi; \0" \

If I want to customize the dedicated IWA platform to boot on the system, I also need to modify or set what place?   

BR

Egbert Liu

    

  • Hello Egbert,

    Please, apply this patch.

    cd <Processor SDK>/board-support/u-boot-<version>/
    git apply 0001-Add-new-AM335X-SK-based-custom-board-to-U-Boot.patch

    Change the U-Boot machine name from UBOOT_MACHINE=am335x_evm_config to UBOOT_MACHINE=IWA_Board_config in <Processor SDK>Rules.make and type make u-boot_clean && make u-boot from the top Processor SDK directory to rebuild the U-Boot.

    Put the SD card to your host machine, copy the new images (MLO, u-boot.img) to boot partition and am335x-evmsk.dtb as IWA_board.dtb to rootfs with the following command.
    sudo cp /media/<username>/rootfs/boot/am335x-evmsk.dtb /media/<username>/rootfs/boot/IWA_board.dtb

    Best regards,
    Kemal

  • I retry again below step to below, but put SD card to my customer board can not boot on by UART debug port to check.

    Could you please suggest the necessary changes required?  

    Whether system to read EEPROM Board ID cause by put SD card boot on Fail?

    BR

    Egbert Liu

    < Step1>   unzip and install Pur-SDK code to home/Egbert folder : 

    < Step2>   Copy patch file to u-boot-xxxxxx under blow

    < Step3>   Process the command :  git apply 0001-Add-new-AM335X-SK-based-custom-board-to-U-Boot.patch

    < Step4 >   Change the U-Boot machine name from UBOOT_MACHINE=am335x_evm_config to UBOOT_MACHINE=IWA_Board_config in <Processor SDK>Rules.make 

    < Step5 >  Type make u-boot_clean && make u-boot from the top Processor SDK directory to rebuild the U-Boot.

    < Step6 >   Rebuild PASS   and  put the SD card to your host machine, copy the new images (MLO, u-boot.img) to boot partition

     < Step7 > am335x-evmsk.dtb as IWA_board.dtb to rootfs with the following command.
    sudo cp /media/<username>/rootfs/boot/am335x-evmsk.dtb /media/<username>/rootfs/boot/IWA_board.dtb

     < Step8 >  Check the IWA_board.dtb file in SD/rootfs/boot  undder below 

  • I've already done this and harcoded your board with AM335x Starter Kit's settings here.

    diff --git a/board/ti/common/board_detect.c b/board/ti/common/board_detect.c
    index 64149581c5..7ac4191624 100644
    --- a/board/ti/common/board_detect.c
    +++ b/board/ti/common/board_detect.c
    @@ -169,7 +169,7 @@ already_set:
     
     int __maybe_unused ti_i2c_eeprom_am_get(int bus_addr, int dev_addr)
     {
    -    int rc;
    +    //int rc;
         struct ti_am_eeprom am_ep;
         struct ti_common_eeprom *ep;
     
    @@ -186,13 +186,13 @@ int __maybe_unused ti_i2c_eeprom_am_get(int bus_addr, int dev_addr)
         ep->serial[0] = 0x0;
         ep->config[0] = 0x0;
     
    -    rc = ti_i2c_eeprom_get(bus_addr, dev_addr, TI_EEPROM_HEADER_MAGIC,
    +    /*rc = ti_i2c_eeprom_get(bus_addr, dev_addr, TI_EEPROM_HEADER_MAGIC,
                        sizeof(am_ep), (uint8_t *)&am_ep);
         if (rc)
    -        return rc;
    +        return rc;*/
     
         ep->header = am_ep.header;
    -    strlcpy(ep->name, am_ep.name, TI_EEPROM_HDR_NAME_LEN + 1);
    +    strlcpy(ep->name, "IWA_BOARD", TI_EEPROM_HDR_NAME_LEN + 1);
         ti_eeprom_string_cleanup(ep->name);
     
         /* BeagleBone Green '1' eeprom, board_rev: 0x1a 0x00 0x00 0x00 */



    See also sdram settings here.

    +void sdram_init(void)
    +{
    +	if (board_is_evm_sk() || board_is_iwa_board()) {
    +		/*
    +		 * EVM SK 1.2A and later use gpio0_7 to enable DDR3.
    +		 * This is safe enough to do on older revs.
    +		 */
    +		gpio_request(GPIO_DDR_VTT_EN, "ddr_vtt_en");
    +		gpio_direction_output(GPIO_DDR_VTT_EN, 1);
    +	}
    +
    +	if (board_is_icev2()) {
    +		gpio_request(ICE_GPIO_DDR_VTT_EN, "ddr_vtt_en");
    +		gpio_direction_output(ICE_GPIO_DDR_VTT_EN, 1);
    +	}
    +
    +	if (board_is_evm_sk() || board_is_iwa_board())
    +		config_ddr(303, &ioregs_evmsk, &ddr3_data,
    +			   &ddr3_cmd_ctrl_data, &ddr3_emif_reg_data, 0);
    +	else if (board_is_bone_lt())
    +		config_ddr(400, &ioregs_bonelt,
    +			   &ddr3_beagleblack_data,
    +			   &ddr3_beagleblack_cmd_ctrl_data,
    +			   &ddr3_beagleblack_emif_reg_data, 0);
    +	else if (board_is_evm_15_or_later())
    +		config_ddr(303, &ioregs_evm15, &ddr3_evm_data,
    +			   &ddr3_evm_cmd_ctrl_data, &ddr3_evm_emif_reg_data, 0);
    +	else if (board_is_icev2())
    +		config_ddr(400, &ioregs_evmsk, &ddr3_icev2_data,
    +			   &ddr3_icev2_cmd_ctrl_data, &ddr3_icev2_emif_reg_data,
    +			   0);
    +	else if (board_is_gp_evm())
    +		config_ddr(266, &ioregs, &ddr2_data,
    +			   &ddr2_cmd_ctrl_data, &ddr2_evm_emif_reg_data, 0);
    +	else
    +		config_ddr(266, &ioregs, &ddr2_data,
    +			   &ddr2_cmd_ctrl_data, &ddr2_emif_reg_data, 0);
    +}
    +#endif
  • Hi Kemal,

    I double check the 2 porint tha same and right .

    Could you please suggest the necessary changes required about boot fail problem?

    I will be grateful for any help you can provide or information

    BR
    Egbert Liu
  • Can you change the strlcpy(ep->name, "IWA_BOARD", TI_EEPROM_HDR_NAME_LEN + 1); line to strlcpy(ep->name, "A335X_SK", TI_EEPROM_HDR_NAME_LEN + 1); in <Processor SDK>/board-support/u-boot-<version>/board/ti/common/board_detect.c, rebuild, reflash (copy the MLO and u-boot.img to SD card's boot partition) and see if the board boots?

  • Hi Kemal,

    I modify this  A335X_SK string of Board.c and rebuild u-boot and put MLO, image to SD card.

    But Still, Boot on fail.

     


     

     

    BR

    埃格伯特劉  

  • Hi Kemal,

    Very sorry to cause you trouble

    Because the problem occurs on HW.

    I have found the problem of not boot on the cause by the UART port re-layout on my customer board, so I can't

    display it, I change the other board and already can boot on.

    so, I restored the original IWA_board string in board.c

    In addition, I check the bootloader log file 

    =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2018.09.04 17:26:45 =~=~=~=~=~=~=~=~=~=~=~=
    
    U-Boot SPL 2017.01-00458-ga0c95a6-dirty (Sep 04 2018 - 17:12:18)
    Trying to boot from MMC1
    reading uboot.env
    
    ** Unable to read "uboot.env" from mmc0:1 **
    Using default environment
    
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    
    
    U-Boot 2017.01-00458-ga0c95a6-dirty (Sep 04 2018 - 17:12:18 +0800)
    
    CPU  : AM335X-GP rev 2.1
    Model: IWA BOARD
    DRAM:  256 MiB
    NAND:  0 MiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    reading uboot.env
    
    ** Unable to read "uboot.env" from mmc0:1 **
    Using default environment
    
    <ethaddr> not set. Validating first E-fuse MAC
    Net:   cpsw, usb_ether
    Hit any key to stop autoboot:  2  1  0 
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    reading boot.scr
    ** Unable to read file boot.scr **
    reading uEnv.txt
    ** 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
    3627816 bytes read in 814 ms (4.2 MiB/s)
    41577 bytes read in 49 ms (828.1 KiB/s)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8df1a000, end 8df27268 ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.9.69-g9ce43c71ae (gtbldadm@ubuntu-16) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #1 PREEMPT Mon Mar 26 12:11:28 EDT 2018
    [    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] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] cma: Reserved 48 MiB at 0x8a800000
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM335X ES2.1 (neon)
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 64960
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=db927eaf-02 rw rootfstype=ext4 rootwait
    [    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
    [    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: 198316K/262144K available (7168K kernel code, 281K rwdata, 2424K rodata, 1024K init, 280K bss, 14676K 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 : 0xc0008000 - 0xc0800000   (8160 kB)
    [    0.000000]       .init : 0xc0b00000 - 0xc0c00000   (1024 kB)
    [    0.000000]       .data : 0xc0c00000 - 0xc0c46750   ( 282 kB)
    [    0.000000]        .bss : 0xc0c46750 - 0xc0c8c9b4   ( 281 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000] 	Build-time adjustment of leaf fanout to 32.
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [    0.000033] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [    0.000082] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [    0.000105] OMAP clocksource: timer1 at 24000000 Hz
    [    0.000534] clocksource_probe: no matching clocksources found
    [    0.000878] Console: colour dummy device 80x30
    [    0.000934] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.000951] This ensures that you still see kernel messages. Please
    [    0.000965] update your kernel commandline.
    [    0.001009] Calibrating delay loop... 298.59 BogoMIPS (lpj=1492992)
    [    0.067626] pid_max: default: 32768 minimum: 301
    [    0.067925] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.067954] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.069668] CPU: Testing write buffer coherency: ok
    [    0.070354] Setting up static identity map for 0x80100000 - 0x80100060
    [    0.072328] EFI services will not be available.
    [    0.075694] devtmpfs: initialized
    [    0.108910] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.109672] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.109729] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.116798] pinctrl core: initialized pinctrl subsystem
    [    0.119781] NET: Registered protocol family 16
    [    0.124351] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.159803] omap_hwmod: debugss: _wait_target_disable failed
    [    0.247711] cpuidle: using governor ladder
    [    0.277691] cpuidle: using governor menu
    [    0.293757] OMAP GPIO hardware version 0.1
    [    0.335013] No ATAGs?
    [    0.335065] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.399536] edma 49000000.edma: TI EDMA DMA engine driver
    [    0.401575] reg-fixed-voltage fixedregulator2: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_wl12xx_gpio, deferring probe
    [    0.409739] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
    [    0.410102] media: Linux media interface: v0.10
    [    0.410273] Linux video capture interface: v2.00
    [    0.410384] pps_core: LinuxPPS API ver. 1 registered
    [    0.410404] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.410465] PTP clock support registered
    [    0.410567] EDAC MC: Ver: 3.0.0
    [    0.413061] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.413810] Advanced Linux Sound Architecture Driver Initialized.
    [    0.416459] clocksource: Switched to clocksource timer1
    [    0.443593] NET: Registered protocol family 2
    [    0.445305] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.445398] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.445470] TCP: Hash tables configured (established 2048 bind 2048)
    [    0.445624] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.445672] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.445970] NET: Registered protocol family 1
    [    0.447038] RPC: Registered named UNIX socket transport module.
    [    0.447073] RPC: Registered udp transport module.
    [    0.447090] RPC: Registered tcp transport module.
    [    0.447107] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.448944] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [    0.454509] workingset: timestamp_bits=14 max_order=16 bucket_order=2
    [    0.475907] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.478489] NFS: Registering the id_resolver key type
    [    0.478579] Key type id_resolver registered
    [    0.478599] Key type id_legacy registered
    [    0.478706] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.483251] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
    [    0.483290] io scheduler noop registered
    [    0.483311] io scheduler deadline registered
    [    0.483689] io scheduler cfq registered (default)
    [    0.487407] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [    0.494499] backlight supply power not found, using dummy regulator
    [    0.657947] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.667330] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a 8250
    [    1.270289] console [ttyS0] enabled
    [    1.277890] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [    1.284883] [drm] Initialized
    [    1.290984] panel panel: found backlight
    [    1.296972] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    1.303648] [drm] No driver support for vblank timestamp query.
    [    1.350393] Console: switching to colour frame buffer device 60x34
    [    1.361912] tilcdc 4830e000.lcdc: fb0:  frame buffer device
    [    1.430351] brd: module loaded
    [    1.449911] loop: module loaded
    [    1.459235] libphy: Fixed MDIO Bus: probed
    [    1.536539] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [    1.542732] davinci_mdio 4a101000.mdio: detected phy mask fffffffc
    [    1.551533] libphy: 4a101000.mdio: probed
    [    1.555616] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver Atheros 8031 ethernet
    [    1.565120] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver Atheros 8031 ethernet
    [    1.576099] cpsw 4a100000.ethernet: Detected MACID = 84:eb:18:e9:af:88
    [    1.583245] cpsw 4a100000.ethernet: device node lookup for pps timer failed
    [    1.590464] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [    1.600333] cpsw 4a100000.ethernet: cpsw: Detected MACID = 84:eb:18:e9:af:8a
    [    1.611384] mousedev: PS/2 mouse device common for all mice
    [    1.618010] i2c /dev entries driver
    [    1.625768] cpuidle: enable-method property 'ti,am3352' found operations
    [    1.634932] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    1.645569] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.658544] NET: Registered protocol family 10
    [    1.666721] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    1.674666] NET: Registered protocol family 17
    [    1.679886] Key type dns_resolver registered
    [    1.684770] omap_voltage_late_init: Voltage driver support not added
    [    1.736837] tps65910 0-002d: No interrupt support, no core IRQ
    [    1.746558] vrtc: supplied by vbat
    [    1.754712] vio: supplied by vbat
    [    1.760423] vdd1: supplied by vbat
    [    1.764347] random: fast init done
    [    1.770132] vdd2: supplied by vbat
    [    1.778638] vdig1: supplied by vbat
    [    1.784375] vdig2: supplied by vbat
    [    1.790174] vpll: supplied by vbat
    [    1.795810] vdac: supplied by vbat
    [    1.801514] vaux1: supplied by vbat
    [    1.807257] vaux2: supplied by vbat
    [    1.812995] vaux33: supplied by vbat
    [    1.818914] vmmc: supplied by vbat
    [    1.824590] vbb: supplied by vbat
    [    1.831142] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    1.838425] cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 600000 KHz
    [    1.845905] cpu cpu0: dev_pm_opp_set_rate: failed to find current OPP for freq 600000000 (-34)
    [    1.855488] cpufreq: cpufreq_online: CPU0: Unlisted initial frequency changed to: 300000 KHz
    [    1.867479] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    2.038778] mmc0: host does not support reading read-only switch, assuming write-enable
    [    2.053586] mmc0: new high speed SDHC card at address aaaa
    [    2.061881] mmcblk0: mmc0:aaaa SC16G 14.8 GiB 
    [    2.074575]  mmcblk0: p1 p2
    [    2.082570] input: gpio_buttons0 as /devices/platform/gpio_buttons0/input/input0
    [    2.092003] hctosys: unable to open rtc device (rtc0)
    [    2.093771] lis3_reg: disabling
    [    2.099569] ALSA device list:
    [    2.099586]   No soundcards found.
    [    2.182776] mmc1: new high speed MMC card at address 0001
    [    2.195296] mmcblk1: mmc1:0001 R1J56L 14.7 GiB 
    [    2.205642] mmcblk1boot0: mmc1:0001 R1J56L partition 1 8.00 MiB
    [    2.217511] mmcblk1boot1: mmc1:0001 R1J56L partition 2 8.00 MiB
    [    3.352956] EXT4-fs (mmcblk0p2): recovery complete
    [    3.362630] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    3.371188] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    3.391268] devtmpfs: mounted
    [    3.402599] Freeing unused kernel memory: 1024K
    [    3.765549] systemd[1]: System time before build time, advancing clock.
    [    3.908549] systemd[1]: systemd 230 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
    [    3.929552] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2017.12!
    
    [    3.972448] systemd[1]: Set hostname to <am335x-evm>.
    [    4.813914] systemd[1]: [/lib/systemd/system/gadget-init.service:15] Unknown lvalue 'ExecStopPre' in section 'Service'
    [    5.908777] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [    5.948923] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    5.987884] systemd[1]: Reached target Swap.
    [  OK  ] Reached target Swap.
    [    6.029930] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    6.077344] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    6.108434] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on Syslog Socket.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Reached target Paths.
    [  OK  ] Listening on Network Service Netlink Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [  OK  ] Listening on Journal Socket (/dev/log).
    [  OK  ] Created slice System Slice.
             Mounting Debug File System...
    [  OK  ] Created slice system-getty.slice.
             Starting Journal Service...
    [  OK  ] Reached target Slices.
             Starting alignment.service...
             Starting Setup Virtual Console...
             Mounting POSIX Message Queue File System...
    [  OK  ] Reached target Remote File Systems.
             Starting Create Static Device Nodes in /dev...
             Mounting Temporary Directory...
             Starting Remount Root and Kernel File Systems...
             Starting Load Kernel Modules...
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [    7.774249] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [  OK  ] Mounted POSIX Message Queue File System.
    [    7.927933] cryptodev: loading out-of-tree module taints kernel.
    [  OK  ] Mounted Debug File System.
    [  OK  ] Mounted Temporary Directory.
    [    7.972618] cryptodev: driver 1.8 loaded.
    [  OK  ] Started alignment.service.
    [  OK  ] Started Setup Virtual Console.
    [    8.143841] usbcore: registered new interface driver usbfs
    [    8.177951] usbcore: registered new interface driver hub
    [  OK  ] Started Create Static Device Nodes in /dev.
    [    8.187871] usbcore: registered new device driver usb
    [    8.235845] usbcore: registered new interface driver usbserial
    [  OK  ] Started Remount Root and Kernel File Systems.
    [    8.337240] usbcore: registered new interface driver ftdi_sio
    [    8.343606] usbserial: USB Serial support registered for FTDI USB Serial Device
             Starting udev Coldplug all Devices...
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
             Mounting /var/volatile...
             Starting udev Kernel Device Manager...
    [    9.107328] systemd[1]: Mounted /var/volatile.
    [  OK  ] Mounted /var/volatile.
    [    9.148357] systemd[1]: Mounted /media/ram.
    [  OK  ] Mounted /media/ram.
    [    9.221614] systemd[1]: Started Load Kernel Modules.
    [  OK  ] Started Load Kernel Modules.
    [    9.293959] systemd[1]: Started Journal Service.
    [  OK  ] Started Journal Service.
             Starting Flush Journal to Persistent Storage...
             Mounting Configuration File System...
             Starting Apply Kernel Variables...
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
    [  OK  ] Mounted Configuration File System.
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started udev Kernel Device Manager.
    [   10.932372] systemd-journald[91]: Received request to flush runtime journal from PID 1
    [  OK  ] Started Flush Journal to Persistent Storage.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Update UTMP about System Boot/Shutdown...
             Starting Network Time Synchronization...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Synchronized.
    [  OK  ] Created slice system-systemd\x2dbacklight.slice.
             Starting Load/Save Screen Backlight...htness of backlight:backlight...
    [   18.979313] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [  OK  ] Found device /dev/ttyS0.
    [  OK  ] Started Load/Save Screen Backlight Brightness of backlight:backlight.
    [   19.811535] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Listening on dropbear.socket.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
             Starting Print notice about GPLv3 packages...
    [  OK  ] Started Kernel Logging Service.
    [  OK  ] Started System Logging Service.
             Starting Telephony service...
    [  OK  ] Started Job spooling tools.
             Starting uim-sysfs.service...
    [  OK  ] Started Periodic Command Scheduler.
    [  OK  ] Started D-Bus System Message Bus.
    [   24.395207] omap_hwmod: pruss: _wait_target_ready failed: -16
    [   24.612518] pruss-soc-bus 4a326000.pruss-soc-bus: use pm_runtime_put_sync_suspend() in driver?
    [   24.760565] pruss-soc-bus 4a326000.pruss-soc-bus: couldn't enable module
    [   24.877074] pruss-soc-bus: probe of 4a326000.pruss-soc-bus failed with error -16
    [   24.887400] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [   25.068141] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [   25.146933] omap-aes 53500000.aes: will run requests pump with realtime priority
    [   25.331008] omap_hwmod: gfx: failed to hardreset
    [   25.717006] pvrsrvkm 56000000.sgx: Unable to reset SGX!
    [   25.871600] omap_hwmod: gfx: _wait_target_ready failed: -16
    [   26.037095] pvrsrvkm 56000000.sgx: use pm_runtime_put_sync_suspend() in driver?
    [   26.044669] PVR_K:(Error): EnableSGXClocks: pm_runtime_get_sync failed (16)
    [   26.252085] remoteproc remoteproc0: wkup_m3 is available
    [   26.282227] PVR_K:(Error): SysInitialise: Failed to Enable system clocks (175)
    [   27.383968] remoteproc remoteproc0: powering up wkup_m3
    [   27.401853] PM: Cannot get wkup_m3_ipc handle
    [   27.602700] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 224268
    [   27.769290] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
    [   27.884908] remoteproc remoteproc0: remote processor wkup_m3 is now up
    [   28.136831] random: crng init done
    [  OK  ] Started Telephony service.
             Starting Login Service...
             Starting Avahi mDNS/DNS-SD Stack...
    [   29.533964] Bluetooth: Core ver 2.22
    [   29.660834] NET: Registered protocol family 31
    [   29.665398] Bluetooth: HCI device and connection manager initialized
             Starting Network Service...
    [   29.906935] Bluetooth: HCI socket layer initialized
    [   29.911977] Bluetooth: L2CAP socket layer initialized
    [   30.099189] Bluetooth: SCO socket layer initialized
    [   30.200182] asoc-simple-card sound: tlv320aic3x-hifi <-> 4803c000.mcasp mapping ok
    [   30.589653] PM: bootloader does not support rtc-only!
    [  OK  ] Found device /dev/ttyS3.
    [  OK  ] Started Network Service.
    [   34.260491] net eth1: initializing cpsw version 1.12 (0)
    [   34.373192] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
    [   34.519371] cpsw 4a100000.ethernet: ALE Table size 1024
    [   34.742739] Atheros 8031 ethernet 4a101000.mdio:01: attached PHY driver [Atheros 8031 ethernet] (mii_bus:phy_addr=4a101000.mdio:01, irq=-1)
    [   35.063547] cpts ptp bc clkid 0
    [   35.318447] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [   35.873054] net eth0: initializing cpsw version 1.12 (0)
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [   36.237912] Atheros 8031 ethernet 4a101000.mdio:00: attached PHY driver [Atheros 8031 ethernet] (mii_bus:phy_addr=4a101000.mdio:00, irq=-1)
    [  OK  ] Started Login Service.
    [   36.706916] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
             Starting Wait for Network to be Configured...
    [  OK  ] Reached target Network.
             Starting Network Name Resolution...
             Starting Lightning Fast Webserver With Light System Requirements...
             Starting Permit User Sessions...
    [  OK  ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
             Starting Simple Network Management Protocol (SNMP) Daemon....
             Starting Enable and configure wl18xx bluetooth stack...
    [  OK  ] Started Lightning Fast Webserver With Light System Requirements.
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Network Name Resolution.
    [   42.918785] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [   47.502546] NET: Registered protocol family 15
    [  OK  ] Started Enable and configure wl18xx bluetooth stack.
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [  OK  ] Started Serial Getty on ttyS3.
    [  OK  ] Started Serial Getty on ttyS0.
    [  OK  ] Started Getty on tty1.
    [   52.441828] Initializing XFRM netlink socket
    [  OK  ] Found device /dev/mmcblk0p1.
             Starting Start USB gadget...
    [  OK  ] Started Simple Network Management Protocol (SNMP) Daemon..
    [   55.690251] udc-core: couldn't find an available UDC - added [g_multi] to list of pending drivers
    
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project http://arago-project.org am335x-evm ttyS0
    
    Arago 2017.12 am335x-evm ttyS0
    
    am335x-evm login: [   61.162089] TI-am335x-tsc TI-am335x-tsc: ti,charge-delay not specified
    [   61.320222] input: ti-tsc as /devices/platform/ocp/44e0d000.tscadc/TI-am335x-tsc/input/input1
    [   63.788414] 47401300.usb-phy supply vcc not found, using dummy regulator
    [   63.889798] 47401b00.usb-phy supply vcc not found, using dummy regulator
    [   65.442476] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    [   65.567174] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
    [   65.668816] hub 1-0:1.0: USB hub found
    [   65.737041] hub 1-0:1.0: 1 port detected
    [   66.171761] using random self ethernet address
    [   66.176427] using random host ethernet address
    [   66.269130] using host ethernet address: 84:EB:18:E9:AF:8A[   66.306992] using random self ethernet address
    [   66.311662] using random host ethernet address
    [   66.316260] using host ethernet address: 84:EB:18:E9:AF:8A[   66.529192] usb0: HOST MAC 84:eb:18:e9:af:8a
    [   66.587150] usb0: MAC e6:68:18:45:63:ea
    [   67.100440] Mass Storage Function, version: 2009/09/11
    [   67.105830] LUN: removable file: (no medium)
    [   67.233778] LUN: removable read only file: /dev/mmcblk0p1
    [   67.310389] Number of LUNs=1
    [   67.360515] g_multi gadget: Multifunction Composite Gadget
    [   67.423106] g_multi gadget: g_multi ready
    [   67.832815] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [   67.983510] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
    [   68.121571] hub 2-0:1.0: USB hub found
    [   68.193942] hub 2-0:1.0: 1 port detected
    [   77.198471] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
    	autoconf
    	binutils
    	cifs-utils
    	cpio
    	cpp-symlinks
    	cpp
    	dosfstools
    	findutils
    	g++-symlinks
    	g++
    	gawk-dev
    	gawk
    	gcc-symlinks
    	gcc
    	gdb
    	gdbserver
    	glmark2
    	gstreamer1.0-libav
    	gzip
    	hidapi
    	libcairo-perf-utils
    	libgmp10
    	libidn11
    	libmavconn
    	libmpc3
    	libmpfr4
    	libreadline-dev
    	libreadline6
    	m4-dev
    	m4
    	make
    	mavlink
    	mavros-extras
    	mavros-msgs
    	mavros
    	nettle
    	socketcan-interface
    	swig-dev
    	swig
    	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
    ***************************************************************
    ***************************************************************
    
     post process,  although the model name has been changed to IWA_Boardstill but can still find  "EVM-SK " keyword,  

    I’m wondering if it would be possible to these strings be eliminated?  

    Because the customer does not want the client to see any other model name when we release.

    Thank you for considering my request.

    BR

    Egbert Liu

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

    Starting kernel ...

    [    0.000000] Booting Linux on physical CPU 0x0

    [    0.000000] Linux version 4.9.69-g9ce43c71ae (gtbldadm@ubuntu-16) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #1 PREEMPT Mon Mar 26 12:11:28 EDT 2018

    [    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] efi: Getting EFI parameters from FDT:

    [    0.000000] efi: UEFI not found.

    [    0.000000] cma: Reserved 48 MiB at 0x8a800000

    [    0.000000] Memory policy: Data cache writeback

    [    0.000000] CPU: All CPU(s) started in SVC mode.

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

    Welcome to [1mArago 2017.12[0m!

    [    3.972448] systemd[1]: Set hostname to <am335x-evm>.

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

    _____                    _____           _         _  

    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_

    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|

    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  

                 |___|                    |___|            

    Arago Project
    am335x-evm ttyS0

    Arago 2017.12 am335x-evm ttyS0

    am335x-evm login:

  • Egbert Liu said:
    [    0.000000] OF: fdt:Machine model: TI AM335x EVM-SK



    Comes from <Processor SDK>/board-support/linux-<version>/arch/arm/boot/dts/am335x-evmsk.dts:model = "TI AM335x EVM-SK";.
    Change the model name model = "IWA BOARD"; then execute make linux-dtbs, then cp <Processor SDK>/board-support/linux-<version>/arch/arm/boot/dts/am335x-evmsk.dtb <Processor SDK>/board-support/linux-<version>/arch/arm/boot/dts/IWA_board.dtb

    Put the SD card to your host machine, copy the new IWA_board.dtb to rootfs with the following command.
    sudo cp <Processor SDK>/board-support/linux-<version>/arch/arm/boot/dts/IWA_board.dtb /media/<username>/rootfs/boot/

    The rest of the "am335x-evm" string comes from /etc/hostname, the Arago project logo on tty login comes from /etc/issue and during net login from /etc/issue.net

  • Hi Kemal

    I don`t understand about the rest of the "am335x-evm" string comes from /etc/hostname, the Arago project logo on tty login comes from /etc/issue and during net login from /etc/issue.net

    your mean these string can not be eliminated ? is right ?

    Thank you.

    BR
    Egbert Liu
  • root@am335x-evm:~# echo IWA_BOARD > /etc/hostname and eliminate it.