Do you remember the AdTrap? https://www.kickstarter.com/projects/60 … ours-again?

I have an Adtrap and was wondering about loading something useful, like openwrt/LEDE on the hardware.

It is running a TI am3352zcz 1GHz CPU with 256MB RAM and a micro SD slot for storage/mmc.  Console is provide by a FTDI USB Serial, with the normal 115200 8N1 + hardware flow control.

Disk layout is standard for most TI ARM chips
sda1 fat32, for uboot and kernel

Device     Boot  Start     End Sectors  Size Id Type
/dev/sdg1  *        63  144584  144522 70.6M  c W95 FAT32 (LBA)
/dev/sdg2       144585 7744511 7599927  3.6G 83 Linux

http://downloads.lede-project.org/relea … p/generic/
Cooked up a new SDCard and loaded the am335x_evm u-boot.img and MLO.  But I dont see anything on the serial.  I can use the stock  u-boot.img and MLO, and convert the lede-17.01.2-omap-zImage to the uImage format, but it hangs at "Starting kernel ..."

At this point, I am stuck.  Any ideas?

Here is the info I have to help with debugging:
Boot

U-Boot 2012.10-00075-g1611a63-adtrap (Feb 25 2013 - 12:17:58)

I2C:   ready
RAM Configuration:
Bank #0: 80000000 256 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Using default environment

Net:   board.c phydev: 0

phydev: p▒▒⏔▒▒

phydev: p▒揔▒▒

phydev: p▒揔▒▒
cpsw
Hit any key to stop autoboot:  0
devname: cpsw
addr: 00
devname: cpsw
addr: 01
devname: cpsw
addr: 00
devname: cpsw
addr: 01
devname: cpsw
addr: 00
devname: cpsw
addr: 01
SD/MMC found on device 0
reading uEnv.txt

** Unable to read "uEnv.txt" from mmc 0:1 **
reading uImage

2937064 bytes read
Booting from mmc ...
## Booting kernel from Legacy Image at 80007fc0 ...
   Image Name:   Linux kernel
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2937000 Bytes = 2.8 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   XIP Kernel Image ... OK
OK

Starting kernel ...

printenv

baudrate=115200
bootargs_defaults=setenv bootargs console=${console} ${optargs}
bootcmd=mii ew 0 0x0004 0x0070; mii ew 1 0x0004 0x0070; mii ew 0 0x0008 0x03FC; mii ew 1 0x0008 0x03FC; mii ew 0 0x0006 0x0000; mii ew 1 0x0006 0x0000;if mmc rescan ${mmcdev}; then echo SD/MMC found on device ${mmcdev};if run loadbootenv; then echo Loaded environment from ${bootenv};run importbootenv;fi;if test -n $uenvcmd; then echo Running uenvcmd ...;run uenvcmd;fi;if run loaduimagefat; then run mmcboot;elif run loaduimage; then run mmcboot;else echo Cound not find ${bootfile} ;fi;else echo run nandboot;fi;
bootdelay=3
bootenv=uEnv.txt
bootfile=uImage
console=ttyO0,115200n8
dfu_alt_info=boot part 0 1;rootfs part 0 2;MLO fat 0 1;u-boot.img fat 0 1;uEnv.txt fat 0 1
ethact=cpsw
ethaddr=bc:6a:29:9b:e5:17
fdtaddr=0x80F80000
importbootenv=echo Importing environment from mmc ...; env import -t $loadaddr $filesize
ip_method=none
kloadaddr=0x80007fc0
loadaddr=0x80200000
loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenv}
loadramdisk=fatload mmc ${mmcdev} ${rdaddr} ramdisk.gz
loaduimage=ext2load mmc ${mmcdev}:2 ${kloadaddr} /boot/${bootfile}
loaduimagefat=fatload mmc ${mmcdev} ${kloadaddr} ${bootfile}
mmcargs=run bootargs_defaults;setenv bootargs ${bootargs} root=${mmcroot} rootfstype=${mmcrootfstype} ip=${ip_method}
mmcboot=echo Booting from mmc ...; run mmcargs; bootm ${kloadaddr}
mmcdev=0
mmcroot=/dev/mmcblk0p2 ro
mmcrootfstype=ext3 rootwait
netargs=run bootargs_defaults;setenv bootargs ${bootargs} root=/dev/nfs nfsroot=${serverip}:${rootpath},${nfsopts} rw ip=dhcp
netboot=echo Booting from network ...; setenv autoload no; dhcp; tftp ${kloadaddr} ${bootfile}; run netargs; bootm ${kloadaddr}
nfsopts=nolock
ramargs=setenv bootargs console=${console} ${optargs} root=${ramroot} rootfstype=${ramrootfstype}
ramboot=echo Booting from ramdisk ...; run ramargs; bootm ${loadaddr}
ramroot=/dev/ram0 rw ramdisk_size=65536 initrd=${rdaddr},64M
ramrootfstype=ext2
rdaddr=0x81000000
rootpath=/export/rootfs
static_ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off
stderr=serial
stdin=serial
stdout=serial
ver=U-Boot 2012.10-00075-g1611a63-adtrap (Feb 25 2013 - 12:17:58)

Environment size: 2261/4092 bytes

Converting the kernel

mkimage -A arm -O linux -T kernel -C none -a 0x80008000 -e 0x80008000 -n "Linux kernel" -d lede-17.01.2-omap-zImage uImage

#Converted LEDE kernel
uImage: u-boot legacy uImage, Linux kernel, Linux/ARM, OS Kernel Image (Not compressed), 2937000 bytes, Fri Sep 22 01:25:59 2017, Load Address: 0x80008000, Entry Point: 0x80008000, Header CRC: 0x5F05300B, Data CRC: 0xC3B4A279

#Stock AdTrap kernel
uImage: u-boot legacy uImage, Linux-3.2.0-adtrap-00006-g0487da, Linux/ARM, OS Kernel Image (Not compressed), 2486736 bytes, Mon Mar 25 22:32:54 2013, Load Address: 0x80008000, Entry Point: 0x80008000, Header CRC: 0x81DB1CF7, Data CRC: 0x90A95884