Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 10-30-2017, 01:46 PM   #1
coplate
Guru
coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.
 
Posts: 645
Karma: 1888888
Join Date: Jun 2009
Device: prs-505, Kindle Keyboard 3g, PW3
New Oasis 9th Gen Model numbers and other packaging info

Extracting the new oasis software update gives this info:

Code:
Extracting update package 'update_kindle_all_new_oasis_5.9.2.bin' to 'update_kindle_all_new_oasis_5.9.2'.
Bundle         SP01 (Signing Envelope)
Cert number    2
Cert file      pubprodkey02.pem (Official 2K)
Bundle         FB03 (Fullbin [OTA?, fwo?])
Bundle Type    Recovery V2
Target OTA     3250690044
MD5 Hash       9baaef39b72572072d43a54e4ef87370
Magic 1        2048630901
Magic 2        1897089723
Minor          1
Platform       Unknown (0x0A)
Header Rev     0
Board          Unspecified
Devices        15
Device         Unknown (0x295)
Device         Unknown (0x296)
Device         Unknown (0x297)
Device         Unknown (0x298)
Device         Unknown (0x2E1)
Device         Unknown (0x2E2)
Device         Unknown (0x2E6)
Device         Unknown (0x2E7)
Device         Unknown (0x2E8)
Device         Unknown (0x341)
Device         Unknown (0x342)
Device         Unknown (0x343)
Device         Unknown (0x344)
Device         Unknown (0x347)
Device         Unknown (0x34A)
x update-payload.dat
x imx7d_zelda/u-boot.bin
x imx7d_zelda/u-boot.bin.sig
x rootfs.img.gz
x rootfs.img.gz.sig
x imx7d_zelda/bios.bin
x imx7d_zelda/bios.bin.sig
x imx7d_zelda/boot.img
x imx7d_zelda/boot.img.sig
x imx7d_zelda/s-bios.bin
x imx7d_zelda/s-bios.bin.sig
x update-payload.dat.sig
Interesting thing - ' the model is now 'zelda', up from wario.

bios is new.

Reading through the source tonight is going to be fun.
coplate is offline   Reply With Quote
Old 10-30-2017, 01:50 PM   #2
coplate
Guru
coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.
 
Posts: 645
Karma: 1888888
Join Date: Jun 2009
Device: prs-505, Kindle Keyboard 3g, PW3
/etc/verstion.txt contains this:

Code:
System Software Version: 044-juno_902_cognac_zelda-325069
Tue Oct 24 11:57:20 PDT 2017
com.lab126.eink.cognac.os
coplate is offline   Reply With Quote
Advert
Old 10-30-2017, 02:07 PM   #3
coplate
Guru
coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.
 
Posts: 645
Karma: 1888888
Join Date: Jun 2009
Device: prs-505, Kindle Keyboard 3g, PW3
Fro whatever reason, computer boot processes will just not sink in for me, so anyone who wants to look up the architecture for this device, and figour out how all these bioses work with uboot. would be appreciated.


searching for zelda in uboot 4 file in source gives this:
Code:
Kindle_src_5.9.2_3250690044_o9.tar\gplrelease\uboot-4.1.15>findstr /S /I /C:"zelda" *
arch\arm\cpu\armv7\mx7\clock.c:#ifdef CONFIG_TARGET_MX7D_ZELDA
arch\arm\include\asm\arch-mx7\mx7_plugin.S:zelda_phy_setting:
arch\arm\include\asm\arch-mx7\mx7_plugin.S:  zelda_ddrc_setting:
arch\arm\include\asm\arch-mx7\mx7_plugin.S:zelda_ddrc_setting_lpsr:
arch\arm\include\asm\arch-mx7\mx7_plugin.S://#include "../../../../../board/lab126/mx7d_zelda/hvt4gb.S"
arch\arm\include\asm\arch-mx7\mx7_plugin.S://#include "../../../../../board/lab126/mx7d_zelda/micron4.S"
arch\arm\include\asm\arch-mx7\mx7_plugin.S://#include "../../../../../board/lab126/mx7d_zelda/hynix8g.S"
arch\arm\include\asm\arch-mx7\mx7_plugin.S:#include "../../../../../board/lab126/mx7d_zelda/LPDDR_table.S"
arch\arm\Kconfig:config TARGET_MX7D_ZELDA
arch\arm\Kconfig:        bool "Support mx7d_zelda"
arch\arm\Kconfig:source "board/lab126/mx7d_zelda/Kconfig"
board\freescale\common\epdc_setup.c:#ifdef CONFIG_TARGET_MX7D_ZELDA
board\freescale\common\epdc_setup.c:#ifdef CONFIG_TARGET_MX7D_ZELDA
board\freescale\common\epdc_setup.c:#ifdef CONFIG_TARGET_MX7D_ZELDA
board\freescale\common\epdc_setup.c:#ifdef CONFIG_TARGET_MX7D_ZELDA
board\freescale\common\epdc_setup.c:#ifdef CONFIG_TARGET_MX7D_ZELDA
board\lab126\mx7d_zelda\imximage.cfg:PLUGIN     board/lab126/mx7d_zelda/plugin.bin 0x00910000
board\lab126\mx7d_zelda\Kconfig:if TARGET_MX7D_ZELDA
board\lab126\mx7d_zelda\Kconfig:        default "mx7d_zelda"
board\lab126\mx7d_zelda\Kconfig:        default "mx7d_zelda"
board\lab126\mx7d_zelda\LPDDR_table.S:// Samsung 4GB eMMC 4Gb LPDDR3 FJ25AB on zelda board
board\lab126\mx7d_zelda\Makefile:obj-y  := mx7d_zelda.o
board\lab126\mx7d_zelda\mx7d_zelda.c:           case 0x8: /* Zelda V2 */
board\lab126\mx7d_zelda\mx7d_zelda.c:           case 0x9: /* Zelda V3 */
board\lab126\mx7d_zelda\mx7d_zelda.c:           case 0xA: /* Zelda V4 */
board\lab126\mx7d_zelda\mx7d_zelda.c:                   setenv("fdt_file", CONFIG_ZELDA_FDT_FILE);
board\lab126\mx7d_zelda\mx7d_zelda.c:                   printf("Using Zelda DTB\n");
board\lab126\mx7d_zelda\mx7d_zelda.c:   puts("Board: MX7D Zelda\n");
board\lab126\mx7d_zelda\plugin.S:.macro imx7d_zelda_setting
board\lab126\mx7d_zelda\plugin.S:       bl zelda_ddrc_setting_lpsr
board\lab126\mx7d_zelda\plugin.S:       bl zelda_phy_setting
board\lab126\mx7d_zelda\plugin.S:       bl zelda_phy_setting
board\lab126\mx7d_zelda\plugin.S:       bl zelda_ddrc_setting
board\lab126\mx7d_zelda\plugin.S:       bl zelda_phy_setting
board\lab126\mx7d_zelda\plugin.S:       bl zelda_phy_setting
board\lab126\mx7d_zelda\plugin.S:       imx7d_zelda_setting
board\lab126\mx7d_zelda\secure_boot_cfg.c: * Zelda HWID: 0b1xxx
board\lab126\mx7d_zelda\secure_boot_cfg.c: * Zelda:
common\autoboot.c:#ifdef CONFIG_TARGET_MX7D_ZELDA
common\autoboot.c:#ifdef CONFIG_TARGET_MX7D_ZELDA
common\cmd_fastboot.c:#ifdef CONFIG_TARGET_MX7D_ZELDA
common\cmd_hwid.c:      "Zelda V2",
common\cmd_hwid.c:      "Zelda V3",
common\cmd_hwid.c:      "Zelda V4",
common\image-fdt.c:static int zelda_traverse_fdt(ulong* fdt_data, ulong* fdt_len)
common\image-fdt.c:             printf("zelda_traverse_fdt() NULL pointer\n");
common\image-fdt.c:             if (zelda_traverse_fdt(&fdt_data, &fdt_len))
common\stdio.c:/*do not run it for zelda board, we need it only for splash image*/
common\stdio.c:#ifndef CONFIG_TARGET_MX7D_ZELDA
configs\mx7d_zelda_defconfig:CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/lab126/mx7d_zelda/imximage.cfg,MX7D,OCRAM_UBOOT,DEFAULT_FDT_FILE=\"imx7d-cognac.dtb\",MXC_EPDC"
configs\mx7d_zelda_defconfig:CONFIG_TARGET_MX7D_ZELDA=y
drivers\power\lpm_mx7\lpm_api.c:// for zelda with MAX77796
drivers\power\lpm_mx7\lpm_entry.c://for Zelda with MAX77796
drivers\video\mxc_epdc_fb.c:#ifdef CONFIG_TARGET_MX7D_ZELDA
drivers\video\mxc_epdc_fb.c:    /*Test on Zelda, it take about 4700ms*/
drivers\video\mxc_epdc_fb.c:#ifdef CONFIG_TARGET_MX7D_ZELDA
include\configs\mx7d_zelda.h: * Configuration settings for Lab126 i.MX7D Zelda board.
include\configs\mx7d_zelda.h:#ifndef __MX7D_ZELDA_CONFIG_H
include\configs\mx7d_zelda.h:#define __MX7D_ZELDA_CONFIG_H
include\configs\mx7d_zelda.h:#define CONFIG_ZELDA_FDT_FILE "imx7d-zelda.dtb"
tools\mfg_dcd_tool\sign_dcd.sh:# Define CONFIG_CSF_SIZE 0x2000 in mx7d_zelda.h
coplate is offline   Reply With Quote
Old 10-30-2017, 08:16 PM   #4
coplate
Guru
coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.
 
Posts: 645
Karma: 1888888
Join Date: Jun 2009
Device: prs-505, Kindle Keyboard 3g, PW3
This diff is fascinating - it is from PW# version, not oasis though.:
Code:
diff -r 5.8.9.2/etc/upstart/console.conf 5.9.2/etc/upstart/console.conf
25c25
< # default unless we see e.g. console=ttymxc0,115200 on the kernel command line 
---
> # default unless we see e.g. console=ttymxc0,115200 on the kernel command line
29a30,37
>   # Based on https://wiki.labcollab.net/confluence/display/thorapollo/Cognac+security+lockdown+guideline
>   # This feature is introduced from Zelda platform. For older platforms, we keep the login unlocked
> 
>   # default to unlock device
>   prodVersion=0
>   unlockedkernel=true
>   secureCpu=0
> 
33,40c41,60
< 	x=${i#console=}
< 	x=${x//,/ }
< 	if [ -n "$x" ]; then
< 	  set $x
< 	  [ -n "$1" ] && UART=$1
< 	  [ -n "$2" ] && BAUD=$2
< 	fi
< 	;;
---
>         x=${i#console=}
>         x=${x//,/ }
>         if [ -n "$x" ]; then
>           set $x
>           [ -n "$1" ] && UART=$1
>           [ -n "$2" ] && BAUD=$2
>         fi
>         ;;
>       androidboot.prod*)
>         val=$i
>         prodVersion=${val##*=}
>         ;;
>       androidboot.unlocked_kernel*)
>         val=$i
>         unlockedKernel=${val##*=}
>         ;;
>       secure_cpu*)
>         val=$i
>         secureCpu=${val##*=}
>         ;;
44c64,73
<   exec getty -L $BAUD /dev/$UART 2>> $STDERR
---
> #We determine to execute getty, which prompts for the login password using the values in the /proc/cmdline file
> #The locked variable is used lock the prompt
> 
> if [ "$prodVersion" == "0" -o "$unlockedKernel" == "true" -o "$secureCpu" = "0" ]; then
>     #Unlocked Prompt if: unlockedKernel or not prod or not secure cpu
>     exec getty -L $BAUD /dev/$UART 2>> $STDERR
> else
>     exec getty -L $BAUD /dev/$UART -i -n -l /etc/upstart/custom-login 2>> $STDERR
> fi
>

Last edited by coplate; 10-30-2017 at 08:22 PM.
coplate is offline   Reply With Quote
Old 10-30-2017, 10:15 PM   #5
coplate
Guru
coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.
 
Posts: 645
Karma: 1888888
Join Date: Jun 2009
Device: prs-505, Kindle Keyboard 3g, PW3
This is from the oasis9 though:

Code:
$ file boot.img
boot.img: Android bootimg, kernel, ramdisk, second stage, page size: 2048
coplate is offline   Reply With Quote
Advert
Old 10-31-2017, 09:08 AM   #6
Nate the great
Sir Penguin of Edinburgh
Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.
 
Nate the great's Avatar
 
Posts: 12,375
Karma: 23555235
Join Date: Apr 2007
Location: DC Metro area
Device: Shake a stick plus 1
Interesting!

Is that a reference to an i.MX7 CPU I see?
Nate the great is offline   Reply With Quote
Old 10-31-2017, 11:17 PM   #7
coplate
Guru
coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.
 
Posts: 645
Karma: 1888888
Join Date: Jun 2009
Device: prs-505, Kindle Keyboard 3g, PW3
They left this file in the fat32 partition - deleted.

fqc.log
Code:
CPU information:
processor	: 0
model name	: ARMv7 Processor rev 5 (v7l)
BogoMIPS	: 20.12
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm 
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xc07
CPU revision	: 5

processor	: 1
model name	: ARMv7 Processor rev 5 (v7l)
BogoMIPS	: 20.12
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm 
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xc07
CPU revision	: 5

Hardware	: Freescale i.MX7 Dual (Device Tree)
Revision	: 0000
Serial		: ##################

User image version:
Kindle 5.9.0.6 (323401 012)
Waveform version:
320_R164_AG1901_ED070KC2UA_TC

Touch firmware version:
Firmware Major Version: 0x01
Firmware Minor Version: 0x07
Revision Control Number: 0x000DA4C1
Firmware Configuration Version: 0x0025
Bootloader Major Version: 0x02
Bootloader Minor Version: 0x00
Protocol Major Version: 0x01
Protocol Minor Version: 0x06

eMMc size:
61071360

IDME:
pcbsn: ##################
serial: ##################
mac: ##################
mfg: ##################
btmac: ##################
bt_mfg: 0
product_name: 0
productid: 0
productid2: 0
region: US
bootmode: 0
postmode: 0
bootcount: 0
manufacturing: 
unlock_code: 
oldboot: 0
qbcount: 0
device_type_id: 0
vcom: -1410000
fsn: ##################
mfgdate: 20171008
dev_flags: 0
fos_flags: 0
usr_flags: 0
alscal1: 0x0B:0x36,0x0C:0x31
alscal2: 0x0B:0x2f,0x0C:0x2a

DHA key:
[AMZN_DHA_TOOL]: Version v1.3
[AMZN_DHA_TOOL]: Key retrieval success
[<<snip>>]

Cmdline:
console=ttymxc0,115200 no_console_suspend video=mxcepdcfb:ED070KC1,bpp=8 root=/dev/mmcblk2p5 rootwait rw quiet hwid=5 smtid=0 secure_cpu=1 androidboot.prod=1 androidboot.serialno=0000011674b3b6c2 androidboot.unlocked_kernel=false

Mounted filesystems:
/dev/root on / type ext3 (ro,noatime,nodiratime,barrier=1,data=ordered)
none on /proc type proc (rw,nosuid,nodev,noexec,relatime)
none on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev type tmpfs (rw,relatime,mode=755)
tmpfs on /dev/shm type tmpfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
tmpfs on /var type tmpfs (rw,relatime,size=32768k)
tmpfs on /mnt/kfxcache type tmpfs (rw,relatime,size=256000k)
/dev/loop/2 on /usr/share/X11/xkb type squashfs (ro,noatime,nodiratime)
/dev/loop/3 on /usr/java/lib/fonts type squashfs (ro,noatime,nodiratime)
/dev/loop/4 on /etc/kdb.src type squashfs (ro,noatime,nodiratime)
/dev/loop/5 on /usr/lib/locale type squashfs (ro,noatime,nodiratime)
/dev/loop/6 on /usr/share/keyboard type squashfs (ro,noatime,nodiratime)
/dev/loop/7 on /opt/var/local type squashfs (ro,noatime,nodiratime)
/dev/mmcblk2p3 on /keys type ext3 (ro,noatime,nodiratime,errors=continue,user_xattr,acl,barrier=1,data=ordered)
/dev/mmcblk2p6 on /var/local type ext3 (rw,relatime,errors=continue,barrier=1,data=ordered)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
/dev/loop/0 on /mnt/base-us type vfat (rw,noexec,noatime,nodiratime,fmask=0000,dmask=0000,allow_utime=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
fsp on /mnt/us type fuse.fsp (rw,nosuid,nodev,noatime,user_id=0,group_id=0,allow_other)
FQC test OK !
coplate is offline   Reply With Quote
Old 11-01-2017, 12:18 AM   #8
coplate
Guru
coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.
 
Posts: 645
Karma: 1888888
Join Date: Jun 2009
Device: prs-505, Kindle Keyboard 3g, PW3
Can anyone tell me if we would expect PW3 binaries to run on this, based on that architecutre?
coplate is offline   Reply With Quote
Old 11-01-2017, 09:13 AM   #9
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by coplate View Post
Can anyone tell me if we would expect PW3 binaries to run on this, based on that architecutre?
No.
Partition table of eMMC not compatible.

I think the #1 thing to do is fix KUAL.
Perhaps we can ask NiLuJe to be extra nice and look into it for us.
NiLuJe since we know everyone else has opt'd out of Kindle development.
knc1 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
First gen Oasis owners... Deskisamess Amazon Kindle 5 10-11-2017 10:13 PM
Difference between model numbers? Chapter One Barnes & Noble NOOK 2 03-10-2014 07:01 PM
Moderator request - Include model numbers filtering krish PocketBook 3 11-12-2010 04:28 AM
Any info about A9 model? Chiron Astak EZReader 13 03-11-2010 07:05 AM
DX model numbers? hsiafreak Amazon Kindle 3 02-17-2010 10:52 PM


All times are GMT -4. The time now is 06:02 PM.


MobileRead.com is a privately owned, operated and funded community.