Linux-SWAT
Forum Addict!
New image here, I see no led activity:
Code:
$ sha1sum sl4p.img.xz
e377fbd87c6651f68e66ebfdbbbb66c779f6307f
$ sha1sum sl4p.img.xz
e377fbd87c6651f68e66ebfdbbbb66c779f6307f
@hns So I grabbed your recommended kernel.hns said:
Any recent kernel should work... But I'd recommend to take the latest LTS (Long Term Stable) kernel which is currently 6.12.37/38 (https://www.kernel.org), because it will get updates for the next handfull of years. LetuxOS provides these as "letux-rolling-lts": https://download.goldelico.com/letux-kernel/letux-rolling-lts/
A more general issue is that I only have a 600 MHz Pandora for testing and I remember, that there had been problems for the 1GHz version which could not be checked nor fixed.
But I just have updated this 600 MHz Pandora to letux-6.12.37. It boots fine, X11 works, keyboard works, touch works, WLAN works, charging works, USB works. Sound works.
What I did see are some "omap_i2c 48060000.i2c: timeout waiting on XUDF bit" and the NUBs seem not to work ("pandora_nub 2-0066: read failed with -110").
And, it is unclear if the GPU is configured and working well (1.17.4948957 driver is included in this kernel but I have no user-space code).
A minor issue is that there is a bq27000 driver in addition to the bq27500 which make some noise in the console log. This was a quick fix, which will be included in the next letux-6.12.y version.
So, bug reports are welcome. Only then, we have a chance to improve it.
autoboot.txt
boot.scr
u-boot.img
u-boot.img.flash
bootargs.scr
omap3-pandora-1ghz.dtb
omap3-pandora-600mhz.dtb
uImage
# this file makes the SD card bootable on the OpenPandora
#
# please convert this source into a boot.scr:
# mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n 'Boot Script' -d boot-pandora.txt boot.scr
#
# operation:
# 1. press right shoulder button
# 2. power on
# 3. select boot from SD by D-Pad arrow keys
# 4. press "B" button
#
# (c) Golden Delicious Computers, 2014-2016
# compare http://pandorawiki.org/Debian_On_SD#auto.2Fboot.txt
setenv stdout serial # output should go to console and not flash across the screen
# check the CONTROL_IDCODE to distinguish between OMAP3530 and DM3730
if itest.w *0x4830a204 == 0x102f
then
# could check "speed binned bit" to decide 800/1000MHz
echo "DM3730 1GHz Pandora"
setenv devicetree omap3-pandora-1ghz
else
# could check bit to decide 600/720MHz
echo "OMAP3530 600MHz Pandora"
setenv devicetree omap3-pandora-600mhz
fi
setenv mmc 0 # mmc number as seen by u-boot where it looks for kernel
setenv kernelmmc 0 # mmc number as seen by kernel
setenv defaultdisplay lcd
setenv PARTITION 1 # partition where kernel is found (simulates the partition selection mechanism of the GTA04)
setenv PARTITIONTYPE EXT # we are located in / of an ext partition
echo set some defaults for bootargs.scr
setenv console "ttyO2,115200n8"
# setenv nand "not yet sure if kernel does not damage system in nand"
setenv mmcroot "/dev/mmcblk${kernelmmc}p1"
setenv mmcrootfstype "ext4,ext3 rootwait"
# setenv mmcargs 'setenv bootargs elevator=noop console=${console} root=/dev/mmcblk${kernelmmc}p${PARTITION} rw rootwait earlyprintk fixrtc'
setenv bootargs "console=${console} ubi.mtd=${nand} root=${mmcroot} rootfstype=${mmcrootfstype}"
# load device tree and kernel binary
ext2load mmc ${mmc}:${PARTITION} 0x825f0000 /boot/${devicetree}.dtb
ext2load mmc ${mmc}:${PARTITION} 0x80300000 /boot/uImage
# run mmcargs
# allow to overwrite boot args (incl. kernelmmc)
if ext2load mmc ${mmc}:${PARTITION} 0x81300000 /boot/bootargs.scr
then
source 0x81300000
fi
setenv fdt_high 0x84000000
bootm 0x80300000 - 0x825f0000