View Single Post
Old 03-30-2014, 06:09 PM   #1060
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,598
Karma: 79436940
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Quote:
Originally Posted by tshering View Post
Wouldn't the error message not rather suggest that the data that ntx_hwconfig is trying to read from the sd are corrupted? Maybe you can try to get an iso image.
Actually I think the issue is that on the original Touch (N905) this was not utilized / implemented.

For instance, if you look in /etc/init.d/upgrade-wifi.sh you see
Code:
PLATFORM=freescale
if [ `dd if=/dev/mmcblk0 bs=512 skip=1024 count=1 | grep -c "HW CONFIG"` == 1 ]; then
        CPU=`ntx_hwconfig -s -p /dev/mmcblk0 CPU`
        PLATFORM=$CPU-ntx
fi

if [ $CPU ]; then
        PCB=`ntx_hwconfig -s -p /dev/mmcblk0 PCB`
        RAM=`ntx_hwconfig -s -p /dev/mmcblk0 RAMType`
        RAM_SIZE=`ntx_hwconfig -s -p /dev/mmcblk0 RamSize`
....

[ $PLATFORM == freescale ] && UBOOT=/mnt/onboard/.kobo/upgrade/u-boot.bin
[ $PLATFORM == freescale ] && KERNEL=/mnt/onboard/.kobo/upgrade/uImage
so if there is NO HW Config section available then PLATFORM remains freescale and UBOOT and KERNEL are set to what could be called default values.


** updated to change n905c to n905

Last edited by PeterT; 03-31-2014 at 01:49 PM.
PeterT is offline   Reply With Quote